- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/lvmtab and kernel do not agree
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
Discussions
Discussions
Forums
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
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
тАО06-06-2000 07:26 AM
тАО06-06-2000 07:26 AM
/etc/lvmtab and kernel do not agree
This is one I have not seen before.
Got a K420 with 10.20 HP-UX. In the /etc/lvmtab it shows 4 disks being used. In SAM it shows 6 disks being used. Try to do vgcfgbackup and I get the following message:
/etc/lvmtab is out of date with the running kernel; kernel indicates 6 disks for /dev/vg30; /etc/lvmtab has 4 disks
Not a major problem, haven't seen any issues because of it - yet. It does prevent the addition of addition logical volumes.
What could be the matter and how to fix?
Many thanks!
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2000 07:29 AM
тАО06-06-2000 07:29 AM
Re: /etc/lvmtab and kernel do not agree
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2000 11:40 AM
тАО06-06-2000 11:40 AM
Re: /etc/lvmtab and kernel do not agree
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -v
After doing the above step's to verify the lvmconf file and lvmtab file contains same info.
strings /etc/lvmtab
vgcfgrestore -n /dev/vg30 -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2000 12:03 PM
тАО06-06-2000 12:03 PM
Re: /etc/lvmtab and kernel do not agree
/etc/lvmtab out of date with the running kernel; kernel indicates 6 disks for /dev/vg30; /etc/lvmtab has 4
The vgscan only sees 4 disks. Doing the list of vgcfgrestore shows 4 disks as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2000 12:12 PM
тАО06-06-2000 12:12 PM
Re: /etc/lvmtab and kernel do not agree
With no users on the system, try:
vgchange -a n vg01
vgchange -a y vg01
strings /etc/lvmtab
vgdisplay -v
They should now match.
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2000 12:56 AM
тАО06-07-2000 12:56 AM
Re: /etc/lvmtab and kernel do not agree
Looks like we can't go the easy way?
If lvmtab and kernel disagree there is one important question: who is right? Do you how many disks are really part of the VG?
What does vgdisplay display for Cur PV and Act PV?
Use: vgcfgrestore -n /dev/VG_NAME -l to see the list of physical volumes contained within the last good backup.
Maybe the answer on this question get us closer to the cause of your problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2000 06:05 AM
тАО06-07-2000 06:05 AM
Re: /etc/lvmtab and kernel do not agree
The vg.conf indicates the right number and the right devices.
strings /etc/lvmtab indicate the right number of disks with the correct devices.
vgcfgrestore -n /dev/vg30 -l indicates the right number of disks and the correct devices.
vgdisplay -v /dev/vg30 shows CUR PV = 6 with ACT PV = 4
There were 6. This was before my time at this job. Apparently, somebody just physically removed them with exporting or anything else. This is where I believe the original problem started.
I have checked out the /dev/vg30 directory and am able to match up all the lvols to the correct devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2000 06:14 AM
тАО06-07-2000 06:14 AM
Re: /etc/lvmtab and kernel do not agree
# vgreduce -f /dev/vg00
The manual page for vgreduce has a good explanation what it does to your VG...
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2000 06:20 AM
тАО06-07-2000 06:20 AM
Re: /etc/lvmtab and kernel do not agree
# vgreduce -f /dev/vg_name
The manual page for vgreduce has a good explanation what it does to your VG...
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2000 06:24 AM
тАО06-07-2000 06:24 AM
Re: /etc/lvmtab and kernel do not agree
Jim