Veritas Volume Manager problem
We have 2 Sun 3510 arrays each containing three disks. VxVM, on Solaris 10 for SPARC, has been set up to mirror each disk, ie Array 1 Disk 1 is mirrored to Array 2 Disk 1 etc etc. We had a problem with the power to the controller of array 2 and the disks in that array ended up in a disabled and removed state.
The power has now been restored and the disks are now visible to the operating system again. However whatever we try we can not get VxVM to accept the disks.
It can see them but will not re-add them. We have followed the replace disk procedure which fails with the message 'no device available to replace'.
Any suggestions would be most gratefuly received.
Greg,
Try on Disk_9 first
# vxdiskunsetup -C Disk_9
# vxdisksetup -i Disk_9 format=cdsdisk privlen=2048
# vxdisk list Disk_9
The fields in bold (from your previous output) should be the same. If they're not, stop here and post the vxdisk list Disk_9 output!
root@server01 # vxdisk list Disk_9
[...]
info: format=cdsdisk,privoffset=256,pubslice=2,privslice=2
flags: online ready private autoconfig autoimport
pubpaths: block=/dev/vx/dmp/Disk_9s2 char=/dev/vx/rdmp/Disk_9s2
version: 3.1
iosize: min=512 (bytes) max=2048 (blocks)
public: slice=2 offset=2304 len=1140796160 disk_offset=0
private: slice=2 offset=256 len=2048 disk_offset=0
[...]
Multipathing information:
numpaths: 1
c5t40d1s2 state=enabledIf they are the same, try to add this to the dg now:
# vxdg -g datadg -k adddisk datadg04=Disk_9
Repeat steps for Disk_10, Disk_11 (ensure privlen=2048 is specified in the vxdisksetup command)
If this works, then post the vxprint -qhtrg datadg output after adding the disks so the plexes can be recovered