| PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents
Index
![]()
|
| Part 3 Global File Services Shared File System | > Chapter 22 File System Operations (Command) | > 22.9 Deleting |
To delete a file system that is not being used in the GFS Shared File System, use sfcadm(1M) with the -D option specified.

For details on the sfcadm(1M) options, see Appendix F.2.2, "sfcadm(1M)."
How to delete a file system using sfcadm(1M) is shown below.
1. Check the current file system information.
# sfcinfo -a /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(3fa0081) 407144 META ----- 1 /dev/sfdsk/gfs/dsk/volume1(3fa0081) 3761416 DATA ----- 1 /dev/sfdsk/gfs/dsk/volume1(3fa0081) 5120 LOG ----- /dev/sfdsk/gfs/dsk/volume2: FSID special size Type mount 2 /dev/sfdsk/gfs/dsk/volume2(3fa0082) 51394 META ----- 2 /dev/sfdsk/gfs/dsk/volume3(3fa0083) 523776 DATA ----- 2 /dev/sfdsk/gfs/dsk/volume4(3fa0084) 5237 LOG -----
2. Delete the file system whose representative partition is /dev/sfdsk/gfs/rdsk/volume2.
# sfcadm -D /dev/sfdsk/gfs/rdsk/volume2
3. Confirm that the file system has been deleted.
# sfcinfo -a /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(3fa0081) 407144 META ----- 1 /dev/sfdsk/gfs/dsk/volume1(3fa0081) 3761416 DATA ----- 1 /dev/sfdsk/gfs/dsk/volume1(3fa0081) 5120 LOG -----
Contents
Index
![]()
|