- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- LVM on Redhat Issue
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
Discussions
Discussions
Forums
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
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
тАО08-02-2005 12:30 AM
тАО08-02-2005 12:30 AM
LVM on Redhat Issue
i have just had a issue where we have presented some new storage to a server and the disk ids for a existing VG have changed.
i am now unable to activate the VG, and if I perform a VGSCAN to try and pick up the changed disk ids I get the message :-
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group "skuat1_san_vg" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
if I perform a strings on the disks I can see the LVM structure :-
[root@skuat1 root]# strings /dev/sdd1 | more
1xF0bx7eWvLrCwBld260IDNSffhHdn9Z
skuat1_san_vg
skuat11121425421
57TzP2YeZCSkiSzzSBsRxv0IckLTNOgD
1xF0bx7eWvLrCwBld260IDNSffhHdn9Z
GKoGbfD5ZH7jBaGXPaU2fJuJ1bYHqckd
4cUTYbhNf1hSmZGEVxwKrt02I0BCbXBi
6SdSl0KnAKUSrUl8K6z7vVE1ud5IHTQW
/dev/skuat1_san_vg/mhds1_lv
skuat1_san_vg
How can I force it to pick up the LVM information from the disks ?
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 12:36 AM
тАО08-02-2005 12:36 AM
Re: LVM on Redhat Issue
Try to move /etc/lvmtab to another file before doing vgscan.
Please post strings /etc/lvmtab before and after running vgscan
Enjoy :)
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 12:50 AM
тАО08-02-2005 12:50 AM
Re: LVM on Redhat Issue
[root@skuat1 etc]# vgscan -f
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "skuat1_loc_vg"
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group "skuat1_san_vg" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume groups
[root@skuat1 etc]# strings /etc/lvmtab
[root@skuat1 etc]# strings /etc/lvmtab.old
skuat1_loc_vg
[root@skuat1 etc]# strings /etc/lvmtab
skuat1_loc_vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 02:26 AM
тАО08-02-2005 02:26 AM
Re: LVM on Redhat Issue
I've seen it where eg a vg01 existed on server a and another vg01 on server b. When the LUNs from vg01 are subsequently published to server a vgscan only picks up the first vg01 it "sees". So perhaps your new luns have the same vg name on, but not all the required LUNs from that old vg are published to the new server therefore it can't find all required disks?
To start with I'd strings a dd from the "new" disks to see what they show.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 06:25 AM
тАО08-03-2005 06:25 AM
Re: LVM on Redhat Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 07:10 AM
тАО08-03-2005 07:10 AM
Re: LVM on Redhat Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 08:52 PM
тАО08-03-2005 08:52 PM
Re: LVM on Redhat Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2005 01:52 AM
тАО08-04-2005 01:52 AM
Re: LVM on Redhat Issue
What you can do is before adding the new storage export the VG (vgexport), after adding the storage, import the VG again (vgimport).