- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- kernal config does not match lvm config
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
11-19-2004 08:04 AM
11-19-2004 08:04 AM
kernal config does not match lvm config
Kernal indicates 3 disks for vg00 and Lvmtab has 2 disks" so cfg backup is not being done.
I have renamed lvmtab, ran vgchange and this doesn't help. If anyone has any ideas I would appreciate them!
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2004 08:26 AM
11-19-2004 08:26 AM
Re: kernal config does not match lvm config
mv /etc/lvmtab /etc/lvmtab.old
vgscan -av
Man vgscan for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2004 08:03 PM
11-19-2004 08:03 PM
Re: kernal config does not match lvm config
But when I used vgscan -v I did not use the "a "option. The disks are single path in jamaica hass units.
It appears lvmtab is correct - there are only 2 disks, 1 is the alternate boot.
any command being run, which would normally result in the vgcfgbackup automatically running, results in this error message.
Vgscan works but says there is a fault with vg00.
I apologise for my inaccurate posting.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2004 04:31 PM
11-20-2004 04:31 PM
Re: kernal config does not match lvm config
I too suspect that the 'vgcfgrestore' process was not quite followed. Reduce the mirrors on the new disk and remove it from the VG configuration. Then restore the old (good but with failed disk) lvmtab and follow 'vgcfgrestore' process carefully.
Another way is to run 'lvdisplay -k -v' on all the LVs and find out the PV Key corresponding to eh PV that has the LEs in "???" state. Use 'lvreduce -k -v' command to reduce the mirrors on the missing PV (can take a long time for each lv command) and then use 'vgreduce -f vg00' to get rid of the missing disk.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2004 05:09 PM
11-20-2004 05:09 PM
Re: kernal config does not match lvm config
If for some reason that does not work, you may need to do vgreduce -f to get the problem disk out of the volume group so you can put it back.
Before going further, though is there make_tape_recovery tape handy? None of this stuff is risk free.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2004 07:09 PM
11-25-2004 07:09 PM
Re: kernal config does not match lvm config
try to query the following command:
#vgreduce -f vg00
This will forcibly reduce all missing disks. I had the same error some days ago and this command helped.
Regards,
Matthias Gottschalk