[blivet] bump size of non-existent devices to format min

Vratislav Podzimek vpodzime at redhat.com
Fri Jul 17 09:50:13 UTC 2015


On Thu, 2015-07-16 at 13:20 -0500, David Lehman wrote:
> This is another followup to the patch from last week that checks
> device size against new format limits.
> 
> This one covers the case of a partition or lv instantiated with a size
> that's too small for its format metadata. This is going to happen
> regularly when people have kickstarts that do this:
> 
>   part pv.01 --size=1 --grow
> 
> (The lvmpv format has a min size of 8 MiB.)
LVM doesn't require metadata on all PVs so this should be probably changed in the future. And it
only confirms this patch is the right solution -- if such minimum size in kickstart is valid, it
should raise an exception and if our presumptions about the minimum format sizes are wrong, it's
these presumptions that should be fixed.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list