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.2 Creation

11.2.3 Setting vfstab

In the GFS Shared File System, it is necessary to code an entry that is to be mounted on /etc/vfstab of all the nodes that share a file system. Also, the information that is specified for the mount options of /etc/vfstab is used as the mount option when the mount command is executed. Specify a directory for the mount point field of /etc/vfstab. It will become mount point when the argument of the mount point of mount_sfcfs(1M) is omitted. Specify a directory of each node. The mount options described in /etc/vfstab for the same file system must be consistent on any nodes configuring the file system. Other than the mount option, noauto can be specified in the mount options field. Specify the noauto option when mounting is not to be performed when the node is started.

Examples of /etc/vfstab entries are shown below:

[Table When mounting in rw mode at startup of the node:]

Parameter

Value

device to mount

/dev/sfdsk/gfs01/dsk/volume01

device to fsck

/dev/sfdsk/gfs01/rdsk/volume01

mount point

/mnt/fs1

FS type

sfcfs

fsck pass

-

mount at boot

no

mount options

rw

[Table When mounting is not performed at startup of the node]

Parameter

Value

device to mount

/dev/sfdsk/gfs01/dsk/volume01

device to fsck

/dev/sfdsk/gfs01/rdsk/volume01

mount point

/mnt/fs1

FS type

sfcfs

fsck pass

-

mount at boot

no

mount options

rw,noauto

[Table Mount options]

Option

Description

closesync

All non-updated data in the relevant file is reflected when the file is finally closed.

noatime

Does not update the file access time.

nosuid

A file system will be mounted with setuid execution permission. Note, however, that if nosuid is specified, mounting will be executed with setid execution inhibited.

rw | ro

Mounts in read/write mode (rw) or read only mode (ro). By default, rw is used.

noauto

Does not mount when a node is started. By default, mounting is performed when a node is started.

Specify "-" to fsck pass field and "no" to mount at boot field.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006