- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Encrease vg size
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
тАО09-11-2005 08:37 PM
тАО09-11-2005 08:37 PM
Disk was presented from EVA 5000. Then I decided to encrease Vdisk size, on Eva 5000, to 150 Gb.
I do umount to all filesystems on vg.
What should I do with vg so I can see size 150 Gb (in Total PE size) in the vgdisplay output?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2005 08:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2005 08:47 PM
тАО09-11-2005 08:47 PM
Re: Encrease vg size
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 12:32 AM
тАО09-12-2005 12:32 AM
Re: Encrease vg size
I'm not sure you'll need to restore your data; however, you definitely won't see the extra storage.
If you had to reformat the lun in order to extend it, then your data is toast. Otherwise, it should still be there.
The problem with your approach is the same problem that exists if you try to add a disk that's significantly larger than the one used to create the volume group.
When creating vgs, the system figures out how many physical extents are needed to use the entire drive and sets that as the maximum PE per PV. That's one of the few parameters that you can't change after the VG has been created.
So, in order to see the entire 150 gigs of LUN, you'll need to:
1. Back up all your data
2. Unmount everything.
3. vgremove ${vg} to eliminate the vg.
4. Recreate the vg
5. Recreate the LVs
6. Restore your data.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 01:16 AM
тАО09-12-2005 01:16 AM
Re: Encrease vg size
Believe me i did it many times before...
Hp does not recommend such kind of increasing
:-(
so everytime you have to;
1- backup your data
2- only umount FS which refers VG that you want to increase
3-delete LUN from EVA which refers VG that you want to increase
4-spmgr delete Cxtydz (which refers your old LUN)
5-creat new LUN(150Gb) and present to your Host
5-VG create
6-FS create
7-mount it
8-restore your data
That's the steps...
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 01:19 AM
тАО09-12-2005 01:19 AM
Re: Encrease vg size
Tip: when you build a volume group use the -p physical volumes parameter. Set it higher than you will ever need and then available PE's will be concentrated, allowing for greater capacity on fewer drives.
The default PE distribution, for lack of a better term is over 255 disks. How many people actually have that many disks in a volume group?
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
тАО09-12-2005 04:32 AM
тАО09-12-2005 04:32 AM
Re: Encrease vg size
As posted above by others it is not possible to extend the size of a disk occupied by a volume group. However adding another disk of same or less capacity then existing disk/LUN capacity will be supported by default.
If you intend to add a higher capacity disk to a VG then the one which is the biggest one of those on which VG was initially created, you should check two parameters in your existing VG. First is MAX_PE_PER_PV and second is PE_Size. If these two were not set properly while creating VG, will be set to adjust to maximum size of the physical volume while creating the VG. Therefore not allowing to allow addressing full space in the higher capacity disks added later.
For ex. if you created VG on a 100GB LUN and used PE Size of 8MB, the MAX_PE_PER_PV for that VG will be set to approx. 12800. In future if you add a LUN of 150GB to that VG, your VG can only use 100GB of that space.
To avoid such scenario you should define either PE_Size to 16MB with and MAX_PE_PER_PV to approximate same value. Or should define MAX_PE_PER_PV to a higher value.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 02:37 PM
тАО09-12-2005 02:37 PM
Re: Encrease vg size
SOL1:
Backup all data on vg that (100GB belong to
Delete all lv on that vg and pv
Create LUN 150GB and add to that vg
lv create and restore date
SOL2:
create one more LUN (size 50GB)
Extend it to that vg
lvextend and fsextend if need.
That's all
YOU CAN NOT extend LUN for HPUX
HTH
PS: pls assign point for us