PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
|
Contents
Index
|
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:
- When the mount point is specified:
# mount /mnt/fs1
Mount point: /mnt/fs1
|
- When a representative partition is specified:
# mount /dev/sfdsk/gfs/dsk/volume1
Representative partition: /dev/sfdsk/gfs/dsk/volume1
|
- When both the mount point and a representative partition are specified:
# 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:
- When the mount point is specified:
# sfcmntgl /mnt/fs1
Mount point: /mnt/fs1
|
- When a representative partition is specified:
# sfcmntgl /dev/sfdsk/gfs/dsk/volume1
Representative partition: /dev/sfdsk/gfs/dsk/volume1
|
- When both the mount point and a representative partition are specified:
# 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:
- When the mount point is specified:
# umount /mnt/fs1
Mount point: /mnt/fs1
|
- When a representative partition is specified:
# 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)."
- When the mount point is specified:
# sfcumntgl /mnt/fs1
Mount point: /mnt/fs1
|
- When a representative partition is specified:
# 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.
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004