1834578 Members
2660 Online
110069 Solutions
New Discussion

re : logical volume help

 
Vincent_5
Super Advisor

re : logical volume help

Hi Guys,
Can anyone advice how can I create a logical volume of size 1.2TB . Can I know the commands to create the logical volume.

Regards
Vincent
nothing is better than to know more
4 REPLIES 4
VK2COT
Honored Contributor

Re: re : logical volume help

Hello,

You did not specify which version of HP-UX and
volume manager you run.

Yes, it is possible to create LV of size 1.2 TB.

Check famous HP document on LVM supported limits.

Lets assume you use LVM:

HP-UX 11.11 and 11.23, maximum LV size is 2 TB
HP-UX 11.31, maxumum LV is 16 TB

a) You can do it via SAM, for example
(I must say that for my 23 years in Unix
support, I seldom use graphical interfaces).

or

b) Check manuals on lvcreate(1).
Hint - options:

-l le_number
or
-L lv_size

There are number of issues you need to plan
when creating such a logical volume (backups,
PE size, its parameters, and so on)...

Even if you make a mistake, vgmodify can
help a lot if you use HP-UX 11.23 (with certain patches) or HP-UX 11.31.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Yogesh M Puranik
Valued Contributor

Re: re : logical volume help



Hi Vincent,


First you have to check how much is you one PE size ,also strip size accordingly you plan out,

The command for create logical volume of 1.2 Tb is


# lvcreate -i -I -l -n


Here I - equal to 4096 if database is there on the sysatem.

i - should be in the range of 2,4...

-l -should be between 1 to 65k



cheers!!!!!!!!

Rgds
Yogesh
Vincent_5
Super Advisor

Re: re : logical volume help

Hi Guys,
Thanks for the info, sorry my mistake. The operating system is 11.31 and when I try to create a logical volume of around 1.2TB is give an error stirr output and it cannot create. I believe I have to extend the PE for logical volume as well. Pls guide me with the command to do it . Thanks and regards

Vincent
nothing is better than to know more
Bill Hassell
Honored Contributor

Re: re : logical volume help

It would really help if you posted the error message...

But you are correct. The PE size must be larger than 4 MB because there is a limit to the number of PEs in a volume group. You must re-create the entire volume group with the -s option (I would use -s 32) to specify a larger extent size. Then you can create multi-terabyte volumes.


Bill Hassell, sysadmin