Symantec Storage Foundation
# /opt/VRTS/bin/vxsvcctrl status -> view VEA service status
# /opt/VRTS/bin/vxsvcctrl stop -> stop VEA service
# /opt/VRTS/bin/vxsvcctrl start -> start VEA service
# vxdg list
# vxdg list diskgroup
# vxdg free
# vxdiskadd c1t0d0
# vxdg init diskgroup [cds=on|off] diskname=devicename
# vxdg init mktdg mktdg01=c1t0d0s2
# vxdiskadd c1t1d0 -> Adding a disk to a disk group
Removing a disk from a disk group
# vxdg [-g diskgroup] rmdisk diskname
# vxdg -g mydg rmdisk mydg02
Once the disk has been removed from its disk group, you can (optionally)
remove it from VxVM control completely, as follows:
# vxdiskunsetup devicename
For example, to remove c1t0d0s2 from VxVM control, use these commands:
# vxdiskunsetup c1t0d0s2
Deporting a disk group
-> Deporting a disk group disables access to a disk group that is currently enabled (imported) by the system.
Deport a disk group if you intend to move the disks in a disk group to another system. Also, deport a disk
group if you want to use all of the disks remaining in a disk group for a new purpose
# vxvol -g diskgroup stopall
# vxdg deport diskgroup
# vxdisk -s list
-> Select menu item 8 (Enable access to (import) a disk group) from the vxdiskadm main menu.
# vxdg import diskgroup
# vxdisk listtag
Renaming a disk group
# vxdg [-t] -n newdg import diskgroup
# vxdg -t -n mytempdg import mydg
To rename a disk group during deport, use the following command:
# vxdg [-h hostname] -n newdg deport diskgroup
# vxdg -h jingo -n myexdg deport mydg
Moving disks between disk groups
# vxdg -g salesdg rmdisk salesdg04
# vxdg -g mktdg adddisk mktdg02=c0t3d0
Handling errors when importing disks
To clear locks on a specific set of devices, use the following command:
# vxdisk clearimport devicename ...
To clear the locks during import, use the following command:
# vxdg -C import diskgroup
If some of the disks in the disk group have failed, you can force the disk group to be
imported by specifying the -f option to the vxdgimport command:
# vxdg -f import diskgroup
Tuesday, May 5, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment