- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvm problem
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-05-2002 03:49 AM
04-05-2002 03:49 AM
lvm problem
system disk in vg00. mount confirms this.
However, vg00 is not in /etc/lvmtab! And
lvcommands fails with vg00 not in lvmtab.
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 03:57 AM
04-05-2002 03:57 AM
Re: lvm problem
/etc/lvmtab corrupted??
->
mv /etc/lvmtab /etc/lvmtab.old
(file MUST be removed or renamed)
vgscan -a
check with "strings /etc/lvmtab" if all required VG's are detected. If not put /etc/lvmtab.old back in place.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 03:58 AM
04-05-2002 03:58 AM
Re: lvm problem
You can do a vgscan -p -v to preview what vgscan would do to the lvmtab file if this command was run.
If this looks OK to you You can run vgscan -v to recreate lvmtab.
Move the old one away before doing this.
In case of mirrored disk or alternate links be carefull to run this.
Primary and alternate may possibble switch around.
Regards,
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 04:00 AM
04-05-2002 04:00 AM
Re: lvm problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 04:02 AM
04-05-2002 04:02 AM
Re: lvm problem
Booting is not dependent on the lvmtab file.
Mounting filesystems is done from /etc/fstab.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 04:32 AM
04-05-2002 04:32 AM
Re: lvm problem
As it seems lvmtab is OK (apart from missing vg00) my guess isit was removed and then some more vg's added.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 06:46 AM
04-05-2002 06:46 AM
Re: lvm problem
This would also indicate that /etc/lvmtab became corrupt after you booted.
- Because a volume group does have to be activated inorder to mount logical volumes in that volume group.
- Look in your syslog.log file and look around the last boot time. I wouldn't think you would have any errors around vg00 until afterwards.
/etc/dmesg will also show errors activating a volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 06:52 AM
04-05-2002 06:52 AM
Re: lvm problem
I think this problem is related to service guard environment.
Please look at the thread below and it will help you in resolving your problem.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe0e65f260cafd4118fef0090279cd0f9,00.html
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 07:20 AM
04-05-2002 07:20 AM
Re: lvm problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 04:33 AM
04-08-2002 04:33 AM
Re: lvm problem
I've seen two systems where someone has copied the /etc/lvmtab file from one machine to the other (SG pair). It will work, for a while. Anyway to check the VGID on a disk use
dd if= bs=1024 skip=8 count=9 | dd bs=8 skip=2 count=1 | od -x | head -1
==> 0000000 77e4 2b30 3905 58f0
VGID=77e4 2b30 3905 58f0
to see the same info in the /etc/lvmtab is slightly more difficult as it is hidden. The VGID is only listed on the first disk in the VG so if you do a more on /etc/lvmtab you get something like
^CM-h^B/dev/vg00
wM-d+09^EXM-p^A/dev/dsk/c1t6d0
/dev/vgswap
wM-d+09M-HM-E+^D/dev/dsk/c0t2d0
/dev/dsk/c0t3d0
/dev/dsk/c0t4d0
/dev/dsk/c0t5d0
Again use od -x /etc/lvmtab and look for the VGID you found on the disk. (remember to ignore the first column
od -x /etc/lvmtab
0000000 03e8 0000 0000 0002 0000 0000 2f64 6576
0000020 2f76 6730 3000 0000 0000 0000 0000 0000
0000040 0000 0000 0000 0000 0000 0000 0000 0000
*
0002000 0000 0000 0000 0000 0000 0000 77e4 2b30
0002020 3905 58f0 0000 0000 0000 0000 0001 0000
0002040 0000 0000 0000 0000 0000 2f64 6576 2f64
0002060 736b 2f63 3174 3664 3000 0000 0000 0000
0002100 0000 0000 0000 0000 0000 0000 0000 0000
*
0004040 0000 0000 0000 0000 0000 0000 0000 2f64
.
.
.
You can see the VGID in the 1st & 2nd line of the second set of text here (which is listing the disk)
I do not know of any tools that will figure this out for you
Regards
Tim