PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Part 3 Global File Services Shared File System> Chapter 24 File System Backing-up and Restoring> 24.5 Restoring using Standard Solaris OE commands

24.5.3 Set up after Restoration

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

# sfcadm -m host0001,host0002,host0003 -g host0001,host0002 /dev/sfdsk/gfs/rdsk/vol0301,/dev/sfdsk/gfs/rdsk/vol0400,/dev/sfdsk/gfs/rdsk/vol0500

# sfcadm /dev/sfdsk/gfs/rdsk/vol0301

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 Appendix F.2.11, "sfcinfo(1M)."
For details on sfcadm(1M), see Appendix F.2.2, "sfcadm(1M)."

24.5.3.2 Repairing the file system

If you attempt to back up file systems that are mounted in units of file systems, a file access may occur while backup is being performed, such that an inconsistency occurs in the backup content.

To repair this state, the administrator must execute a file system consistency check and perform a repair with fsck_sfcfs(1M). If no inconsistency occurs, fsck_sfcfs(1M) will be completed in several seconds to one minute.

An example of file system repair is shown below. The representative partition is /dev/sfdsk/gfs/rdsk/vol0301. Execute the repair after confirming that nothing is mounted.

# fsck -F sfcfs -y work=/dev/rdsk/c2t3d0s1 /dev/sfdsk/gfs/rdsk/vol0301

For details on fsck_sfcfs(1M), see Appendix F.1.2, "fsck_sfcfs(1M)."

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004