- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgdisplay:/etc/lvmtab: No such file or directo...
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
01-04-2004 06:49 PM
01-04-2004 06:49 PM
vgdisplay:/etc/lvmtab: No such file or directory
Actually I was preparing for the HP-UX certification .... and I cam e across the following case
vgdisplay:/etc/lvmtab: No such file or directory
vgdisplay:No volume group could be read from /etc/lvmtab
Now what would cause such a problem to occur?
I was thinking it would be due to a corrupt or missing /etc/lvmtab. However, it is suggested that this occurs due to the system not having VxFS. The error comes because no vxfs means no volume groups.
I would really appreciate if someone could clarify this concept. Doesn't a system with only HFS also have volume groups and /etc/lvmtab ... what did the author intend?
thanks and regards,
-Alvi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 06:57 PM
01-04-2004 06:57 PM
Re: vgdisplay:/etc/lvmtab: No such file or directory
even with HFS you have to have a lvmtab, maybe he is talking about a complete Veritas volume manager instead of LVM.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 07:01 PM
01-04-2004 07:01 PM
Re: vgdisplay:/etc/lvmtab: No such file or directory
So the real reason behind this error message is that the /etc/lvmtab is either corrupt or missing, right?
and I would restore sanity by executing vgchange -a?
Regards,
-Alvi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 07:02 PM
01-04-2004 07:02 PM
Re: vgdisplay:/etc/lvmtab: No such file or directory
depends from the supposed corruption.
Usually you have to recreate the lvmtab with the command vgscan, and after that re-activate the single vg to sync the data on the lvmtab with the data in the kernel structures.
Massimo
+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 07:03 PM
01-04-2004 07:03 PM
Re: vgdisplay:/etc/lvmtab: No such file or directory
This message directing towards missing or corrupt /etc/lvmtab.
If VxVm is fully implimented then you may be right. in general root disk i always keep under lVM contrl.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 07:20 PM
01-04-2004 07:20 PM
Re: vgdisplay:/etc/lvmtab: No such file or directory
run a 'vgscan'. This will recreate the /etc/lvmtab file with the correct info.
# ll /etc/lvmtab
-r-------- 1 root sys 4176 Dec 12 07:43 /etc/lvmtab
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 07:24 PM
01-04-2004 07:24 PM
Re: vgdisplay:/etc/lvmtab: No such file or directory
Hard to give you an answer, most of the times the lvmtab gets corrupted because of disk problems or misused lvm commands(replace a disk without letting LVM know)
You will get all kind of errors when you use vgdisplay or lvdisplay commands.
The normal procedure for recreating the lvmtab is below.
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -av
# vgchange -a y /dev/vgXX
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 07:38 PM
01-04-2004 07:38 PM
Re: vgdisplay:/etc/lvmtab: No such file or directory
# ll /etc/lvmtab
-rw------- 1 root sys 4176 Dec 12 07:43 /etc/lvmtab
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 08:00 PM
01-04-2004 08:00 PM
Re: vgdisplay:/etc/lvmtab: No such file or directory
If / and /stand are not LVM lvols, but vxvm, you should not use the LVM commands but Veritas Volume Management commands to look at you logical volumes. Or use the GUI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 05:37 AM
01-05-2004 05:37 AM
Re: vgdisplay:/etc/lvmtab: No such file or directory
You cannot do vgdisplay on /etc/lvmtab, because lvmtab is not a Volume group.
you do strings -v /etc/lvmtab to see the
content of the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:13 AM
01-05-2004 07:13 AM
Re: vgdisplay:/etc/lvmtab: No such file or directory
Looking at some internal databases, I see a few hits that basically say to rebuild /etc/lvmtab.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 07:37 AM
01-05-2004 07:37 AM
Re: vgdisplay:/etc/lvmtab: No such file or directory
LVM checks for the /etc/lvmtab file which has the volume group and physical disk inof where as veritas doesnt use this structe for the diskgroup management.
Manoj Srivastava