Operating System - HP-UX
1833437 Members
2999 Online
110052 Solutions
New Discussion

grow, extend a physical disk, pv, vg, lv, fs ?

 
SOLVED
Go to solution
Kasper_USB
Frequent Advisor

grow, extend a physical disk, pv, vg, lv, fs ?

Hello

i'm looking to grow the space in a VG with one PV in a way that i grow the physical disk (because it's in SAN).

(i know the way to grow the VG with a second PV, but with the SAN-technologie i can grow the disk itself with "one click" but then ... ?)

Is there a cookbook to do that under hpux 11.31 ?

Thanks Olaf
3 REPLIES 3
Torsten.
Acclaimed Contributor
Solution

Re: grow, extend a physical disk, pv, vg, lv, fs ?

See

https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=c02218812

 

[Moderator edit: Updated the link. You may also refer to https://support.hpe.com/]


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!   
Zinky
Honored Contributor

Re: grow, extend a physical disk, pv, vg, lv, fs ?

The document is long. Sometime ago someone posted a guided response and I happned to copy it, here it is:


U can do an Online DLE for a VG that is when the VG is online and the I/O are taking place for the VG only if u have the Sep 2008 of 11.31.


Please gather the following informations before u are trying to do this ...

for the VG from the vgdisplay -v O/P note the following:

Max_PE_Per_PV
Allocated PE
Free PE
PE Size
Max PV
Act PV etc

(Remember that the value MAX_PE_per_PV is also configurable using the command combination of pvmove and vgmodify in 11.23 as well as 11.31)

Also the new size of the disk that u have increased the LUN to.

#diskinfo -v /dev/rdisk/disk41 say and this is the only disk in that VG say.


having all this information u can go ahead with the Online DLE for that VG.

#vgmodify -t

this will show the tabular form of the changes as suggested. Lets say as u have already increased the LUN just check and we assume that u r not going to change the MAX_PE_Per_PV now.

Also We assume that the MAX_PE_per_PV value as set for the VG is enough that it will take care of the new increased number of the PEs in the PV.

Do an Online DLE in the review mode only using the command::

#vgmodify -v -r -a -E

once satisfied with the results,

do the Actual Onlinr DLE using the command as :

#vgmodify -v -a -E


so u r done with the Online DLE.


can check that using the command:

#vgdisplay -v


now u can go on and do lvcreate, lvextend .



Enjoy!
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Kasper_USB
Frequent Advisor

Re: grow, extend a physical disk, pv, vg, lv, fs ?

The link from Torsten has a link to a document which helps. -> DLE dynamic lun extension.

Thanks and Greetings
Olaf