- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Ghost LVM
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
10-15-2002 12:12 AM
10-15-2002 12:12 AM
However, there are two VG existing in the /etc/lvmtab with no LV.
Any ideas how I realign the LV mount points to the VG in the /etc/lvmtab?
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 12:24 AM
10-15-2002 12:24 AM
Re: Ghost LVM
Do you mean that some lvols are currently mounted while they don't exist in the lvmtab ? If yes, you could try to recreate the lvmtab using vgscan. Are the special files still presents ?
If you can umount them, you could also try to export and reimport the VGs.
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 12:44 AM
10-15-2002 12:44 AM
Re: Ghost LVM
lvmtab doesnot contains any lv naes. It got only VG and PV informations.
If you feel that lvmtab is corrupted you can move the existing lvmtab and do a vgscan whcih will recreate lvmtab.
lv mount point are in /etc/fstab, not in /etc/lvmtab.
you can edit /etc/fstab file and add the entry for the new file systems.
-Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 12:49 AM
10-15-2002 12:49 AM
Re: Ghost LVM
Try the following steps:
1.- mv /etc/lvmtab /etc/lvmtab.orig
2.- vgscan -a -v
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 12:51 AM
10-15-2002 12:51 AM
Re: Ghost LVM
If they are not part of a group you can try running 'vgscan'
Save your existing /etc/lvmtab file first
# vgscan -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 01:27 AM
10-15-2002 01:27 AM
Re: Ghost LVM
Jean could you explain how the export and imports works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 01:34 AM
10-15-2002 01:34 AM
Re: Ghost LVM
When you export the vg, you delete lvmtab contents concerning this vg, but nothing is written to disks. When you reimport the vg specifyings disks, it reads the VGRA on the disks and finds out whichs lvols have to be created.
BUT ...
- if the vgscan has already been done it has already read the VGRA
- Rajesh was right, there is no lvol information in the lvmtab. The available lvols are defined in the vgra and by the existence of the special files (/dev/vgxx/[r]lvolyy)
Are these lvols really currently mounted ? Could you give us the output of bdf, ll /dev/vg* and strings /etc/lvmtab ?
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 01:42 AM
10-15-2002 01:42 AM
Re: Ghost LVM
To do so you need to run 'vgchange -a n /dev/myvolgrp'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 01:46 AM
10-15-2002 01:46 AM
Re: Ghost LVM
Here is the /etc/lvmtab, /etc/fstab and bdf output requested for the problem LVs.
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 02:16 AM
10-15-2002 02:16 AM
Re: Ghost LVM
What about a 'll /dev/vg70 /dev/vg32' ? In fact /etc/lvmtab is only used when activating, deactivating the vg or modifying the structures. After activation, LVM keeps a table in kernel. So you could have gone in this situation by using for example a vgscan while some disks where not present, or by restoring an old lvmtab. SO exporting these vg will fail and you will not be able to reactivate the vg after next reboot for example.
Did you see that current mount points are not those specified in the fstab ?
Please give us also a vgdisplay -v on both vgs.
Regards,
Jean-Louis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 02:37 AM
10-15-2002 02:37 AM
Re: Ghost LVM
I noticed the VG is not the same with the /etc/fstab. This is one of bizarreness.
Here is the ll /dev/vg** output for the VGs.
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 02:54 AM
10-15-2002 02:54 AM
SolutionI think that the problem is here ... Your lvmtab has really been recreated with vgscan.
When you run vgscan AND a vg is activated it takes the first 'group' file with the corresponding minor number. This is a known problem when using vgscan on a system running MCSG (if /dev/slvmvg exists, it create a '/dev/' entry in lvmtab instead of '/dev/vg00').
In your case, vgscan found minor 0x030000 for /dev/vg05/group before /dev/vg070/group. Same for vg32 and vg21. So I think that you just have to DELETE (DON'T rename) directories /dev/vg05 and /dev/vg21 (I suppose that they are not used), then use vgscan again.
Regards,
Jean-Louis.