cfgadm:::Device being used by VxVM
root@abc>/> cfgadm -c unconfigure c1::dsk/c1t0d0
cfgadm: Component system is busy, try again: failed to offline: /devices/ssm@0,0/pci@1c,700000/pci@1/SUNW,isptwo@4/sd@0,0
Resource Information
—————— ————————-
/dev/dsk/c1t0d0s2 Device being used by VxVM
cfgadm: Component system is busy, try again: failed to offline: /devices/ssm@0,0/pci@1c,700000/pci@1/SUNW,isptwo@4/sd@0,0
Resource Information
—————— ————————-
/dev/dsk/c1t0d0s2 Device being used by VxVM
“cfgadm unconfigure” command fails here.
The way to resolve this is to disable the disks path from DMP control. Since there is only one path to this disk, the “-f” (for force) option needs to be used:
root@abc>/> vxdmpadm -f disable path=c1t0d0s2
root@abc>/> vxdmpadm getsubpaths ctlr=c1
NAME STATE[A] PATH-TYPE[M] DMPNODENAME ENCLR-TYPE ENCLR-NAME ATTRS
================================================================================
c1t0d0s2 DISABLED - c1t0d0s2 Disk Disk -
c1t6d0s2 ENABLED(A) - c1t6d0s2 Disk Disk -
NAME STATE[A] PATH-TYPE[M] DMPNODENAME ENCLR-TYPE ENCLR-NAME ATTRS
================================================================================
c1t0d0s2 DISABLED - c1t0d0s2 Disk Disk -
c1t6d0s2 ENABLED(A) - c1t6d0s2 Disk Disk -
You can see the path now disabled from DMP.
root@abc>/> cfgadm -c unconfigure c1::dsk/c1t0d0
cfgadm goes through fine.
root@abc>/>
No comments:
Post a Comment