PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Solaris(TM) 10 Operating System)
|
Contents
Index

|
11.8.3 Deleting the file system
To delete a file system that is not being used in the GFS Shared File System, use sfcadm(1M) with the -D option specified. Execute the command on any one of the nodes where the file system is shared.

For details on the sfcadm(1M) options, see sfcadm(1M).
How to delete a file system using sfcadm(1M) is shown below.
1. Check the current file system information.
# sfcinfo -a <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID special size Type mount
1 /dev/sfdsk/gfs01/dsk/volume01(11500000021) 14422 META -----
1 /dev/sfdsk/gfs01/dsk/volume01(11500000021) 5116 LOG -----
1 /dev/sfdsk/gfs01/dsk/volume01(11500000021) 95112 DATA -----
/dev/sfdsk/gfs02/dsk/volume01:
FSID special size Type mount
2 /dev/sfdsk/gfs02/dsk/volume01(11500000022) 14422 META -----
2 /dev/sfdsk/gfs02/dsk/volume01(11500000022) 5116 LOG -----
2 /dev/sfdsk/gfs02/dsk/volume01(11500000022) 95112 DATA ----- |
2. Delete the file system whose representative partition is /dev/sfdsk/gfs/rdsk/volume01.
# sfcadm -D /dev/sfdsk/gfs02/rdsk/volume01 <Enter> |
3. Confirm that the file system has been deleted.
# sfcinfo -a <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID special size Type mount
1 /dev/sfdsk/gfs01/dsk/volume01(11500000021) 14422 META -----
1 /dev/sfdsk/gfs01/dsk/volume01(11500000021) 5116 LOG -----
1 /dev/sfdsk/gfs01/dsk/volume01(11500000021) 95112 DATA ----- |
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006