- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recreating VG01
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
11-15-2004 06:19 AM
11-15-2004 06:19 AM
VG01 is mirrored on /dev/dsk/c1t0d0 and /dev/dsk/c2t2d0 respectively. To change the PE size from 4mb to 8mb (36GB) I plan on doing the following.
**Since this is a non-root volume is this the most expedient way of doing this? Also will I need to reduce the mirrors before initiating?
1.pvcreate /dev/rdsk/c1t0d0
2.vgextend /dev/vg01 /dev/rdisk/c1t0d0
3.lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c2t2d0
4.lvextend -m 1 /dev/vg01/lvol2 /dev/dsk/c2t2d0
5.lvextend -m 1 /dev/vg01/lvol3 /dev/dsk/c2t2d0
6.lvextend -m 1 /dev/vg01/lvol4 /dev/dsk/c2t2d0
7.lvextend -m 1 /dev/vg01/lvol5 /dev/dsk/c2t2d0
8.lvextend -m 1 /dev/vg01/lvol6 /dev/dsk/c2t2d0
9.lvextend -m 1 /dev/vg01/lvol7 /dev/dsk/c2t2d0
10.lvextend -m 1/dev/vg01/lvol8 /dev/dsk/c2t2d0
11.lvextend -m 1/dev/vg01/lvol9 /dev/dsk/c2t2d0
12.lvextend -m 1 /dev/vg01/lvol10 /dev/dsk/c2t2d0
Thanks,
Doug
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 06:21 AM
11-15-2004 06:21 AM
Re: Recreating VG01
The only time you get to specify the PE size is at vgcreate. You're going to have to back up the contents of VG01, vgexport it, pvcreate, vgcreate, lvcreate, lvextend, restore.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 06:26 AM
11-15-2004 06:26 AM
Re: Recreating VG01
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 06:50 AM
11-15-2004 06:50 AM
Re: Recreating VG01
The only way you can change the PE_size is by recreating the vg. So what you'll have to do is take a complete backup of all the filesystems in vg01 (take two to be on the safer side) and then recreate the vg and then restore the data after recreating the lvs.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 07:20 AM
11-15-2004 07:20 AM
Solution. Actual VG01 on /dev/dsk/c1t0d0, mirror copies on /dev/dsk/c2t2d0.
. reduce lv by breaking mirrors
. once lv are no longer on /dev/dsk/c2t2d0, it should be empty
. reduce vg by removing /dev/dsk/c2t2d0
. create a new vg with /dev/dsk/c2t2d0 (and the good PE), copy all lvs from vg01 to the new vg.
. remove vg01
. add /dev/dsk/c1t0d0 to new vg
. mirror
It won't be OK if you absolutely want to have this vg name as VG01...
I'm giving this solution not to use restore, cause I'm actually having a hard time with a bad backup and restore seems a bad word to me :/
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 07:28 AM
11-15-2004 07:28 AM
Re: Recreating VG01
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com