Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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