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

Chapter 13 File System Backing-up and Restoring> 13.3 Restoring by Standard Solaris OS commands> 13.3.3 Set up after Restoration

13.3.3.1 Resetting the partition information

It is necessary to change management information only when restoring it to a partition different from the backup because it enters the state with different partition information in the medium by the following procedures. It is not necessary to work because there is no change in partition information in the medium when restoring it to quite the same partition as the backup.

By the following ways, if the GFS Shared File System is restored to a partition that is different from a backup, it is necessary to change management information because partition information is not corresponding to an actual partition composition.

Use the sfcadm(1M) command to reset the partition information.
If the GFS Shared File System is restored to a partition that is different from a backup, it differs according to the procedure of restoration is whether the partition at the restoration destination is GFS Shared File System. Each procedure is shown as follows.

1) When restoring the GFS Shared File System to an unused partition

The following shows how to reset the partition information with sfcadm(1M) after you have restored the three-partition GFS Shared File System to another partition (/dev/sfdsk/gfs99/rdsk/volume01, /dev/sfdsk/gfs99/rdsk/volume02, /dev/sfdsk/gfs99/rdsk/volume03) that is different from the creation source. Note that the representative partition is /dev/sfdsk/gfs99/rdsk/volume01, the port name is sfcfs-1 and that the shared nodes are host01, host02.
# sfcadm -m host01,host02 -g host01,host02 -p sfcfs-1,sfcfs-1 /dev/sfdsk/gfs99/rdsk/volume01,/dev/sfdsk/gfs99/rdsk/volume02,/dev/sfdsk/gfs99/rdsk/volume03 <Enter>

2) When restoring the GFS Shared File System to a partition in use

You can set the partition information by executing sfcadm(1M) after restoring the file system that consists of three partition to the partitions; /dev/sfdsk/gfs99/rdsk/volume01, /dev/sfdsk/gfs99/rdsk/volume02, and /dev/sfdsk/gfs99/rdsk/volume03. In these partitions, the file system in the same configuration exists. The representative partition is /dev/sfdsk/gfs99/rdsk/volume01, and the port name and shared node are the same.
# sfcadm /dev/sfdsk/gfs99/rdsk/volume01,/dev/sfdsk/gfs99/rdsk/volume02,/dev/sfdsk/gfs99/rdsk/volume03 <Enter>

Note that the state of the file system creation for the restoration destination can be confirmed with sfcinfo(1M).

For details on sfcinfo(1M), see sfcinfo(1M).
For details on sfcadm(1M), see sfcadm(1M).

If nodes where the file system is shared are different before and after backup or restore, change the sharing node settings.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006