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

Part 3 Global File Services Shared File System> Chapter 22 File System Operations (Command)> 22.2 Flow from file system creation to mount/unmount

22.2.4 mount/umount/all nodes (u)mount

Use mount(1M) and umount(1M) commands to mount or unmount a GFS Shared File System on a node. Also, use sfcmntgl(1M) and sfcumntgl(1M) to mount or unmount a GFS Shared File System on all the nodes. These commands can be executed from any node on which the GFS Shared File System can be used. As the extension of mount (all nodes mount), sfcfsd and MDS will be started while sfcfsd and MDS will be terminated as the extension of unmount (all nodes unmount).

If no entry is described in /etc/vfstab, mounting is disabled. Also, no mount options can be specified with the mount command. The contents of the mount options in /etc/vfstab are used as the mount options.

22.2.4.1 Mount

For details on mount_sfcfs(1M), see Appendix F.1.5, "mount_sfcfs(1M)."

Perform mounting as shown below:

# mount /mnt/fs1
Mount point: /mnt/fs1

# mount /dev/sfdsk/gfs/dsk/volume1
Representative partition: /dev/sfdsk/gfs/dsk/volume1

# mount /dev/sfdsk/gfs/dsk/volume1 /mnt/fs1
Representative partition: /dev/sfdsk/gfs/dsk/volume1
Mount point: /mnt/fs1

22.2.4.2 Mount of all nodes

For details on sfcmntgl(1M), see Appendix F.2.13," sfcmntgl(1M)."

Mount all nodes as shown below:

# sfcmntgl /mnt/fs1
Mount point: /mnt/fs1

# sfcmntgl /dev/sfdsk/gfs/dsk/volume1
Representative partition: /dev/sfdsk/gfs/dsk/volume1

# sfcmntgl /dev/sfdsk/gfs/dsk/volume1 /mnt/fs1
Representative partition: /dev/sfdsk/gfs/dsk/volume1
Mount point: /mnt/fs1

If mounting fails for a node, the name of the node on which the failure occurred is reported.

22.2.4.3 Unmount

For details on umount_sfcfs(1M), see Appendix F.1.6, "umount_sfcfs(1M)."

Unmounting must be performed as shown below:

# umount /mnt/fs1
Mount point: /mnt/fs1

# umount /dev/sfdsk/gfs/dsk/volume1
Representative partition: /dev/sfdsk/gfs/dsk/volume1

22.2.4.4 Unmount of all nodes

For details on sfcumntgl(1M), see Appendix F.2.30, "sfcumntgl(1M)."
# sfcumntgl /mnt/fs1
Mount point: /mnt/fs1

# sfcumntgl /dev/sfdsk/gfs/dsk/volume1
Representative partition: /dev/sfdsk/gfs/dsk/volume1

If unmounting fails on a node, the name of the node on which the failure occurred is reported.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004