- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problems with LVM
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:15 AM
10-16-2002 05:15 AM
lvdisplay: Warning: couldn't query physical volume "":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates
8 disks for "/dev/vgchsp2"; /etc/lvmtab has 7 disks.
Cannot proceed with backup.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:20 AM
10-16-2002 05:20 AM
Re: Problems with LVM
It looks like you might have lost a disk. Can you post the output from 'vgdisplay -v' and 'ioscan -fnC disk'? Also, are you seeing any errors in the /var/adm/syslog/syslog.log file?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:45 AM
10-16-2002 05:45 AM
Re: Problems with LVM
8 disks for "/dev/vgchsp2"; /etc/lvmtab has 7 disks.
Cannot proceed with backup.
Do a "strings /etc/lvmtab" to get a list and check your disks for failure. vgdisplay -v vgname should show any stale LV extents. They should all read:
LV Status available/syncd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:49 AM
10-16-2002 05:49 AM
Re: Problems with LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:51 AM
10-16-2002 05:51 AM
Re: Problems with LVM
To check if all physical volumes are available to the system try following "ioscan -fnC disk" output and checking disks with "pvdisplay". If you'll find physical volume telling you "can't query..." it should be the cause... If not, then you have probmels somewhere in HP-UX data structures/service files (like lvmtab)
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:56 AM
10-16-2002 05:56 AM
Re: Problems with LVM
strings /etc/lvmtab shows what I expect, two disks in vg00 and 6 disks in vg01 (vgchsp2), and the correct device files are listed for the the 8 disks.
There are no stale extents on any of the logical volumes.
A bit more background. The reason I came across this problem was a set up a backup script that ran last night via cron, to split the mirrors, backup the system, etc. I noticed this morning it had not remerged the mirrors. when I started to remerge them manully I started getting these errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 05:58 AM
10-16-2002 05:58 AM
Re: Problems with LVM
Your ioscan output doesn't look like you have lost a disk as they are all in a "CLAIMED" state. Can you post the output of 'vgdisplay -v vg00'? Also, can you post the output of 'strings /etc/lvmtab'?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:00 AM
10-16-2002 06:00 AM
Re: Problems with LVM
The problem is that the message you have is "Couldn't query physical volume "";". Usually it's more like "Couldn't query physical volume c1t2d0". That is what is strange...
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:03 AM
10-16-2002 06:03 AM
Re: Problems with LVM
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:04 AM
10-16-2002 06:04 AM
Re: Problems with LVM
PV=8 AV=6
Only 6 disks in the volume group are active.
I would like to do a
#vgreduce -f /dev/vgchsp2
which should remove the missing Physical volumes from the volume group.
check for the man pages of
vgreduce -f
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:04 AM
10-16-2002 06:04 AM
Re: Problems with LVM
I agree, this is all very strange, never come across this before, and have been working with HPUX and LVM for some time
There are errors generated when running lvm commands on vg00.
Hi Eugeny
No errors messages in syslog.log. First place I looked expecting to see a scsi disk acting up, powerfailing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:15 AM
10-16-2002 06:15 AM
Re: Problems with LVM
Thanks for all your help.
vgreduce -f
followed by a vgscan and a vgcfgbackup seem to have sorted things out.
Would like to know why it all went wrong in the first place, but will probably never know.
Thanks again.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:17 AM
10-16-2002 06:17 AM
Re: Problems with LVM
Perhaps we should have look to your script. But I would first try to correct cur pv againts act pv using vgreduce -f /dev/vgchsp2
regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:39 AM
10-16-2002 06:39 AM
Re: Problems with LVM
This can typically only happen if the VG was vgextend'ed somehow, since VGRA on disk contains records for a VG with 8 PVs.
Pls check the PVID/VGID that are stamped on each disk... I would like to see the result of:
for i in /dev/rdsk/c[12]*; do
xd -j8200 -N16 $i
done
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 06:44 AM
10-16-2002 06:44 AM
Re: Problems with LVM
Regards...
Dietmar.