Problem
The cfgadm unconfigure command fails with "Device being used by VxVM".
Solution
While trying to remove a device from the OS with cfgadm unconfigure the following error occurs.
PROBLEM:
# cfgadm -f -c unconfigure c3::dsk/c3t2d0
cfgadm: Component system is busy, try again: failed to offline:
Resource Information
------------------ -------------------------
/dev/dsk/c3t2d0s2 Device being used by VxVM
Note the Volume Manager daemon is running:
# vxdctl mode
mode: enabled
The vxdisk list command shows the device is not initialized, but does have a valid label.
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c3t0d0s2 auto:none - - online invalid
c3t1d0s2 auto:none - - online invalid
c3t2d0s2 auto:none - - online invalid
SOLUTION:
If VCS is running, freeze all servicegroup's that contain a diskgroup first.
# vxdctl stop
# cfgadm -f -c unconfigure c3::dsk/c3t2d0
# vxconfigd -x syslog
Notice the c3t3d0 device is gone once vxconfigd rebuilt the dmpnodes from the configured OS devices.
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c3t0d0s2 auto:none - - online invalid
c3t1d0s2 auto:none - - online invalid
Now a physical disk removal/replacement is possible.
http://www.symantec.com/business/support/index?page=content&id=TECH64454
No comments:
Post a Comment