- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG Recreation & Backing Up data
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
05-31-2007 09:03 PM
05-31-2007 09:03 PM
Hi All,
I have an FS, which is using a single LV and spanned across 5 PV's, with 4 MB PE size. Since it touched the PE number limit, I can't extend the FS. I am going to recreate the VG with a larger PE size.
Following are the activities, I am going to do
1) Backup the FS to another FS / tape. This is where I got stuck up. Last time, when I did simillar activity, I used 'cp -Rp *' and copied the entire FS to another FS. This took almost 7 ~ 8 hours, as the data is around
250 GB. Is there a way to optimize the this time ?
I have other tools like, 'dd', 'cpio', 'fbackup' and DP / NB, in mind.
Can 'dd' be used to backup the FS, when it spans across 5 PV's. What about LVM headers ? How can I skip them, while using 'dd' ?
Can 'tar' be used to backup data as huge as 250 GB?
2) vgexport < vg_name>
3) pvcreate -f < All 5 PV's>
4) vgcreate -s
5) lvcreate & newfs
6) Restote the data
Did I miss out anything ? Any scope for optimization?
Many Thanks
Doug
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 09:12 PM
05-31-2007 09:12 PM
Solutionfor hp-ux 11.31 and 11.23 you can use vgmodify to expand the max_pe value to the max. vgmodify for 11.23 comes per patch (PHCO_35524 + dependencies)
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
05-31-2007 09:22 PM
05-31-2007 09:22 PM
Re: VG Recreation & Backing Up data
Hi Torsten,
Many thanks for that.The last time, I checked about that with HP, they told me that it is an unsupported tool. I didn't want to take chance then. Is it an HP supported tool now ?
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 09:30 PM
05-31-2007 09:30 PM
Re: VG Recreation & Backing Up data
http://www8.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_35524
"...
- a new command, vgmodify, to handle the physical
volume size changes and modify configuration
parameters of an existing LVM volume group"
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
05-31-2007 09:38 PM
05-31-2007 09:38 PM
Re: VG Recreation & Backing Up data
Hi,
Thank you very much. I am using 11.11, so have to stick to that cumbersome procedure.
Any suggestions on that ?
Thanks
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 10:01 PM
05-31-2007 10:01 PM
Re: VG Recreation & Backing Up data
Hi Again,
Going through the man page for 'vgmodify', I notice that it can not be used to change the PE size. In that case there is no option, but to recreate the VG, irrespctive of the OS version.
Regards
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 10:26 PM
05-31-2007 10:26 PM
Re: VG Recreation & Backing Up data
Regarding "dd", you can perform this on the LVOL level, instead of the disk level. No idea about the performance.
fbackup would be a good way to go.
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
05-31-2007 10:59 PM
05-31-2007 10:59 PM
Re: VG Recreation & Backing Up data
Hi,
I have already reached the PE number limit of 65536. So the only option for me is to change the PE size and I don't think it is possible with 'vgmodify' on any version
HP-UX.
Thanks for LV option for 'dd'. I will try it out.
Regards
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 09:26 PM
06-03-2007 09:26 PM
Re: VG Recreation & Backing Up data
Hi,
Many thnaks for your help. Closing the thread.
Cheers
Doug