- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vg recreation
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
тАО04-30-2011 01:59 AM
тАО04-30-2011 01:59 AM
OS version is 11.00 ans 11.11
vgmodify is not available ans only option is to recreate VG.
Please provide the steps to re-create VG
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2011 02:10 AM
тАО04-30-2011 02:10 AM
SolutionFor 11.11 there is an unsupported version of 'vgmodify', if you have a support contract with HP just open a support case with them to request it.
For 11.00 you will indeed need to recreate the VG, the steps would be:
1. back up all your data
2. 'lvremove' all logical volumes from the VG
3. 'vgexport' the volume group
4. 'vgcreate' a new volume group (using the correct options, e.g. '-s pe_size' and '-e max_pe', check the 'vgcreate' manpage for additional information)
5. 'lvcreate' your new logical volumes
6. 'newfs' to create filesystems on you logical volumes
7. restore all the backed up data
Hope that helps,
sangilak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2011 02:24 AM
тАО04-30-2011 02:24 AM
Re: vg recreation
The disks already contains data. Is there any option to get data without restore from backup.
what is the use of vgimport and vgcfgrestore.
will it help.
Kindly excuse and explain its use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2011 02:43 AM - last edited on тАО07-11-2011 10:43 AM by Kevin_Paul
тАО04-30-2011 02:43 AM - last edited on тАО07-11-2011 10:43 AM by Kevin_Paul
Re: vg recreation
Hi,
The 'max_pv' and 'max_pe' values are set when the VG is being created (in my previous message I made a little mistake, I wanted to mention '-p max_pv' and not '-s pe_size').
vgimport/vgexport and vgcfgbackup/vgcfgrestore will not be of any use for you as you want to change the 'max_pv' and 'max_pe'. This can only be done using 'vgmodify' under 11.23 and 11.31 (and unsupported under 11.11) or by recreating the VG.
For a good explanation on the differences between vgimport/vgexport/vgcfgbackup/vgcfgrestore and its different usages, see the thread below (it will explain why they cannot be used in your situation):
http://h30499.www3.hp.com/t5/System-Administration/what-is-the-difference-between-quot-vgcfgbackup-amp-vgcfgrestore/m-p/4389191#M349951
sangilak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2011 06:05 AM
тАО04-30-2011 06:05 AM
Re: vg recreation
But, you can create another vg with required PE & PV size; and can use rsync utility to sync the mount points online. Once all the mount points are synced; then have a downtime & re-sync with rsync again & swap the lv mount points. This will surely decrease downtime of data copying.
Thanks,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2011 08:13 AM
тАО05-01-2011 08:13 AM
Re: vg recreation
Not if you don't have extra, unused disks.
That's what the 'vgmodify' is for, if it will work, to modify the meta information while leaving the data intact.
Vivek's method assumes that you
. have unused disks (not just unused space on disks used in other VGs), which is unlikely,
or
. can get new LUNs from the storage admin, more likely.
Then you could do the conversion with just a single copy, as Vivek suggests.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2011 09:28 AM
тАО05-01-2011 09:28 AM