- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/lvmtab out of date with running kernel
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
09-13-2007 12:59 AM
09-13-2007 12:59 AM
We have an issue on one of our servers. We are getting the error message below whenever we attempt any volume group config:-
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 16 disks for "/dev/vg01"; /etc/lvmtab has 32 disks.
Cannot proceed with backup.
I think I know why this happened the server was re-booted however one path to the disks was not in place. The /etc/lvmtab still reference those disk paths (quite rightly). I assume a re-boot may fix this but do I have any other option? A vgscan is not really going to help as far as I can see.
Cheers
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 01:02 AM
09-13-2007 01:02 AM
Re: /etc/lvmtab out of date with running kernel
mv /etc/lvmtab /tmp
vgscan -a
vgcfgbackup vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 01:03 AM
09-13-2007 01:03 AM
Re: /etc/lvmtab out of date with running kernel
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 01:08 AM
09-13-2007 01:08 AM
Re: /etc/lvmtab out of date with running kernel
I totally agree and this is what I expected to see however this is not the case. This is because the path to those disks is now in place. The scan picks up on them!!
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 02:00 AM
09-13-2007 02:00 AM
Re: /etc/lvmtab out of date with running kernel
Another option is to blow out your vg and rebuild it with vgimport, but using the -f
[Not uncommon to use this option if you do BCV mirrors for remounting disks elsewhere]
Option one - whole box down
Option two - vg down
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 02:35 AM
09-13-2007 02:35 AM
Re: /etc/lvmtab out of date with running kernel
Hi,
If your storage is from a SAN disk array, just connect the path that was taken out, and do ioscan. this should be able to detect the old path and still re-use the old device files (If still the same switch port/fabric/domain are used)
Regards,
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 02:40 AM
09-13-2007 02:40 AM
Solution# vgchange -a y vg??
Above cmd when issued on an already active VG will restore PV links that went missing but have been restored since. See excerpt from vgchange manpage.
"...If the -a y or -a e option is executed on a currently active volume group, without the -x option, vgchange attempts to include any physical volumes that were previously listed as missing. This is useful if a physical volume has come back online."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 02:48 AM
09-13-2007 02:48 AM