Académique Documents
Professionnel Documents
Culture Documents
In this post, we are going to see traditional mirror break-off snapshot.To perform this
snapshot ,we need free space equal to volume size on the diskgroup.It typically
perform the volume mirror and it will make the new plex as snapshot volume for
backup operations.
High Level plan for backup of database volume using third-mirror break-off:
1.Prepare the volume for snapshot.
2.Add a mirror using the vxassist or vxsnap
3.Make the snapshot and break it from volume.
4.Mount the volume and perform the backup.
By end of this work, you can see the new plex created and its state in SNAPDONE
#vxassist -g UXDG snapstart oravol1
#vxprint -hvt
Disk group: UXDG
v oravol1 - ENABLED ACTIVE 204800 SELECT - fsgen
pl oravol1-01 oravol1 ENABLED ACTIVE 204800 CONCAT - RW
sd UXDISK1-01 oravol1-01 UXDISK1 0 143056 0 disk_0 ENA
sd UXDISK2-01 oravol1-01 UXDISK2 0 61744 143056 disk_1 ENA
pl oravol1-02 oravol1 ENABLED SNAPDONE 204800 CONCAT - WO
sd UXDISK3-01 oravol1-02 UXDISK3 0 143056 0 disk_4 ENA
sd UXDISK4-01 oravol1-02 UXDISK4 0 61744 143056 disk_5 ENA
Note:If you have additional mirror configured with volume,you can use that
plex as snapshot using below command.
# vxplex -g DG_NAME convert state=SNAPDONE plex_name
This step will break the mirror plex in to separate volume.So that we can mount it in
different mount point and backup can be performed without touching the actual
database volume. (oravol1)
#vxassist -g UXDG snapshot oravol1
#vxprint -hvt
Disk group: UXDG
v SNAP-oravol1 - ENABLED ACTIVE 204800 ROUND - fsgen
pl oravol1-02 SNAP-oravol1 ENABLED ACTIVE 204800 CONCAT - RW
sd UXDISK3-01 oravol1-02 UXDISK3 0 143056 0 disk_4 ENA
sd UXDISK4-01 oravol1-02 UXDISK4 0 61744 143056 disk_5 ENA
v oravol1 - ENABLED ACTIVE 204800 SELECT - fsgen
pl oravol1-01 oravol1 ENABLED ACTIVE 204800 CONCAT - RW
sd UXDISK1-01 oravol1-01 UXDISK1 0 143056 0 disk_0 ENA
sd UXDISK2-01 oravol1-01 UXDISK2 0 61744 143056 disk_1 ENA
This process will overwrite the volume using the snapshot data.
USING VXSNAP: