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

Chapter 11 File System Operations (Command)> 11.5 Change (shared node information)> 11.5.3 Changing shared node information

11.5.3.2 Deleting node information

Described below is the procedure for using sfcnode(1M) to delete node information (moony) from an existing file system (/dev/sfdsk/gfs01/rdsk/volume01). If you are deleting node information while the file system is unmounted, execute sfcnode(1M) on a node that shares the target file system.

1. Check that the file system is unmounted in all nodes configuring the current file system and all nodes sharing the file system.

You can do this by checking that "STOP" is displayed in all status fields of the sfcinfo(1M) outputs.

# sfcinfo -n /dev/sfdsk/gfs01/dsk/volume01 <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID  hostID    status  hostname
   1  80a4f75b  STOP    sunny
   1  80960096  STOP    moony

2. Delete the node from the node where an MDS is configured

# sfcadm -g sunny /dev/sfdsk/gfs01/rdsk/volume01 <Enter>

3. Check if the node to the node where an MDS is configured has been deleted.

If moony is not displayed as MDS(P) or MDS(S), the node has been deleted.

# sfcrscinfo -m /dev/sfdsk/gfs01/rdsk/volume01 <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID  MDS/AC  STATE  S-STATE   RID-1   RID-2   RID-N  hostname
   1  MDS(P)  stop   -             0       0       0  sunny
   1  AC      stop   -             0       0       0  sunny
   1  AC      stop   -             0       0       0  moony

4. Delete the node information.

# sfcnode -d -h moony /dev/sfdsk/gfs01/rdsk/volume01 <Enter>

5. Confirm that the node information has been deleted.

You can do this by checking that the moony field is not displayed in the sfcinfo(1M) outputs.

# sfcinfo -n /dev/sfdsk/gfs01/dsk/volume01 <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID  hostID    status  hostname
   1  80a4f75b  STOP    sunny

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006