Top
PRIMECLUSTER Global File Services Configuration and Administration Guide 4.6
FUJITSU Software

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(8) with the -D option specified. Execute the command on any one of the nodes where the file system is shared.

See

For details on the sfcadm(8) options, see sfcadm(8).

How to delete a file system using sfcadm(8) 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(1e756)        14422  META  -----
       1 /dev/sfdsk/gfs01/dsk/volume01(1e756)         5116  LOG   -----
       1 /dev/sfdsk/gfs01/dsk/volume01(1e756)        95112  DATA  -----
    /dev/sfdsk/gfs02/dsk/volume01:
    FSID special                                      size  Type  mount
       2 /dev/sfdsk/gfs02/dsk/volume01(1e757)        14422  META  -----
       2 /dev/sfdsk/gfs02/dsk/volume01(1e757)         5116  LOG   -----
       2 /dev/sfdsk/gfs02/dsk/volume01(1e757)        95112  DATA  -----
  2. Delete the file system whose representative partition is /dev/sfdsk/gfs/dsk/volume01.

    # sfcadm -D /dev/sfdsk/gfs02/dsk/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(1e756)        14422  META  -----
       1 /dev/sfdsk/gfs01/dsk/volume01(1e756)         5116  LOG   -----
       1 /dev/sfdsk/gfs01/dsk/volume01(1e756)        95112  DATA  -----