VXVM: Resolving duplicate disk/device entries in "vxdisk list" or vxdisksetup

Friday, May 6, 2011 at 8:13 AM
vxdisk list
c1t0d0s2 sliced -- error
c1t0d0d2 sliced -- error
-- root-disk rootdg removed was:c1t0d0s2

1. Remove c1t0d0s2 entries from vxvm control
vxdisk -f rm c1t0d0s2

2.Remove the disk c1t0d0s2 using luxadm

luxadm remove_device c1t0d0s2
luxadm remove_device /dev/rdsk/c1t0d0s2

Pull the disk out as per the luxadm instrunctions.

3.Run command "devfsadm -C"
4. Run command "vxdctl enable"
5. luxadm -e offline /dev/dsk/c1t0d0s2

6. Run command "devfsadm -C"
7. Run command "vxdctl enable"

9.You need to use "luxadm insert_device" to replace the disk failed device.
[Once the disk have been replaced, use "vxdctl enable" and "vxdiskadm" option 5 after syncing with the remaining mirror.]

Result:

#vxdisk list

Now both the O/S device tree and VXVM are in a clean state corresponding to disk c1t0d0s2.

0 comments

Post a Comment

Solaris | Powered by Blogger | Entries (RSS) | Comments (RSS) | Designed by MB Web Design | XML Coded By Cahayabiru.com