- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/lvmtab is out of date
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
тАО08-24-2004 11:30 PM
тАО08-24-2004 11:30 PM
see 18 disk devices. 1 device should not
be there (used by another VG) and 2 are assigned to volume groups
and not to any lv's.
On the other hand, vgdisplay shows 15
disks. 1 of them is not in the the listing
in the above vgcfgrestore listing.
I looked at the tech article
on this problem and think I have a
different scenario here. The vgusr
group is part of a MC/SG cluster.
Any suggestions?
Thanks
Syl
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2004 11:41 PM
тАО08-24-2004 11:41 PM
Re: /etc/lvmtab is out of date
cd /etc
mv lvmtab old_lvmtab
vgscan -av
but I'm not sure what is done if it is part of an MC/SG cluster. Hopefully someone with a lot of experience in MC/SG can help!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2004 11:48 PM
тАО08-24-2004 11:48 PM
Re: /etc/lvmtab is out of date
In Addition to harry, if it is a part of the cluster ... halt the package running on /dev/vgusr.
This will deactivate the VG.
# vgchange -c n /dev/vgusr
Follow Harry method...
then
# vgchnage -c y /dev/vgusr
Start the package.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2004 01:52 AM
тАО08-25-2004 01:52 AM
Re: /etc/lvmtab is out of date
syl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2004 03:46 AM
тАО08-25-2004 03:46 AM
Re: /etc/lvmtab is out of date
Was there any "/etc/lvmtab out of sync with the kernel" error messages ?
In MC/SG, SAs usually create the VG in one node and export it to the other node. But in the other node, they dont usually execute the vgcfgbackup command. The volume group should be active for the vgcfgbackup to run. So the LVM configuration backup file in /etc/lvmconf is usually out of sync with the actual volume group configuration.
Now, if you rename /etc/lvmtab and try to build the new /etc/lvmtab then you would probably loose all the volume groups that are not currently active in the node.
I believe the problem here is with LVM CFG backup and not with /etc/lvmtab.
Here is what I would do
1) # vgcfgbackup /dev/vgusr
# vgcfgrestore -n /dev/vgusr -l
Now the vgdisplay and vgcfgrestore output should match.
Whenever you are exporting/importing the volume groups with in the cluster, it is a good practise to activate the volume in read-only mode, execute vgcfgbackup and deactivate the volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2004 03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2004 04:33 AM
тАО08-25-2004 04:33 AM
Re: /etc/lvmtab is out of date
Yes, while I was changing paths for devices for a va7400, I ran into the error message that the kernel and lvmtab were out of sync.
This was on the active node of the cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2004 07:03 AM
тАО08-25-2004 07:03 AM
Re: /etc/lvmtab is out of date
Probably, device files of some of the physical volumes that are part of the volume group has changed and thus you are getting the error message.
1) Halt the package using the VG
2) # vgexport -s -v -m /tmp/vgusr.map /dev/vgusr
# mkdir /dev/vgusr
# mknod /dev/vgusr/group c 64 0x??0000
# vgimport -s -v -m /tmp/vgusr.map /dev/vgusr
3) Start the package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2004 12:56 PM
тАО08-25-2004 12:56 PM
Re: /etc/lvmtab is out of date
Nope didnt work. Did the export/import.
Same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2004 06:46 PM
тАО08-25-2004 06:46 PM
Re: /etc/lvmtab is out of date
up to now we dont't know any hard facts about the problem you're seeing.
Please post the results of:
# strings /etc/lvmtab
# vgdisplay -v
# vgchnange -a y
# vgchnange -a e
I also attached a script, called cmpdisks. Please post the result of:
# ./cmpdisks
Best regards...
Dietmar.