1753479 Members
5055 Online
108794 Solutions
New Discussion юеВ

logical volume size

 
Shehan
Super Advisor

logical volume size

Hi

Is it possible to create 2TB logical volume in a Volume group.What are the command to create 2TB logical volume in hp-ux


Regards
Nirukshitha
4 REPLIES 4
Shrikant Lavhate
Esteemed Contributor

Re: logical volume size

Hi,

#lvcreate -L 2000000 /dev/lvolX

man lvcreate says:
-L lv_size

Allocate space to the logical volume, specified in megabytes. lv_size is a decimal value in the range 1 to 16777216 (the implementation limit).
Will it remain a personal, if I broadcast it here!
Shahul
Esteemed Contributor

Re: logical volume size

As a good practice, I never create filesystems bigger than 500GB, sometimes due to vendor requirements, I go up to 1TB. The reason I don't recommend larger than 1TB filesystem because of the pain of doing fsck in case filesystem corrupted or even restoring when you lose that filesystem for any reason. I think it's more manageble if the filesystem is under 1TB. But it's all up to you to decide what suites for you.

Good luck
Shahul
Pete Randall
Outstanding Contributor

Re: logical volume size

Is it possible?

That depends on what release we're dealing with. Assuming we are dealing with 11.0 or more recent, the following applies:

http://docs.hp.com/en/6054/Limits_wp.pdf


Pete

Pete
Sajjad Sahir
Honored Contributor

Re: logical volume size

lvcreate -L 2000000 -n logical volume name then volume group.

for example if u want to create a logical volume lvol9 with the size 2000000 Mb under the volume group /dev/vgora1

then u have to use the command

lvcreate -L 2000000 -n lvol9 /dev/vgora1