cancel
Showing results for 
Search instead for 
Did you mean: 

rootdisk is failing and rootmirror is out of sync

grigori
Level 5

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.


 

 

1 ACCEPTED SOLUTION

Accepted Solutions

grigori
Level 5

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
 

View solution in original post

4 REPLIES 4

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

grigori
Level 5

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
 

grigori
Level 5

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