PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Solaris(TM) 10 Operating System)
Contents Index PreviousNext

Chapter 11 File System Operations (Command)> 11.4 Change (partition addition)

11.4.3 Partition addition

To add a partition as file data area, use sfcadd(1M). Execute the command on any one of the nodes where the file system is shared.

For details on sfcadd(1M), see sfcadd(1M).

If you add a partition to the file system that is not stopped properly, recovery the file system by executing the fsck_sfcfs(1M) command in advance.

How to add a file data partition (/dev/sfdsk/gfs01/rdsk/volume02) to an existing file system (/dev/sfdsk/gfs01/rdsk/volume01) by sfcadd(1M) is shown below.

1. Check the configuration of the current file system.

# sfcinfo /dev/sfdsk/gfs01/dsk/volume01 <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID special                                      size  Type  mount
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)        14422  META  -----
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)         5116  LOG   -----
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)        95112  DATA  -----

2. Add a file data partition (/dev/sfdsk/gfs01/dsk/volume02) as file data area.

# sfcadd -D /dev/sfdsk/gfs01/rdsk/volume02 /dev/sfdsk/gfs01/rdsk/volume01 <Enter>

3. Confirm that the file data partition has been added.

# sfcinfo /dev/sfdsk/gfs01/dsk/volume01 <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID special                                      size  Type  mount
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)        14422  META  -----
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)         5116  LOG   -----
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)        95112  DATA  -----
   1 /dev/sfdsk/gfs01/dsk/volume02(11500000022)        65512  DATA  -----

To add a file data partition, be aware of the following:

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006