Luc Pauwels

Veritas Volume Manager - Remove Error Disks


To remove disks that are in error state:

(ecarsr2:/var/adm)# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
Disk_0       auto:none       -            -            online invalid
Disk_1       auto:none       -            -            online invalid
EMC0_16      auto:cdsdisk    -            -            error
EMC0_17      auto:cdsdisk    -            -            error
c0t0d0s4     simple          -            -            error
c1t0d0s4     simple          -            -            error
c1t0d0s6     simple          -            -            error

Use the "vxdisk rm" command:

(ecarsr2:/var/adm)# vxdisk rm EMC0_16
(ecarsr2:/var/adm)# vxdisk rm EMC0_17
(ecarsr2:/var/adm)# vxdisk rm c0t0d0s4
(ecarsr2:/var/adm)# vxdisk rm c1t0d0s4
(ecarsr2:/var/adm)# vxdisk rm c1t0d0s6

And things should look better:

(ecarsr2:/var/adm)# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
Disk_0       auto:none       -            -            online invalid
Disk_1       auto:none       -            -            online invalid