PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Part 2 Global File Services Local File System> Chapter 4 Management of the GFS Local File System> 4.3 Creating a GFS Local File System

4.3.1 Creating a GFS Local File System

Use the sfxnewfs(1M) command to create a GFS Local File System.

The default parameters of the sfxnewfs(1M) command are explained below.

[Default parameters of the sfxnewfs command]

Parameter

Default

Data block size

Fixed to 8,192 bytes

Minimum free area

10%

Optimization type

Time

Number of i-nodes

One per 8,192-byte disk area

Size of update log area

1% of the size of the file system ( but at least 5 megabytes and not more than 50 megabytes)

Size of meta-data area

About 10% of the size of the file system

Maximum number of sharing nodes

16 nodes

Maximum number of partitions

32 partitions

The following shows an example of creating a typical file system.

To create a GFS Local File System in single partition configuration, specify the partition in which the file system is to be created. All types of areas (meta-data area, update log area, and file data area) will be allocated in this partition.

# sfxnewfs /dev/sfdsk/gfs/rdsk/vol0300

To place the update log area into a separate partition, specify both the representative partitionTerm and the update log partition. Meta-data area and file data area will be allocated in the representative partition.

# sfxnewfs -L /dev/sfdsk/gfs/rdsk/vol0310 /dev/sfdsk/gfs/rdsk/vol0300

To use multiple partitions for the data area, specify the representative partition and data partition(s). Meta-data area, update log area, and file data area are created in the representative partition.

# sfxnewfs -D /dev/sfdsk/gfs/rdsk/vol0310,/dev/sfdsk/gfs/rdsk/vol0320 /dev/sfdsk/gfs/rdsk/vol0300

To place the update log area into a separate partition and specify the multi-partition of the file data area, specify it as follows.

# sfxnewfs -L /dev/sfdsk/gfs/rdsk/vol0311 -D /dev/sfdsk/gfs/rdsk/vol0321,/dev/sfdsk/gfs/rdsk/vol0331 /dev/sfdsk/gfs/rdsk/vol0301

If specifying the multi-partition of the file data area, the -A option can be specified to select the configuration in which the file data area is not included in the representative partition.

# sfxnewfs -A -D /dev/sfdsk/gfs/rdsk/vol0321,/dev/sfdsk/gfs/rdsk/vol0331 /dev/sfdsk/gfs/rdsk/vol0301

If specifying that the update log area is to be included in the representative partition using -A option, and specifying that the update log area is to be separated, the meta-data area, file data area and update log area can be independent of one another.

# sfxnewfs -A -L /dev/sfdsk/gfs/rdsk/vol0311 -D /dev/sfdsk/gfs/rdsk/vol0321,/dev/sfdsk/gfs/rdsk/vol0331 /dev/sfdsk/gfs/rdsk/vol0301


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004