Tuesday, September 29, 2015

Remove a volume



Remove a volume

scenario1:
Remove one of the snapmirrored destination volume. Change snapmirror setting.
source: : source_vol
destination1: : dest1_vol     <--- remove="" span="" this="" volume="">
destination2: : dest2_vol

Subject: - Remove a copy volume and change snapmirror setting
Target Storage devices: , ,
Removed volume:  : dest1_vol


 Instruction:
1.      Login to the device
2.      Check the volume status and snapmirror status
> vol status
>snapmirror status
3.      Off line the volume and destroy it 
> vol offline dest1_vol

> vol destroy dest1_vol

4.      Delete a snapmirror entry from /etc/snapmirror.conf
  
   :source_vol-:dest1_vol  xxxxxxxxxxx

5.      Verify the volume is removed
> vol status

6.      Login to destination2 device
7.      Modify /etc/snapmirror.conf
 
Before: :dest1_vol-:dest2_vol  xxxxxxxxxx
After: :source_vol-:dest2_vol  xxxxxxxxxx
8.      Check snapmirror status
>snapmirror status

No comments: