Monday, March 24, 2008 at 9:32 PM |
Details:

Disks that are no longer required and not being used can be removed from its diskgroup.

The command to remove a disk from a diskgroup is:

vxdg -g <dg> rmdisk <disk>


The example below is from an actual server with EMC LUNs. I normally name the disks that includes the last few digits of the Storage WWN plus the actual LUN number.

# vxdisk list
DEVICE TYPE DISK GROUP STATUS
EMC0_0 auto:cdsdisk dvgy404B23L002 dvgy404 online
EMC0_1 auto:cdsdisk dvgy404B23L009 dvgy404 online
EMC0_2 auto:cdsdisk dvgy404B23L057 dvgy404 online
EMC0_3 auto:cdsdisk dvgy404B23L035 dvgy404 online
EMC0_4 auto:cdsdisk dvgy404B23L063 dvgy404 online
EMC0_5 auto:cdsdisk dvgy404B23L056 dvgy404 online
EMC0_6 auto:cdsdisk dvgy404B23L027 dvgy404 online
EMC0_7 auto:cdsdisk dvgy404B23L030 dvgy404 online
EMC0_8 auto:cdsdisk dvgy404B23L031 dvgy404 online

# vxdg -g dvgy404 rmdisk dvgy404B23L031

# vxdisk list
DEVICE TYPE DISK GROUP STATUS
EMC0_0 auto:cdsdisk dvgy404B23L002 dvgy404 online
EMC0_1 auto:cdsdisk dvgy404B23L009 dvgy404 online
EMC0_2 auto:cdsdisk dvgy404B23L057 dvgy404 online
EMC0_3 auto:cdsdisk dvgy404B23L035 dvgy404 online
EMC0_4 auto:cdsdisk dvgy404B23L063 dvgy404 online
EMC0_5 auto:cdsdisk dvgy404B23L056 dvgy404 online
EMC0_6 auto:cdsdisk dvgy404B23L027 dvgy404 online
EMC0_7 auto:cdsdisk dvgy404B23L030 dvgy404 online
EMC0_8 auto:cdsdisk - - online


The disk has been removed from the diskgroup.
Posted by JAUGHN

0 comments:

Visit the Site
MARVEL and SPIDER-MAN: TM & 2007 Marvel Characters, Inc. Motion Picture © 2007 Columbia Pictures Industries, Inc. All Rights Reserved. 2007 Sony Pictures Digital Inc. All rights reserved. blogger template by blog forum