Operating System - HP-UX
1753637 Members
5796 Online
108798 Solutions
New Discussion юеВ

Re: lvextend failed due to too big extended size?

 
SOLVED
Go to solution
emily_3
Frequent Advisor

lvextend failed due to too big extended size?

Hi, I perform the following command, but it failed due to -L 300000000 is too big, what can i do if want the fs size is bigger than 16M?

#lvextend -L 30000000 /dev/vg01/lvol3 /dev/dsk/c6t4d0 /dev/dsk/c7t12d0
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize |
-m MirrorCopies}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"LogicalVolumeSize": Must be a value between 1 and 16777216 (16M).

3 REPLIES 3
Albert_31
Trusted Contributor
Solution

Re: lvextend failed due to too big extended size?

Hello Emily,

-L is in MB..

30000000 = 30TB.. is this the size you are looking for.. it is not supported in HPUX now.

Check the size and try again.
man lvextend should help

regards



Chauhan Amit
Respected Contributor

Re: lvextend failed due to too big extended size?

Hi Emily,

The Size specified in lvextend with "-L" option is in MB itself. So if you want size 30MB then following is the command used:

#lvextend -L 30 /dev/vg01/lvol3 /dev/dsk/c6t4d0 /dev/dsk/c7t12d0

Max Limit for LV is "16777216" in MB that means "16777" GB , which is more than enough I believe.

Hope this clarifies your doubt.

-Amit
If you are not a part of solution , then you are a part of problem
emily_3
Frequent Advisor

Re: lvextend failed due to too big extended size?

Thanks for help.