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

13.3.3 Set up after Restoration

13.3.3.1 Resetting the partition information

When you restore the GFS Shared File System to a partition different from the backup origin by dd(1) command use, partition information in the inside of the medium does not accord with real partition composition.

Therefore, it is necessary to set partition information again.

Information

When you restore the GFS Shared File System to totally same partition as the backup origin, operations in this section is not necessary because there is no change in partition information in the medium.

Use the sfcadm(8) 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.

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

See

For details on sfcinfo(8), see sfcinfo(8).
For details on sfcadm(8), see sfcadm(8).

Note

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

13.3.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 sfcfsck(8). If no inconsistency occurs, sfcfsck(8) will be completed in several seconds to one minute.

An example of file system repair is shown below. The representative partition is /dev/sfdsk/gfs99/dsk/volume01. Before executing the command, be sure to check that the file system is not mounted on all the nodes.

# sfcfsck -y /dev/sfdsk/gfs99/dsk/volume01 <Enter>

See

For details on sfcfsck(8), see sfcfsck(8).