- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to recreate /etc/lvmpvg file
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
06-16-2006 03:19 AM
06-16-2006 03:19 AM
Hi all ,
We have migrated our storage from dmx to dmx3 .after that the disk path has changed .so we are not able to access PVG .
how do i go ahead and recreate the /etc/lvmpvg file with the new disk details ..
thanks
Ajeesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 03:34 AM
06-16-2006 03:34 AM
Re: how to recreate /etc/lvmpvg file
/etc/lvmpvg is an ascii file.
You can edit it manually changing the current device files with the new device files. After that you can see it by vgdisplay -v
All details in man lvmpvg.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 03:42 AM
06-16-2006 03:42 AM
Re: how to recreate /etc/lvmpvg file
VG vg_name
PVG pvg_name
pv_path
...
PVG pvg_name
pv_path
...
VG vg_name
PVG pvg_name
pv_path
...
heavy network problems on itrc today :-(
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 06:16 AM
06-16-2006 06:16 AM
Re: how to recreate /etc/lvmpvg file
We have around 100+ vg's configured .it is difficult to edit lvmpvg manually .I am looking for some kind of script to enable my work easy .
Thanks
Ajeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 06:26 AM
06-16-2006 06:26 AM
Re: how to recreate /etc/lvmpvg file
Do you use LVM mirroring?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 07:57 AM
06-16-2006 07:57 AM
SolutionYou can easily query your server to collect the current 'lvmpvg' information into a file that you can further edit. Do something like:
# VGS=`vgdisplay -v|grep "LV Name"|awk -F"/" '{print $3}'|sort -u`
# for VG in ${VGS} do
> vgdisplay -v ${VG}|sed -ne '/Physical volume groups/,$p' >> /tmp/lvmpvg
> done
You will need to edit the resulting '/tmp/lvmpvg' fiels, but it will provide the basis of what you need.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2006 02:01 AM
06-17-2006 02:01 AM
Re: how to recreate /etc/lvmpvg file
I am closing this thread