- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Expanding a disk exported by an EVA 6100 (and the ...
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
10-16-2008 01:52 AM
10-16-2008 01:52 AM
Hi.
I have a 20GB disk exported by an EVA 6100. The previous system administrator used pvcreate over that disk, and created a volume group (/dev/vg01) for it, and a logical volume (/dev/vg01/lvol1) using 100% of the disk (there are no more PE available).
That logical volume was formatted with VxFS and mounted in an HP-UX 11v23 system as /u01/app/oracle.
Now were are running out of space in that volume, and I've been asked to allocate more space for it.
I imagine that I can:
- Create a new disk in the EVA 6100. HP-UX will see it as a new scsi disk.
- Run pvcreate on it and add it to the /dev/vg01 volume group.
- Extend the /dev/vg01/lvol1 logical volume and filesystem so that the new space becomes available.
But, I would like to know if it would be possible to:
- In the EVA, make the original disk larger (10 extra GB).
- "Extend" the PV so that it uses the new extra space.
- Extend the filesystem.
Under Windows 2003, as an example, shrinking the disk in the EVA makes appear new, unpartitioned space at the end of the disk. Then you just extend the FS and you're done.
But, under HP-UX, I don't know:
- Extending the disk (the LUN) ... can produce troubles to the currently mounted disk?
- System would detect the new size "automatically"?
- Would hardware path of the disk change?
- How do I extend the PE, VG and LV so that the new space can be used for my volume?
Summarizing: I would like to "extend" the disk in the EVA and use that "extra" space in my current LVM volume... is that possible?
Thanks a lot.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 02:03 AM
10-16-2008 02:03 AM
SolutionYou'll need to check whether you have the relevant patches to enable Dynamic LUN Expansion (DLE) as it's called. The whole process is described in some detail in the following whitepaper:
http://docs.hp.com/en/vgmodify/vgmodify_wp_modified_final.pdf
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 02:22 AM
10-16-2008 02:22 AM
Re: Expanding a disk exported by an EVA 6100 (and the underlying FS)
Create a new disk on the EVA.
Activate it and login to the hp box and then:
(if the old disk is c1t0d0 and the new are c2t0d0 and you lvolname is lvol1)
# ioscan -fnC disk
# insf -e
# pvcreate /dev/rdsk/c2t0d0
# vgextend vg01 /dev/dsk/c2t0d0
# pvmove -n /dev/vg01/lvol1 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
# vgreduce vg01 /dev/dsk/c1t0d0
# pvremove /dev/rdsk/c1t0d0
Then remove the disk from the EVA and remove the special file from the server on the disk that have the NO_HW in your ioscan.
# ioscan -funC disk | grep NO_HW
# rmsf -H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 02:39 AM
10-16-2008 02:39 AM
Re: Expanding a disk exported by an EVA 6100 (and the underlying FS)
> You'll need to check whether you have the
> relevant patches to enable Dynamic LUN
> Expansion (DLE) as it's called.
So, DLE is supposed to be what I'm looking for, right? A way to expand a LUN so that LVM can use all the space in that disk after resizing it.
Jaton:
> # ioscan -fnC disk
> # insf -e
> # pvcreate /dev/rdsk/c2t0d0
> # vgextend vg01 /dev/dsk/c2t0d0
> # pvmove -n /dev/vg01/lvol1 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
> # vgreduce vg01 /dev/dsk/c1t0d0
> # pvremove /dev/rdsk/c1t0d0
Oh, that's creating a new PV, adding it to my current VG, and MOVING all the data from the previous disk to the new one. Then I extract the previous and now empty PV from the VG and all the data should be in the new one... right?
Can this be done "online"? (without dismounting any FS?)
But, after this ... I will still need to extend the LV and the filesystem, right? This will only ends with "Available Physical Extends" for the "standard" LVM extend process, right?
Thanks a lot to both for your answers :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 03:02 AM
10-16-2008 03:02 AM
Re: Expanding a disk exported by an EVA 6100 (and the underlying FS)
Run:
vgdisplay /dev/vg01
Look at the values "Max PE per PV" and "PE Size (Mbytes)"
The product of these two values gives you the largest disk you can have in your VG. So if:
(Max PR per PV) * (PE Size) < (Desired Size of new LUN)
Then you won't be able to add that new disk to the VG without going through some of the steps described in the WP I pointed you at anyway (i.e. using vgmodify)
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 03:04 AM
10-16-2008 03:04 AM
Re: Expanding a disk exported by an EVA 6100 (and the underlying FS)
(Max PE per PV) * (PE Size) < (Desired Size of new LUN)
And if the above is not true then yes you can do what Jaton suggests online
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 03:18 AM
10-16-2008 03:18 AM
Re: Expanding a disk exported by an EVA 6100 (and the underlying FS)
>
> And if the above is not true then yes you can do what Jaton suggests online
So, currently:
(vg01):
Max PE per PV 5119
PE Size (Mbytes) 4
5119*9 (*1024) = 20967424
And:
/dev/vg01/lvol1 20967424 20936846 30578 100% /u01/app/oracle
This means that I won't be able to create a new LUN larger than 20967424, and I must go with DLE, right?
Is not able to change Max PE per PV? :?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 03:26 AM
10-16-2008 03:26 AM
Re: Expanding a disk exported by an EVA 6100 (and the underlying FS)
Yes it is - via the vgmodify command which is the tool through which DLE is implemented(you have to increase Max PE per PV as part of a DLE operation anyway)
But if you need to do a vgmodify operation anyway, you masy as well just follow the process described in the WP.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 03:37 AM
10-16-2008 03:37 AM
Re: Expanding a disk exported by an EVA 6100 (and the underlying FS)
Thanks a lot for your help :-)
Very useful and quick answers... great forum and great people reading it :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 03:39 AM
10-16-2008 03:39 AM
Re: Expanding a disk exported by an EVA 6100 (and the underlying FS)
You could still just add a new disk of 20GB to the old vg. That is the solemn idea of LVM to create and extra abstraction layer. This is a powerful tool when you are working with disk and performance.