GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- have 2 VG's with the same PV. The magically appear...
Operating System - HP-UX
1850321
Members
2667
Online
104054
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
12-07-2000 02:43 AM
12-07-2000 02:43 AM
Somehow, I have 2 VG's with the same PV. The magically appeared VG has no LV's. The new VG cannot be removed cause it is in use. The originaly vg is vglod. The new vg is vg01.
I send along the output from :
strings lvmtab
ll /dev/vg*
vgdisplay
I also find that there is a vg02 which I cannot find on my system.
I send along the output from :
strings lvmtab
ll /dev/vg*
vgdisplay
I also find that there is a vg02 which I cannot find on my system.
My systems are 100% Murphy Compliant. Guaranteed!!!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 03:16 AM
12-07-2000 03:16 AM
Re: have 2 VG's with the same PV. The magically appeared Vg has no LV's
Hi,
you could do a: vgscan -pv
to see any difference.
If the vgscan output matches what you expected you could rename /etc/lvmtab to ie. /etc/lvmtab.old and run vgscan -a to rebuild /etc/lvmtab
Regards
you could do a: vgscan -pv
to see any difference.
If the vgscan output matches what you expected you could rename /etc/lvmtab to ie. /etc/lvmtab.old and run vgscan -a to rebuild /etc/lvmtab
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 03:27 AM
12-07-2000 03:27 AM
Solution
Hi,
vg01 and vglod are in fact the same volume group. They have the same minor number and lvmtab contains the same pair of disk names.
vg01 just doesn't have the device files for the logical volumes.
To fix it, I would recommend the following:-
1. Remove the device files for vg01
rm -r /dev/vg01
2. Reconstruct /etc/lvmtab to remove the
entries for vg01 and vg02
mv /etc/lvmtab /etc/lvmtab.old
vgscan -a
All should then be well.
Regards,
John
vg01 and vglod are in fact the same volume group. They have the same minor number and lvmtab contains the same pair of disk names.
vg01 just doesn't have the device files for the logical volumes.
To fix it, I would recommend the following:-
1. Remove the device files for vg01
rm -r /dev/vg01
2. Reconstruct /etc/lvmtab to remove the
entries for vg01 and vg02
mv /etc/lvmtab /etc/lvmtab.old
vgscan -a
All should then be well.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 03:31 AM
12-07-2000 03:31 AM
Re: have 2 VG's with the same PV. The magically appeared Vg has no LV's
The reason why you can't remove it is because the VG's has the same minor number.
Did you manually create vg01??
What is the output of vgscan -pv, andreas suggested giving you?
Also check the /etc/lvmconf directory.
What does pvdisplay on the two disks display?
Did you manually create vg01??
What is the output of vgscan -pv, andreas suggested giving you?
Also check the /etc/lvmconf directory.
What does pvdisplay on the two disks display?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP