Operating System - HP-UX
1832473 Members
2721 Online
110043 Solutions
New Discussion

LVM - couldnt query physical disk

 
SOLVED
Go to solution
Dave Bunting
Frequent Advisor

LVM - couldnt query physical disk

Previously I have disks in the VG99 and have
primary paths of the form c10t#d# and alternate paths of form c11t#d# .

I removed the alternate path with

vgreduce /dev/VG99 /dev/dsk/c11t0d0
vgreduce /dev/VG99 /dev/dsk/c11t0d1
vgreduce /dev/VG99 /dev/dsk/c11t0d2
vgreduce /dev/VG99 /dev/dsk/c11t0d3
...

I then shutdown the server with

shutdown -h now

While the server was shutdown HP & EMC disconnected the Fiber Channel for c11
and connected it the to a new EMC box.

The server was booted up.

but when i checked my /etc/lvmtab, one of the C11s were left behind. Also on /etc/lvmconf/VG99.conf file C11T0D0 still exists. I get 'couldnt query' errors on vgchange, vgdisplay and vgscan... anybody...HELP!

Thanks in adv....
7 REPLIES 7
Thierry Poels_1
Honored Contributor

Re: LVM - couldnt query physical disk

hi,

vgreduce -f /dev/vg99 will remove missing disks from the volume group.

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Dave Bunting
Frequent Advisor

Re: LVM - couldnt query physical disk

would it erase entries in
/etc/lvmconf/VG99.conf (including LVMREC01)and /etc/lvmtab?
if so, then i guess all i have to do is reactivate the volume group...
please... I need more confirmation... Thanks!!!
Thierry Poels_1
Honored Contributor
Solution

Re: LVM - couldnt query physical disk


it should do the necessary.

/etc/lvmtab can be rebuilt however:
mv /etc/lvmtab /etc/lvmtab.backup
vgscan -a

regards,
Thierry
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Mary Ann Lipa
Valued Contributor

Re: LVM - couldnt query physical disk

Hi Dave
recently I experienced the same problem as yours. rename /etc/lvmtab and then do a vgscan. That should do the trick.

d_b
Which is worse, smoking or picking your nose in a public place?
Dave Bunting
Frequent Advisor

Re: LVM - couldnt query physical disk

Thanks guys, vgreduce still produce errors... any more ideas?
Mary Ann Lipa
Valued Contributor

Re: LVM - couldnt query physical disk

have you tried renaming your lvmtab and vgscanning?

d_b
Which is worse, smoking or picking your nose in a public place?
Dave Bunting
Frequent Advisor

Re: LVM - couldnt query physical disk

Thanks!!! that did the trick!