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

|
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:
- A file data partition addition is not possible if doing so would exceed the maximum number of partitions (-o maxvol=n) for the file system, as specified by mkfs_sfcfs(1M).
- When file data region size after adding partition exceeds the maximum file data region size specified by mkfs_sfcfs(1M) (-o maxdsz=n), a part of free area in file data region might not be able to be used because of management region shortage.
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006