- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending EVA Vdisk.
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-2011 11:47 PM
03-29-2011 11:47 PM
i Increase the size of a Vdisk at the EVA SAN level from 350GB to 450GB. (disk already live and being used)
but when i rescan disck on unix (iosca -fnC disk) i don't see any new disk. but i can see the new size (450GB) when check the disk size by diskinfo command.
# diskinfo /dev/rdsk/c16t0d1
SCSI describe of /dev/rdsk/c16t0d1:
vendor: HP
product id: HSV210
type: direct access
size: 471859200 Kbytes
bytes per sector: 512
but there is no free PE on vg01 to extend the lvol's
# vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1375
VGDA 2
PE Size (Mbytes) 256
Total PE 1375
Alloc PE 1375
Free PE 0
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0
How i can solving this problem ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011 11:54 PM
03-29-2011 11:54 PM
SolutionIn this case you need to use "vgmodify" to adjust the LVM structure.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011 11:57 PM
03-29-2011 11:57 PM
Re: Extending EVA Vdisk.
If you are using HP-UX 11.23, need to install vgmodify to do this.
If you are running HP-UX 11.31, vgmodify is available and you can do that.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011 11:58 PM
03-29-2011 11:58 PM
Re: Extending EVA Vdisk.
i using 11.23 version.
and Can you explain more how to use vgmodify command?
/dev/vg01/lvol1 /u01
/dev/vg01/lvol2 /u02
/dev/vg01/lvol3 /u03
/dev/vg01/lvol4 /u04
/dev/vg01/lvol5 /u05
/dev/vg01/lvol6 /u06
/dev/vg01/lvol7 /u07
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 12:29 AM
03-30-2011 12:29 AM
Re: Extending EVA Vdisk.
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 12:37 AM
03-30-2011 12:37 AM
Re: Extending EVA Vdisk.
# vgmodify -r -v /dev/vg01
# vgchange -a n /dev/vg01
# vgchange -a n /dev/vg01
# vgmodify -v /dev/vg01
# vgmodify -v /dev/vg01
# vgchange -a y -l -p -s /dev/vg01
# vgchange -a y /dev/vg01
# vgdisplay -v /dev/vg01
# vgmodify -tv /dev/vg01
# vgmodify -v -r -e 2000 -p 30 /dev/vg01
# vgmodify -v -e 2000 -p 30 /dev/vg01
# vgchange -a n /dev/vg01
# vgmodify -v -e 2000 -p 30 /dev/vg01
# vgchange -a y -l -p -s /dev/vg01
# vgchange -a y /dev/vg01
# vgdisplay -v /dev/vg01
This a correct steps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 12:43 AM
03-30-2011 12:43 AM
Re: Extending EVA Vdisk.
"Performing an offline DLE"
detailed steps depend on your current configuration.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 12:59 AM
03-30-2011 12:59 AM
Re: Extending EVA Vdisk.
i facing this message
"
# vgmodify -t -v -n vg01
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240
VGRA space (Kbytes) on Physical Volumes with extents in use:
PV current -n
/dev/rdsk/c8t0d1 896 262144
Summary 896 262144
Physical Extent zero is not free on all PVs. You will not achieve these
values until the first extent is made free (see pvmove(1M)) on all the
following disks:
/dev/rdsk/c8t0d1
"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 01:02 AM
03-30-2011 01:02 AM
Re: Extending EVA Vdisk.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 01:10 AM
03-30-2011 01:10 AM
Re: Extending EVA Vdisk.
but i also facing this error "
# pvmove -n /dev/vg01/lvol7 /dev/dsk/c8t0d1
pvmove: Not enough free physical extents available.
Logical volume "/dev/vg01/lvol7" could not be extended.
pvmove: Cannot find a free physical extent for logical extent 0
of logical volume "/dev/vg01/lvol7".
"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 01:30 AM
03-30-2011 01:30 AM
Re: Extending EVA Vdisk.
# vgmodify â v â r vg01
and
# vgmodify -t -v vg01
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 01:30 AM
03-30-2011 01:30 AM
Re: Extending EVA Vdisk.
and
# vgmodify -t -v vg01
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 01:34 AM
03-30-2011 01:34 AM
Re: Extending EVA Vdisk.
# vgmodify -v -r vg01
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240
/dev/rdsk/c8t0d1 Warning: Max PE per PV for the volume group (1375) too small for this PV (1799).
Using only 1375 PEs from this physical volume.
"/dev/rdsk/c8t0d1" size changed from 360710144 to 471859200kb
An update to the Volume Group IS required
New Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240
Review complete. Volume group not modified
==============
# vgmodify -t -v vg01
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240
VGRA space (Kbytes) on Physical Volumes with extents in use:
PV current -n
/dev/rdsk/c8t0d1 896 262144
Summary 896 262144
Volume Group optimized settings (no PEs renumbered):
max_pv(-p) max_pe(-e) Disk size (Mb)
1 65535 16776961
2 53756 13761537
3 35836 9174017
4 26876 6880257
5 21500 5504001
6 17916 4586497
7 15356 3931137
8 13308 3406849
9 11772 3013633
10 10748 2751489
11 9724 2489345
12 8956 2292737
13 8188 2096129
14 7676 1965057
15 7164 1833985
16 6652 1702913
17 6140 1571841
18 5884 1506305
19 5628 1440769
20 5372 1375233
21 5116 1309697
22 4860 1244161
23 4604 1178625
24 4348 1113089
26 4092 1047553
28 3836 982017
30 3580 916481
32 3324 850945
35 3068 785409
38 2812 719873
42 2556 654337
46 2300 588801
52 2044 523265
60 1788 457729
70 1532 392193
=============
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 01:47 AM
03-30-2011 01:47 AM
Re: Extending EVA Vdisk.
This is still review mode:
# vgmodify -r -e 6652 -v vg01
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 01:55 AM
03-30-2011 01:55 AM
Re: Extending EVA Vdisk.
# vgmodify -r -e 6652 -v vg01
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240
The current and new Volume Group parameters differ.
"/dev/rdsk/c8t0d1" size changed from 360710144 to 471859200kb
An update to the Volume Group IS required
New Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 6652
PE Size (Mbytes) 256
VGRA Size (Kbytes) 896
Review complete. Volume group not modified
===================
# vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1375
VGDA 2
PE Size (Mbytes) 256
Total PE 1375
Alloc PE 1375
Free PE 0
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0
========
What is the next step ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 02:08 AM
03-30-2011 02:08 AM
Re: Extending EVA Vdisk.
# vgmodify -e 6652 -v vg01
the idea is to make it work (at least for now) without a need of another free PE.
Once you have free PEs, you can use pvmove.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2011 02:20 AM
03-30-2011 02:20 AM
Re: Extending EVA Vdisk.
Thank you very much, now i can see the new size.
the correct steps.
# vgmodify -v -r vg01
# vgmodify -t -v vg01
# vgmodify -r -e 6652 -v vg01 (6652 from the tale)
# umount all lvols on this VG
# fuser -ku /dev/vg01/lvol#
# vgchange -a n /dev/vg01
# vgmodify -e 6652 -v vg01
# vgchange -a y -s /dev/vg01
Done
Thanks