Operating System - HP-UX
1752315 Members
5499 Online
108786 Solutions
New Discussion юеВ

Re: how do i know my secondary boot disk is good

 
Deepak Seth_1
Regular Advisor

Re: how do i know my secondary boot disk is good

thanks everybody for the quick replies. I had no luck with my secondary boot disk. This is what i finally did

- tried the secondary , didn't work.
- i was able to bring back my failed drive for enough time to redo the mirroring again to my alternate .
- tried alternate disk and it worked.
- reduce the bad drive .
- insert the new drive .
- it start complaining about missing many files . don't know why even though i mirrored my alternate completly .
- finally restoring the data for /usr / and many other vg00 FS .
But still don't know where did i went wrong in mirroring .
Patrick Wallek
Honored Contributor

Re: how do i know my secondary boot disk is good

>>But still don't know where did i went wrong in mirroring .

Well, since you didn't provide any details as to HOW you did the mirroring, we can't be of much help.
Suraj K Sankari
Honored Contributor

Re: how do i know my secondary boot disk is good

Hi,
Ifu didnt get any error in syslog.log that means your disk is good more over you want to check then use the

dd command

Suraj
Deepak Seth_1
Regular Advisor

Re: how do i know my secondary boot disk is good

steps were
pvcreate -B
vgextend
mkboot -a "hpux"....
lvextend -m 1 [1-10]
lvlnboot -R /dev/vg00
lvlnboot -v
setboot
add to /stand/bootconf

what iam thinking is that when i mirrored by secondary disk from bad disk (which was ok for little while) probably got lots of stale extents and they probably got missed out .

what i did
- primary failed.
- secondary failed to boot.
- hard reset bring back the primary up for little bit . enough for me to do mirroring to non-working seconday follow above step.
- tried seconday. i worked.
- reduce the primary mirror.
- put the new drive .
- errors started - complaining about missing lots of files.
- i have to restore them from backup.

this means something didn't went right while doing the mirroring from bad disk to secondary.