Operating System - HP-UX
1751765 Members
4538 Online
108781 Solutions
New Discussion юеВ

What will be the impact if the mirror root disk fails

 
sanwin
Frequent Advisor

What will be the impact if the mirror root disk fails

Hi,
Mirror root disk has failed and i need to rectify the situation now.

How to make the situation as normal as before the failure.

Please guide me. It is not hot swappable. so please guide me how to restore the mirror disk.

thanks!!

regards,
sanwin.
6 REPLIES 6
Prashanth Waugh
Esteemed Contributor

Re: What will be the impact if the mirror root disk fails

Hi sanwin,

what r the steps u have taken .
have u checeked the disk using
#diskinfo /dev/rdsk/cntndn
also u can use the dd command

Regards
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: What will be the impact if the mirror root disk fails

Hi,

post the
#lvlnboot -v
output

Regards
prashnat
For success, attitude is equally as important as ability
sanwin
Frequent Advisor

Re: What will be the impact if the mirror root disk fails

Hi prashant,
Sorry, right now the disk has not failed. But i have to prepare the steps to resolve such root disk failure and mirror disk failure.


could you please guide me.

thanks!!

Prashanth Waugh
Esteemed Contributor

Re: What will be the impact if the mirror root disk fails

Hi,
suppose i m replacing c0t6d0

Halt the system
Replace the disk
Boot from the mirror disk into quorum mode
isl> hp-ux -lq
vgcfgrestore -n vg00 /dev/rdsk/c0t6d0
vgchange -a y vg00
pvcreate -B /dev/rdsk/c0t6d0
mkboot /dev/rdsk/c0t6d0
mkboot -a "hpux -lq" /dev/rdsk/c0t6d0
vgsync /dev/vg00
lvlnboot -R
lvlnboot -v

Regards
Prashnat
For success, attitude is equally as important as ability
Johnson Punniyalingam
Honored Contributor

Re: What will be the impact if the mirror root disk fails

Hi Sanwin,

EXAMPLE :
***********
1) Remove lvol mirrors:
# lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/c2t6d0
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t6d0
2) Remove faulty drive from vg00:
# vgreduce /dev/vg00 /dev/dsk/c2t6d0
3) Call for CE replacement of hot-swappable drive c2t6d0 at H/W path 0/0/2/1.6.0:
SCSI describe of /dev/rdsk/c2t6d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
4) When drive is replaced, add back into vg00 and make bootable:
# pvcreate -B /dev/rdsk/c2t6d0
# vgextend /dev/vg00 /dev/dsk/c2t6d0
# mkboot -l /dev/rdsk/c2t6d0
5) Re-mirror logical volumes, must be done in lvol order:
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0
And repeat for remaining logical volumes lvol4 through lvol13.

Thx,
Johnson
Problems are common to all, but attitude makes the difference
Robert-Jan Goossens
Honored Contributor

Re: What will be the impact if the mirror root disk fails

Hi Sanwin,

Have a look at this document.

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

Best reagrds,
Robert-Jan