Operating System - HP-UX
1753962 Members
7746 Online
108811 Solutions
New Discussion юеВ

LVM commands to replace faulty boot mirror disk

 
SOLVED
Go to solution
Frank de Vries
Respected Contributor

LVM commands to replace faulty boot mirror disk

We run hpux 11.00 with Mirror/ux and Online JFS on a N-Class.

Our mirrored boot disk is faulty.
We have a vg volume /dev/vg00
with two disks:
/dev/dsk/c1t6d0 (Still running, status CURRENT)
/dev/dsk/c2t6d0 (stopped working, status STALE)

I have a new disk.
Which order of lvm commands to I apply
to be able to safely remove the faulty disk ?
(Please note that the faulty disk cannot be read anymore, so LVM cannot query its header and subsequent status)

The allocation policy = strict
and we do not use striping.

lvmtab shows this:
[root@orasrv1:]/etc<>>> strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0

And how after putting in the new disk, do I make it bootable and mirrored to the first one?

Thanks.
Look before you leap
2 REPLIES 2
Torsten.
Acclaimed Contributor
Solution

Re: LVM commands to replace faulty boot mirror disk

Everything you need is here:

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

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Frank de Vries
Respected Contributor

Re: LVM commands to replace faulty boot mirror disk

Just what I needed !!
Look before you leap