Symantec logo

Accessing a Storage Checkpoint

You can mount Storage Checkpoints using the mount command with the mount option -o ckpt=ckpt_name.

See the mount_vxfs(1M) manual page.

Observe the following rules when mounting Storage Checkpoints:

A Storage Checkpoint is mounted on a special pseudo device. This pseudo device does not exist in the system name space; the device is internally created by the system and used while the Storage Checkpoint is mounted. The pseudo device is removed after you unmount the Storage Checkpoint. A pseudo device name is formed by appending the Storage Checkpoint name to the file system device name using the colon character (:) as the separator.

For example, if a Storage Checkpoint named may_23 belongs to the file system residing on the special device /dev/vx/dsk/fsvol/vol1, the Storage Checkpoint pseudo device name is:

/dev/vx/dsk/fsvol/vol1:may_23

# mount -F vxfs -o ckpt=may_23 /dev/vx/dsk/fsvol/vol1:may_23 \
/fsvol_may_23


  Note   The vol1 file system must already be mounted before the Storage Checkpoint can be mounted.


# mount -F vxfs -o ckpt=may_23,remount,rw \
/dev/vx/dsk/fsvol/vol1:may_23 /fsvol_may_23
To mount this Storage Checkpoint automatically when the system starts up, put the following entries in the /etc/fstab file:

Device-Special-File 

Mount-point 

fstype 

options 

backup-
frequency 

pass-number 

/dev/vx/dsk/fsvol/vol1 

/fsvol 

vxfs 

defaults 

/dev/vx/dsk/fsvol/vol1:may_23 

/fsvol_may_23 

vxfs 

ckpt=may23 

To mount a Storage Checkpoint of a cluster file system, you must also use the -o cluster option:

# mount -F vxfs -o cluster,ckpt=may_23 \
/dev/vx/dsk/fsvol/vol1:may_23 /fsvol_may_23

You can only mount a Storage Checkpoint clusterwide if the file system that the Storage Checkpoint belongs to is also mounted clusterwide. Similarly, you can only mount a Storage Checkpoint locally if the file system that the Storage Checkpoint belongs to is mounted locally.

You can unmount Storage Checkpoints using the umount command

See the umount_vxfs(1M) manual page.

Storage Checkpoints can be unmounted by the mount point or pseudo device name:

# umount /fsvol_may_23

# umount /dev/vx/dsk/fsvol/vol1:may_23

/dev/vx/dsk/fsvol/vol1 /fsvol vxfs defaults 0 2
/dev/vx/dsk/fsvol/vol1:may_23 /fsvol_may_23 vxfs clone=may_23 0 0


  Note   You do not need to run the fsck utility on Storage Checkpoint pseudo devices because pseudo devices are part of the actual file system.