- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: need to repair lvmtab file on cluster
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
02-24-2004 09:40 PM
02-24-2004 09:40 PM
need to repair lvmtab file on cluster
I need information on how to repair the lvmtab file on cluster (I know we can use vgscan but I know also that sometimes there are risks).
In fact, the package VG entries are missing in lvmtab so I canâ t do the move of package from one node to another.
Your help is appreciated
Thanks a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 09:47 PM
02-24-2004 09:47 PM
Re: need to repair lvmtab file on cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 09:54 PM
02-24-2004 09:54 PM
Re: need to repair lvmtab file on cluster
You can use vgimport to import the vginfo on other servers that are a part of a cluster. Mind that you specify the correct devices, since they can differ on different nodes.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 10:08 PM
02-24-2004 10:08 PM
Re: need to repair lvmtab file on cluster
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=382227
Where Gideon explans how to do this.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 08:02 PM
02-25-2004 08:02 PM
Re: need to repair lvmtab file on cluster
afterwards You can use a vgimport, but this would mean deactivating the vg, so I'd rather move away /etc/lvmtab and run vgscan without the -p option.
OTOH, if this is the inactive node, vgimport -s -p is the way to go.
(-p is "preview" :)
Regards,
Florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 02:10 AM
02-26-2004 02:10 AM
Re: need to repair lvmtab file on cluster
Assumption: only Package VG entries are missing.
Is the package VG info available on the failover node (node 2)?.
If so,
Node 2:
Import the VG in node 2.
vgexport -pvs -m
rcp the map.file (or ftp) to Node 1
Node 1:
delete directories of the pkg VG in Node 1.
mkdir /dev/
mknod /dev/
(Replace the ?? w/ unique VG # - preferrably similar to one in Node 2).
vgimport -s -m
the lvmtab should have the correct entries.
Assuming non pkg VGs are also corrupt, you can try to gather VG disks but not in VG, by doing non-destructive vgimport -p (preview option) and go from there.
hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 03:24 AM
02-26-2004 03:24 AM
Re: need to repair lvmtab file on cluster
If the vg's don't exist in the lvmtab, then shutdown the package on the other node, and import the vg on this node. That will create the lvmtab entries. Of course, do a vgexport on the other node and copy the map file to the node on which the lvmtab entry is missing. Just assume that you forgot to do the vgimport on this node when you were doing the sg configuration.
Hope this helps.
Regds