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

Chapter 9 File System Operations (Command)> 9.6 Deleting

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).

# 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   -----

# sfcadm -D /dev/sfdsk/gfs/dsk/volume2

# 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  -----


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004