06-23-2012 12:01 PM
Hi all,
I have encapsulated my rootdisk and rootmirror under vxvm long time ago, now the root disk is shown as failing when I execute "vxdisk list" and also I discovered that after my last reboot 3 weeks ago , the rootvol-02 (rootmirror disk) is out of sync, so my system is running on rootvol having only one stripe available, the other stripe is out of sync.
I have alrady purchased a replacement for my root disk, my question is how to replace the disk knowing that it is encapsulated under VxVM.
I have the headlines in my mind but I am not sure about the commands. can someone help me please?
my environment contains the following boxes:
1- Solaris 10 + SF 5.0
2- EMC CX120 array + multipathing
3- old ufs backup using ufsdump is available for the root file system
many thanks.
Solved! Go to Solution.
07-09-2012 07:18 AM
1- boot system into single user mode through cdrom: boot cdrom -se
2- physically replace the disk
3- restore the root file system on the new disk
4- install the bootblock
5- edit /etc/vfstab and /etc/system and remove vx entries from both files
6- startup the system
7- encapsulate the new disk with vxdiskadm
8- attached the rootvol and swapvol volumes
06-25-2012 05:41 AM
Hi,
you can use vxdiskadm menu simply to do this task ...
check out option 4 & 5
Remove a disk for replacement
Replace a failed or removed disk
Menu based option will guide you clearly to replace your disk, while you attach the new disk, it would sync the disk with rootdisk automatically...
Gaurav
06-25-2012 07:15 AM
Some of useful links from troubleshooting guide of vxvm ..
https://sort.symantec.com/public/documents/sf/5.1/solaris/html/vxvm_tshoot/ch03s07s02.htm
https://sort.symantec.com/public/documents/sf/5.1/solaris/html/vxvm_tshoot/ch03.htm
https://sort.symantec.com/public/documents/sf/5.1/solaris/html/vxvm_tshoot/ch03s07.htm
https://sort.symantec.com/public/documents/sf/5.1/solaris/html/vxvm_tshoot/ch03s04.htm
Gaurav
07-09-2012 07:18 AM
1- boot system into single user mode through cdrom: boot cdrom -se
2- physically replace the disk
3- restore the root file system on the new disk
4- install the bootblock
5- edit /etc/vfstab and /etc/system and remove vx entries from both files
6- startup the system
7- encapsulate the new disk with vxdiskadm
8- attached the rootvol and swapvol volumes
08-05-2012 04:25 AM
thank you Gaurav,
I already did the replacement before looking at the guides you mentioned above since I was in a hurry, but I used mainly the vxvm troubleshooting guide.
thank you for replying