Operating System - HP-UX
1834632 Members
3216 Online
110069 Solutions
New Discussion

URGENT: Two physical disks gone from vg00 hpux 11.23

 
Craig A. Sharp
Super Advisor

URGENT: Two physical disks gone from vg00 hpux 11.23

In our vg00, there are three physical disks per side of the mirror.

Our /dev/vg00/lvol14 consists of:

/dev/dsk/c3t2d0
/dev/dsk/c4t2d0 Mirror

All of a sudden, the vg is reporting that both physical disks cannot be queried. When I do a vgdisplay, I do not see the disks in the pv listing. I only see 4 disks. I removed the logical volume associated with the disks but vg00 is stil having issues. The /etc/lvmtab shows the disks and as such anything I try to do to the vg errors. This includes reducing the vg.

How do I remove these disks from the lvmtab? When I try to reduce the vg it says that the physical volume is not part of the vg.
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: URGENT: Two physical disks gone from vg00 hpux 11.23

I'm not at a HP-UX system right now, but I believe you can use the '-f' option to vgreduce.

Check the man page for more information.
Ivan Krastev
Honored Contributor

Re: URGENT: Two physical disks gone from vg00 hpux 11.23

Copy /etc/lvmtab to new file and rebuild it with vgscan -a.

regards,
ivan
Jaime Bolanos Rojas.
Honored Contributor

Re: URGENT: Two physical disks gone from vg00 hpux 11.23

Hi Craig,

Best way to approach to a faster solution would be to described the problem by using the actual commands that you used and the exact outputs that you were getting.

Regards,

Jaime.
Work hard when the need comes out.
Torsten.
Acclaimed Contributor

Re: URGENT: Two physical disks gone from vg00 hpux 11.23

I agree to Jaime.

2 disks at a time are unlikely, but possible.

Maybe another (connection) problem?

Can you post more details about the hardware? (disk chassis, server model, ioscan -fn ...)

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!   
Michael Steele_2
Honored Contributor

Re: URGENT: Two physical disks gone from vg00 hpux 11.23

Hi Craig:

I believe Patrick is correct, vgreduce -f /dev/vg00. You will have to also check for any daemons still referencing that deleted lvol and stop them. That's probably what it is in fact. Use 'lsof' if you don't know. 'fuser' may also work.

Support Fatherhood - Stop Family Law