Video Screencast Help
Search Video Help Close Back
to help

rootdisk is failing and rootmirror is out of sync

Created: 23 Jun 2012 | Updated: 03 Aug 2012 | 4 comments
grigori's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

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.

 

 

Comments 4 CommentsJump to latest comment

Gaurav Sangamnerkar's picture

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

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

0
Login to vote
  • Actions
Gaurav Sangamnerkar's picture

Some of useful links from troubleshooting guide of vxvm ..

 

https://sort.symantec.com/public/documents/sf/5.1/...

 

https://sort.symantec.com/public/documents/sf/5.1/...

 

https://sort.symantec.com/public/documents/sf/5.1/...

 

https://sort.symantec.com/public/documents/sf/5.1/...

 

Gaurav

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

+1
Login to vote
  • Actions
grigori's picture

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

+1
Login to vote
  • Actions
grigori's picture

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
 

SOLUTION
0
Login to vote
  • Actions