- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increasing size of VG and corresponding lvol by a ...
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
03-29-2002 06:32 AM
03-29-2002 06:32 AM
Is it possible to increase size of VG and corresponding lvol by a pre-determined %?
e.g. I'd like to increase size of /dev/vg00 and all corresponding lvol by 10%?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 06:37 AM
03-29-2002 06:37 AM
Re: increasing size of VG and corresponding lvol by a user specified %
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 06:40 AM
03-29-2002 06:40 AM
Re: increasing size of VG and corresponding lvol by a user specified %
Size of a VG?. It is dependent on the size of the disk that you are adding to it. If you have 4x4G disk in a VG, to increase it by 10%, you need to add a 2GB disk to it.
Once it is done, you can then increase the lvols by 10%. You need to write a script to do it for you and you need onlineJFS installed for vg00 (else get it to single user mode).
It is not automatic and also you need to understand the restrictions on /stand and swap filesystems.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 06:44 AM
03-29-2002 06:44 AM
Re: increasing size of VG and corresponding lvol by a user specified %
Unfortunatelly, I cannot use SAM, it should be done from the script!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 06:46 AM
03-29-2002 06:46 AM
Re: increasing size of VG and corresponding lvol by a user specified %
Literally speaking, no.
But, you can go into sam highlight the lvol you wish to increase see the size in MB it is and multiply by 1.1 on you rhandy dandy calculator.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 06:58 AM
03-29-2002 06:58 AM
Re: increasing size of VG and corresponding lvol by a user specified %
I apologize if I am in the minority in my thinking, but is doing something like this something you want to trust to a script?
Be that as it may, you are most likely aware that most of the filesystems within vg00 are not extendable unless in single-user mode (unless you have Online JFS) and some, like / from an ignite tape.
Just some thoughts
Good luck and God Speed!
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 07:06 AM
03-29-2002 07:06 AM
Solution# vgextend /dev/vg00 /dev/dsk/cXtXdX
Then after you've determined the new size of all the lvols in vg00, you can extend them while unmounted (or single user mode) if you don't have OnlineJFS. For example :
# lvextend -L
# extendfs -F vxfs /dev/vg00/rlvolX
Due to the contigous nature of /stand and swap, you cannot simply do an lvextend directly. If you want to increase those lvols it has to be done with a make_recovery tape which has backup of vg00, bootup from that tape then make changes to the lvols and perform recovery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 07:32 AM
03-29-2002 07:32 AM
Re: increasing size of VG and corresponding lvol by a user specified %
You can script this, but it's very very dangerous and really silly. Let's say the user, obiviously not root, extends the file system by say 10%, but accidently does it 7 times, their lvol was 10GB, it would all of a sudden be at over 19GB. It's like allowing an alligator tend to your chickens. ONLY System's Administrator's should perform SYSTEM ADMINISTRATOR tasks!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 07:58 AM
03-29-2002 07:58 AM
Re: increasing size of VG and corresponding lvol by a user specified %
You can not do this for vg00. Don't even attempt it. /, swap, and /stand must be contiguous filesystems. You can only increase those by rebuilding their logical volumes.
A VG is only increased by adding disks. You can't simply add 10%.
Darrell