- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Change PV UUID on RedHat LVM2
Operating System - Linux
1821639
Members
3325
Online
109633
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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-05-2006 04:56 AM
тАО12-05-2006 04:56 AM
Change PV UUID on RedHat LVM2
Hello,
I have one lvol on my Linux box. I create a snapshot of that lvol and map it to my Linux box. Now I see a second disk with the same info as my original disk. How can I mount this second disk to recover any file that I delete from my orignial disk. The snapshot was taken before any deletion. When I try to mount my snapshot lvol, it complains about not knowing filesystem type. When I add my second disk to my VG, it says it has the same PV UUID as my original. How can I mount my second disk in LVM. Output below. /dev/sdg5 is my original, sdh5 is my snapshot volume.
Thanks,
trnsrv1:/root# vgextend vgoracle /dev/sdh5
Found duplicate PV jiJsPUxyNN96eKPLs9eCc3tTf1qhkfdq: using /dev/sdh5 not /dev/sdg5
Physical volume '/dev/sdh5' is already in volume group 'vgoracle'
Unable to add physical volume '/dev/sdh5' to volume group 'vgoracle'.
===============================
trnsrv1:/root# pvchange -u /dev/sdh5
Found duplicate PV jiJsPUxyNN96eKPLs9eCc3tTf1qhkfdq: using /dev/sdg5 not /dev/sdh5
Found duplicate PV jiJsPUxyNN96eKPLs9eCc3tTf1qhkfdq: using /dev/sdh5 not /dev/sdg5
Volume group containing /dev/sdh5 has active logical volumes
0 physical volumes changed / 1 physical volume not changed
I have one lvol on my Linux box. I create a snapshot of that lvol and map it to my Linux box. Now I see a second disk with the same info as my original disk. How can I mount this second disk to recover any file that I delete from my orignial disk. The snapshot was taken before any deletion. When I try to mount my snapshot lvol, it complains about not knowing filesystem type. When I add my second disk to my VG, it says it has the same PV UUID as my original. How can I mount my second disk in LVM. Output below. /dev/sdg5 is my original, sdh5 is my snapshot volume.
Thanks,
trnsrv1:/root# vgextend vgoracle /dev/sdh5
Found duplicate PV jiJsPUxyNN96eKPLs9eCc3tTf1qhkfdq: using /dev/sdh5 not /dev/sdg5
Physical volume '/dev/sdh5' is already in volume group 'vgoracle'
Unable to add physical volume '/dev/sdh5' to volume group 'vgoracle'.
===============================
trnsrv1:/root# pvchange -u /dev/sdh5
Found duplicate PV jiJsPUxyNN96eKPLs9eCc3tTf1qhkfdq: using /dev/sdg5 not /dev/sdh5
Found duplicate PV jiJsPUxyNN96eKPLs9eCc3tTf1qhkfdq: using /dev/sdh5 not /dev/sdg5
Volume group containing /dev/sdh5 has active logical volumes
0 physical volumes changed / 1 physical volume not changed
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 05:10 AM
тАО12-05-2006 05:10 AM
Re: Change PV UUID on RedHat LVM2
It will be more easy if you present the clone to another host and import the vg there. There are no easy solution today for this problem (FAIK).
The only one who knows that did something like this is this guy:
http://archives.free.net.ph/message/20061012.134242.7bcdd3ac.en.html
The only one who knows that did something like this is this guy:
http://archives.free.net.ph/message/20061012.134242.7bcdd3ac.en.html
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 05:12 AM
тАО12-05-2006 05:12 AM
Re: Change PV UUID on RedHat LVM2
Take a look at this thread - http://groups.archivesat.com/LVM_general_discussion_and_development/thread232701.htm
regards,
ivan
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 05:17 AM
тАО12-05-2006 05:17 AM
Re: Change PV UUID on RedHat LVM2
Thanks. The link you sent is unavailable.
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP