- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shrink VG00
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
06-09-2005 09:03 AM
06-09-2005 09:03 AM
Shrink VG00
Can some one tell me the process of shrinking the rootvg (vg00).
I currently have vg00 on 2 disks, and want to move it over to 1.
I have verified that the total used space of vg00 is less than the total capacity of the smaller disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 09:11 AM
06-09-2005 09:11 AM
Re: Shrink VG00
I am making the assumption that the 2 disks in use are NOT mirrored, in which case use Ignite.
Once you get an Ignite image, you can interact with the bootup process and do a new filesystem layout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 09:12 AM
06-09-2005 09:12 AM
Re: Shrink VG00
Check this pvmove document.
Document description: Moving data within a Volume Group
Document id: LVMKBRC00005086
Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065140700
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065140700
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 09:13 AM
06-09-2005 09:13 AM
Re: Shrink VG00
If you have another disk big enough to temporarily accomodate your volumes, it would be best to use that space while you are re-arranging the internal disks
Your final destination disk will be the one which currently hosts / and /stand as you can not move them short of re-installing or re-igniting your server. So, look at this disk and decide which other lvols have foothold on the same device. Create lvols as big as the original ones on another disk device.
Then go down to single user mode as you will be moving /usr and /var which are critical to multiuser operation of the system.
Copy data from internal root disks onto temporary lvols. Scratch your internal disk volumes other than / and /stand. Re-create them with new desired sizes. Copy your data from temporary storage into the original place.
Unfortunately, without knowing how your lvols have been laid out, there is no certain command sequence that one can suggest.
Another method is creating an BBT (bootable backup tape, a.k.a. Ignite image on tape) then booting of this media and re-arranging the lvol sizes and location once you get to the ignite install gui. By this method, you can resize your / and /stand if the need be.
Hope this helps.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 02:35 PM
06-09-2005 02:35 PM
Re: Shrink VG00
Using Ignite will be easiest way
If 2 disks in use are NOT mirrored, then Once you get an Ignite image, you can interact with the bootup process and do a new filesystem layout.
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 03:28 PM
06-09-2005 03:28 PM
Re: Shrink VG00
There is no need to ignite backup if your disk which you want to retain is the one currently having root,boot & Swap file systems. Just see from the output of "vgdisplay -v /dev/vg00" how many LE's are allocated to the disk you want to remove and which LV's own that from "lvdisplay -v /dev/vg00/lvol*".
Once done reduce the LV's extended to second disk to the first disk itself. And then reduce the VG from the second disk.
Normally any application related file systems are clreated to second disk and all other resides on first itself. Attach output of bdf & "lvdisplay -v /dev/vg00/lvol*" for more guidance if required.
HTH,
Devender
HTH,
Devender