Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.7

7.7.2 Using Commands

This section describes the procedure for creating backup of a mirror volume making use of a snapshot by detaching a slice.

1) Stop the services

1a) With a shared volume used by a cluster application

Exit the cluster application.

1b) With a volume not used by a cluster application

1b-1) Stop the services using the volume.

1b-2) When the volume is used as a file system, unmount the file system. In the following example, the mount point is /mnt1.

# cd /
# umount /mnt1

2) Detaching the slice

Detach the slice from the mirror volume. The following shows an example of detaching the slice from disk Disk1.

# sdxslice -M -c Class1 -d Disk1 -v Volume1

3) Resuming the services

3a) With a shared volume used by a cluster application

Execute the cluster application.

3b) With a volume not used by a cluster application

3b-1) When the volume is used as a file system, mount the file system. In the following example, the mount point is /mnt1.

3b-2) Resume the services.


4) When the volume is used as a file system, check and repair consistency of the file system. If the file system was unmounted when the slice was detached in step 1), this step can be skipped.

5) Backing Up

Back up data in the detached slice. In the following example, data is backed up to a tape medium of tape device /dev/st0.

See

For details on the backup methods, see the manuals of file systems to be backed up and used commands.

6) Reattaching the slice

Reattach the detached slice to the mirror volume.

# sdxslice -R -c Class1 -d Disk1 -v Volume1