[CentOS] can't create large LVM, even though pvscan shows enough space left

Fri Feb 25 21:18:43 UTC 2011
Rudi Ahlers <Rudi at SoftDux.com>

On Fri, Feb 25, 2011 at 4:00 PM, Lamar Owen <lowen at pari.edu> wrote:
> On Friday, February 25, 2011 08:15:34 am Rudi Ahlers wrote:
>> [root at francois-pc ~]# lvcreate -L 500gig -n 500G freenas
>>   Insufficient free extents (127999) in volume group freenas: 128000 required
>
>> How do I actually create a 500GB volume?
>
> try
> lvcreate -l 127999 -n 500G freenas
>
> The default '500G' size is 12,800 extents, but you only have 12,799 extents free; which gets rounded *up* to 500G by the free space display.  And that's a lower-case 'L' option, not an upper-case 'I' option.
> _______________________________________________



Cool, thanx for the explanation. Why is there one extend "missing", or
no usable?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532