Creating full-sized snapshots
Unlike the space-optimized snapshot, NetBackup cannot create VxVM full-sized instant snapshots: you must create them before running the backup, as explained in the following procedure. You must create one full-sized instant snapshot for each backup you want to run.
To create full-sized snapshots
- Enter the following to create the parent volume:
/usr/sbin/vxassist -g disk_group make volume length layout=layout logtype=dco dcoversion=20 [drl=no|sequential|yes] [ndcomirror=number] fastresync=on
Where:
Brackets [ ] indicate optional items.
make volume specifies the name of the volume snapshot.
Create a volume for a full-sized instant snapshot:
Determine the required size for the snapshot volume:
# LEN='vxprint -g disk_group -F%len volume'
Find the name of the DCO volume:
# DCOVOL='vxprint -g disk_group -F%dconame volume'
Discover the DCO volume's region size (in blocks):
# RSZ='vxprint -g disk_group -F%regionsz $DCOVOL'
Create a volume that is named volumename_NBU, of the required size and redundancy.
The volume name must end with _NBU. In the following example, the volume is named SNAP_vol1_NBU.
vxassist -g disk_group make SNAP_vol1_NBU $LEN layout=mirror nmirror=number logtype=dco drl=no dcoversion=20 ndcomirror=number regionsz=$RSZ init=none [storage attributes ...]The number for nmirror should equal the number for ndcomirror.
Note:
For Linux, the init value should be init=active instead of init=none.
For Solaris 10 with Storage Foundation 5.1, the init value should be init=active instead of init=none.
vxsnap -g disk_group make source=volume/snapvol=SNAP_vol1_NBU/syncing=on
- Set the Maximum Snapshots (Instant Recovery only) value on the NetBackup Snapshot Client Options dialog.
More Information