I know how LVM allocates extents, and it doesn't allocate *less* than
what you ask for, only more. This is a case where it is allocating less,
and thus the reason for my question. 

So, if I have a 4M PE size and ask for 35M, I will get 36M because that
is in an increment of 4M. I won't get 32M because it is less than what I
requested.

Thanks,

Kevin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Benjamin Franz
Sent: Wednesday, October 28, 2009 6:03 PM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] Anaconda LVM discrepancies?

Collins, Kevin [BEELINE] wrote:
>
> Hi,
>
> I've just finished installing 2 servers (via "standard" Kickstart 
> files) using the RHEL5.4 install DVD. I noticed after boot that / was 
> almost 100% full. When I resized it, I noticed that it was 30MB 
> smaller than I specified in the kickstart. I confirmed this on both 
> servers, and discoverd another LV that was 12MB smaller than
specified.
>
[...]

LVM allocates space in physical extents (by default 32 megabytes, but it

can be pretty much any power of two). This can cause discrepancies in 
your allocations unless they are exact multiples of the size of the
extents.

-- 
Benjamin Franz

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to