LVM and VxVM

Couldnt Querry Volume "." in LVM

 
SOLVED
Go to solution
Jaison K. Jose
New Member

Couldnt Querry Volume "." in LVM

Hi,

I am getting the following error before the vg/lvdisplay output.

Couldn't querry volume ".". The specified path doesnt corresponding to pv attached to this volume group.

But the pvdisplay and vgdisplay outputs are satisfactory, all volumes and mirrors are ok.


the lvmtab is also proper only.

But vgcfgbackup command is failing with an error.

/etc/lvmtab is out of date with the running kernel. Kernel indicates 3 disks for /dev/vg02; /etc/lvmtab has 2 disks.

I have tried vgscan also.

Please get your valuable suggestions..

Jaison.

6 REPLIES 6
Sunil Sharma_1
Honored Contributor

Re: Couldnt Querry Volume "." in LVM

Hi,

did you tried to move lvmtab and running vgscan ?
try it if not.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Robert-Jan Goossens
Honored Contributor
Solution

Re: Couldnt Querry Volume "." in LVM

Hi Jaison,

Check this doc.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065011231

Document description: lvmtab is out of date with running kernel
Document id: KBRC00000632

Regards,
Robert-Jan
Cheryl Griffin
Honored Contributor

Re: Couldnt Querry Volume "." in LVM

How many disks are supposed to be in vg02?

The kernel knows of three disks, but /etc/lvmtab knows of only two disks.

If only two disks should be there, use vgexport -m to create a map, and vgimport, specifying the correct two disk names.

See the man page for correct syntax.
"Downtime is a Crime."
Prashant Zanwar_4
Respected Contributor

Re: Couldnt Querry Volume "." in LVM

I would do something like this:
Try going to /etc/lvmconf.

strings vg02.conf ( Just consider latest file, what is the date this is created). If this is latest, see what disks it mentions. If you see three disks.

pvdisplay -v , if it says they belong to vg02.

cp /etc/lvmtab /etc/lvmtab.`date +'%m%d%Y'`
vgscan -p -v >> /tmp/vgscan$$
study the above file, if you feel satisfied, do the vgscan.
then do vgcfgbackup -u /dev/vg02.

Hope the above helps in getting to resolution

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Tom Danzig
Honored Contributor

Re: Couldnt Querry Volume "." in LVM

vgreduce -f /dev/vg02
Jaison K. Jose
New Member

Re: Couldnt Querry Volume "." in LVM

Thank you friends,

The VG is supposed to have only two disks, which are mensioned in lvmtab. that means the current lvmtab is right. (this is a new one I have created by a new vgscan).

I have tried vgreduce -f also.

now the thing remaining is vgexport and vgimport. the HP Document id: KBRC00000632
also stating it as a right procedure. Once I get a downtime, I will try and update you all..

Thanks,

Jaison.