PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Appendix B Reference Manual | > B.2 Management Commands Specific to the GFS Local File System |
sfxnewfs [ -Nv ] [ mkfs-options ] [-L raw_device_file] [-D raw_device_file,...] raw_device_file
The sfxnewfs is the mkfs_sfxfs(1M) front end command for creating the GFS Local File System. It performs calculation with the appropriate parameters and calls mkfs_sfxfs(1M).
If sfxnewfs is executed interactively (via standard input from the terminal), the required checks are performed before creating the file system.
-N
This option displays the parameter that was used to create the file system.
The file system is not actually created by this command.
-v
Verbose. sfxnewfs prints out its actions, including the parameters passed to mkfs_sfxfs(1M).
mkfs-options
The default parameters that are to be passed to mkfs_sfxfs(1M) can be changed with the following options:
-i nbpiThis option specifies the number of bytes per i-node.
The default value is 8,192.
Increase this value when saving the meta-data area.
Values from 512 to 1,048,576 can be used here.
-f freeThis option specifies the minimum percentage for the free area of the file system.
The default value is 10%.
Values from 0 to 99 can be used here.
-m mfreeThis option specifies the minimum percentage for the free area of V data.
The default value is 10%.
Values from 0 to 99 can be used here
-o space|timeThis option specifies whether to optimize area or time.
The parameter space indicates the area, time indicates the time.
The default value is time.
-n maxnodeThis option specifies the maximum number of nodes sharing the file system, including also the case that the file system is in the future expanded with sfxnode(1M) command.
The default value is 16.
Values from 1 to 16 can be used here.
-l maxvolThis option species the maximum number of file system component partitions, including also the case that the file system is in the future expanded with the sfxadd(1M) command.
The default value is 16.
Values from 1 to 32 can be used here.
-d maxdszThis option specifies the maximum size of the data areas for each file system, including also the case that a data partition is to be added.
This parameter is to be specified in megabyte.
A value larger than 1 terabyte (1,048,576 megabytes) cannot be used here.
-a metaszThis option specifies the size of each meta-data area. This parameter is to be specified in megabyte.
A value that exceeds the size of the representative partition cannot be used here.
The default is about 10% of the file system size. When maxdsz has been specified, the default is set at about 10% of the maxdsz value.
-g logszThis option specifies the size of each update log area. The unit is megabytes.
The default is about 1% of the file system size. When maxdsz has been specified, the default is about 1% of the maxdsz value. If the default value is smaller than 5 megabytes, 5 megabytes is set. If the default value is greater than 50 megabytes, 50 megabytes is set.
A value from 5 to 100 can be used here.
-e nblkpextThis option specifies the average number of blocks that have to be managed in each extent.
This value can be used to calculate data area fragmentation.
The default value is 1.
A value from 1 to 100 can be used here.
-AThis option specifies a configuration in which a data area is not included in a representative partition if a data partition is specified.
-L raw_device_file
This option specifies a character special device for update log partition.
Specify a partition that accommodates the size of the update log area, because, except the area used as an update log area, the area of update log partition remains unused.
-D raw_device_file,...
This option specifies a character special device for data partition. When specifying two or more files, delimit them by a comma ",".
raw_device_file
This parameter specifies the character special device name for the representative partition.
# sfxnewfs /dev/sfdsk/gfs/rdsk/vol0301 # sfxnewfs -L /dev/sfdsk/gfs/rdsk/vol0601 /dev/sfdsk/gfs/rdsk/vol0301 # sfxnewfs -D /dev/sfdsk/gfs/rdsk/vol0400,/dev/sfdsk/gfs/rdsk/vol0500 /dev/sfdsk/gfs/rdsk/vol0301
fsck_sfxfs(1M), mkfs_sfxfs(1M), sfxadd(1M), sfxnode(1M), sfxtune(1M), fs_sfxfs(4)
Contents Index |