PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Linux)
|
Contents
Index

|
9.6.2 Deleting the file system
To delete a file system that is not being used in the GFS Shared File System, use the -D option of sfcadm(8).

For details about sfcadm(8) options, see "sfcadm(8)" in this manual.
The following shows how to delete a file system with sfcadm(8).
- Check the current file system information.
# sfcinfo -a
/dev/sfdsk/gfs/dsk/volume1:
FSID special size Type mount
1 /dev/sfdsk/gfs/dsk/volume1(e721) 407144 META -----
1 /dev/sfdsk/gfs/dsk/volume1(e721) 5120 LOG -----
1 /dev/sfdsk/gfs/dsk/volume1(e721) 3761416 DATA -----
/dev/sfdsk/gfs/dsk/volume2:
FSID special size Type mount
2 /dev/sfdsk/gfs/rdsk/volume2(e722) 51394 META -----
2 /dev/sfdsk/gfs/rdsk/volume2(e722) 5237 LOG -----
2 /dev/sfdsk/gfs/rdsk/volume2(e722) 523776 DATA -----
|
- Delete the file system whose representative partition is /dev/sfdsk/gfs/dsk/volume2
# sfcadm -D /dev/sfdsk/gfs/dsk/volume2
|
- 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(e721) 407144 META -----
1 /dev/sfdsk/gfs/dsk/volume1(e721) 5120 LOG -----
1 /dev/sfdsk/gfs/dsk/volume1(e721) 3761416 DATA -----
|
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004