- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Refresh VG with new vdisk size in EVA Command ...
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
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
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
тАО01-13-2011 02:47 AM
тАО01-13-2011 02:47 AM
We have a HP-UX.11.23.and not sure if this could be done with this version.
I have to create a new LV with 100Gb of size and check in the Volume group there isn't enough space available.
root:server:/ # vgdisplay vgQB6_01
--- Volume groups ---
VG Name /dev/vgQB6_01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 128
Cur PV 5
Act PV 5
Max PE per PV 11679
VGDA 10
PE Size (Mbytes) 32
Total PE 58390
Alloc PE 56152
Free PE 2238
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
We have 5 vdisk in this VG (vgQB6_01), so a increased 10Gb on each of them to have in total 50Gb more in this VG, saved the configuration.
Now I go to my HP-UX server and vgdisplayed the VG but Total, Alloc and Free PE is the same. Have performed ioscan,etc but no changes are showed.
Is there any way I can force this VG to show the new space available?
Please let me know how to achieve this and if a reboot is necessary or what.
Thanks as always
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2011 03:06 AM - last edited on тАО11-10-2011 09:24 AM by Kevin_Paul
тАО01-13-2011 03:06 AM - last edited on тАО11-10-2011 09:24 AM by Kevin_Paul
Solutionwe need to run vgmodify command to present the new Lunn size to the OS.
To take advantage of a physical volume size increase, it may be necessary to run vgmodify to increase the maximum number of physical extents for the volume group.
The detection of physical volume size changes (LUN size expansion or contraction) is automatic, with the handling taking place unless the -r or -t options have been used."
try the optimization option
vgmodify -v -o
http://h30499.www3.hp.com/t5/LVM-and-VxVM/Dynamic-LUN-expansion-using-vgmodify/m-p/5055709#M44433
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2011 03:29 AM
тАО01-13-2011 03:29 AM
Re: Refresh VG with new vdisk size in EVA Command View.
root:server:/ # vgmodify -v -o vgQB6_01
vgmodify: The volume group "vgQB6_01" is active on this system.
Cannot perform requested change.
This server is being used by users globally so if I inactivate this VG, users will get no access to it, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2011 03:32 AM
тАО01-13-2011 03:32 AM
Re: Refresh VG with new vdisk size in EVA Command View.
vgmodify -t vg00
vgmodify -r vg00
The volume group can be active when reporting the configuration (-r)
or displaying a table of available settings (-t). The volume group
must be de-activated before vgmodify can perform any configuration
changes (see vgchange(1M))
# vgmodify
Usage: vgmodify
[-e MaxPhysicalExtents]
[-p MaxPhysicalVolumes]
[-l MaxLogicalVolumes]
[-v]
[-n]
[-r]
[-B bootable]
VolumeGroupName {[pv_path] [pv_path] (...).