HP Veritas Volume Manager 5.0 -UX 11i v3 manual Removing a linked break-off snapshot volume

Models: Veritas Volume Manager 5.0 -UX 11i v3

1 557
Download 557 pages 45.15 Kb
Page 336
Image 336

Administering volume snapshots 337

Creating instant snapshots

Note: This command is similar in usage to the vxassist snapabort command.

If a volume set name is specified instead of a volume, a mirror is removed from each volume in the volume set.

Removing a linked break-off snapshot volume

To remove a linked break-off snapshot volume from a volume, use this command:

#vxsnap [-gdiskgroup] rmmir volumevolume_set mirvol=snapvol \ [mirdg=snapdiskgroup]

The mirvol and optional mirdg attributes specify the snapshot volume, snapvol, and its disk group, snapdiskgroup. For example, the following command removes a linked snapshot volume, prepsnap, from the volume, vol1:

#vxsnap -g mydg rmmir vol1 mirvol=prepsnap mirdg=mysnapdg

Adding a snapshot to a cascaded snapshot hierarchy

To create a snapshot and push it onto a snapshot hierarchy between the original volume and an existing snapshot volume, specify the name of the existing snapshot volume as the value of the infrontof attribute to the vxsnap make command. The following example shows how to place the space-optimized snapshot, thurs_bu, of the volume, dbvol, in front of the earlier snapshot,

wed_bu:

#vxsnap -g dbdg make source=dbvol/newvol=thurs_bu/\ infrontof=wed_bu/cache=dbdgcache

Similarly, the next snapshot that is taken, fri_bu, is placed in front of thurs_bu:

#vxsnap -g dbdg make source=dbvol/newvol=fri_bu/\ infrontof=thurs_bu/cache=dbdgcache

For more information on the application of cascaded snapshots, see “Cascaded snapshots” on page 312.

Refreshing an instant snapshot

Refreshing an instant snapshot replaces it with another point-in-time copy of a parent volume. To refresh one or more snapshots and make them immediately available for use, use the following command:

#vxsnap [-g diskgroup] refresh snapvolumesnapvolume_set \ source=volumevolume_set [[snapvol2 source=vol2]...] \ [syncing=yesno]

If the source volume is not specified, the immediate parent of the snapshot is used. For full-sized instant snapshots, resynchronization is started by default.

Page 336
Image 336
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Removing a linked break-off snapshot volume, Refreshing an instant snapshot