- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change vg's param
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
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
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
тАО10-14-2006 11:08 PM
тАО10-14-2006 11:08 PM
Change vg's param
Is there any way to change a vg's parameter (PE size) on the fly ?
If there isn't what is the best way copy a vg after creating a new vg with the needed parameter.
Thanks....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2006 11:49 PM
тАО10-14-2006 11:49 PM
Re: Change vg's param
No way to change it.
the volume group must be exported (vgexport) and then re-created with vgcreate.
I suggest instead of PE size you use the -p physical volumes paramter. This defaults to 255 and if you set it to 10 you can get around storage limitations which you obviously face.
Either way vgcreate is required.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2006 02:57 AM
тАО10-15-2006 02:57 AM
Re: Change vg's param
I need the data on my vg, but I cant increase the lvol size over 262 giga, so I need a bigger PE size.
The only way that seems posible is to create a new vg and copy the data. My quastion is, what is the best way to do it ?
Or maybe there is a way to import a vg on a new vg with the needed params ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2006 03:04 AM
тАО10-15-2006 03:04 AM
Re: Change vg's param
vgexport will get rid of the existing vg structure without damaging the data.
The BEST way to do it is as follows:
vgchange (deactivate the vg)
vxexport (to remove old vg structure)
vcreate (the new volume group as I stated)
vgimport (to get the data back)
I think a backup prior to start is a good idea.
My method is not the only way but I've done it a few times and its worked for me. This problem caused persistant issues for me a few years back when data growth went out of control due to Oracle requirements.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2006 03:26 AM
тАО10-15-2006 03:26 AM
Re: Change vg's param
What you'll have to do:
1) Backup your data
2) Remove old VG
3) Create new VG with new VG parameters
4) Create your LVs and mount them
5) Restore data
If you have sufficient disk space, create a new VG and LVs with some temporary mount points and copy your data. Then unmount the LVs from both VGs and mount the LVs from the NEW VG in there permanent spots.