- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvmtab problems
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
04-06-2004 10:02 PM
04-06-2004 10:02 PM
I am trying to do some admin on VG00 but keep getting the message that it doesnt exist in the lvmtab. I tried remiving the lvmtab and running vgscan but the entry that gets put back in the lvmtab looks like this:
/dev/
/dev/dsk/c0t5d0
/dev/dsk/c0t15d0
I would have expected it to have stated /dev/vg00. This is stopping me do lvm commands against this VG? Why would this happen and how do I rectify it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:05 PM
04-06-2004 10:05 PM
Re: lvmtab problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:10 PM
04-06-2004 10:10 PM
Re: lvmtab problems
crw-r----- 1 root sys 64 0x000000 Apr 6 17:34 group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:15 PM
04-06-2004 10:15 PM
Re: lvmtab problems
# strings /etc/lvmtab
or something else?
What does vgdisplay -v /dev/vg00 say?
What LVM commands are you trying to do?
Does /dev/root appear in the bdf output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:19 PM
04-06-2004 10:19 PM
Re: lvmtab problems
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 86016 55890 28294 66% /
/dev/vg00/lvol1 47829 30798 12248 72% /stand
/dev/vg00/lvol8 614400 496812 111317 82% /var
/dev/vg00/lvol7 819200 541901 260014 68% /usr
/dev/vg00/lvol4 32768 6513 24672 21% /tmp
/dev/vg00/lvol6 438272 289637 139378 68% /opt
/dev/vg00/lvol5 20480 1109 18168 6% /home
If I try any lvm commands against VG00 I get the message that VG00 is not in the lvmtab.
Have tried, lvreduce, lvdisplay, vgdisplay and all return the same message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:30 PM
04-06-2004 10:30 PM
Re: lvmtab problems
Have you tried this :
rename the lvmtab file and run
#vgscan -v
and then you got this error ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:33 PM
04-06-2004 10:33 PM
Re: lvmtab problems
Admitidley I didnt use -v but thats only going to show me more output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:57 PM
04-06-2004 10:57 PM
Re: lvmtab problems
Could you check minor and major numbers of vg00 with this command.
# cd /dev
# find . -exec ll {} \; | grep 0x000000 | grep 64
crw-r----- 1 root sys 64 0x000000 May 18 2000 group
crw-r----- 1 root sys 64 0x000000 May 18 2000 ./vg00/group
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 11:02 PM
04-06-2004 11:02 PM
Re: lvmtab problems
i was thinking along the same lines and looking for a rogue group file in /dev. Couldnt find one. Anyway I have run the find command and recieved the following output:
crw-rw---- 1 root root 64 0x000000 Apr 13 1999 slvmvg
crw-rw---- 1 root root 64 0x000000 Apr 13 1999 ./slvmvg
crw-r----- 1 root sys 64 0x000000 Apr 6 17:34 group
crw-r----- 1 root sys 64 0x000000 Apr 6 17:34 ./vg00/group
This doesnt look right to me but i dont know why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 11:04 PM
04-06-2004 11:04 PM
Re: lvmtab problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 11:06 PM
04-06-2004 11:06 PM
Solutionhttp://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072837857
Document description: vg00 is missing in /etc/lvmtab
Document id: KBRC00012975
Check if you can open the above doc.
Robert-Jan
(if not drop a message)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 11:08 PM
04-06-2004 11:08 PM
Re: lvmtab problems
maybe you did vgexport ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 11:16 PM
04-06-2004 11:16 PM
Re: lvmtab problems
thanks for that, just the ticket. Makes sense as well after reading the note you posted.
i am giving it a go now. If I dont report back you can take it that it worked ok.
Cheers,
Scott.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 11:19 PM
04-06-2004 11:19 PM
Re: lvmtab problems
The problem is that you've got duplicate minor numbers on vg00 and slvmvg. They both have 0x000000 and the first two characters after the x are the minor number. You need to track down this slvmvg and change it's minor number, probably by exporting it with vgexport, creating a new group file with a correct minor number, and then re-importing it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 11:26 PM
04-06-2004 11:26 PM
Re: lvmtab problems
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=63637
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=36375
According to Robert-Jan's doc, it would seem that you can safely get rid of it and it will be re-created properly later on.
Pete
Pete