[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

preseeding/partman-auto: LVM expert recipe problem



Hi,

I have a problem regarding the partman-auto/expert-recipe. I have this minimal recipe (very minimal, not really useful at all except to prove this bug) and it calculates 2200000100 MB (and a lot more in my original recipe).

: Oct 25 10:25:49 partman-auto: Available disk space (31457) too small for expert recipe (2200000100); skipping

31457 is the ~30GB sized virtual hard disk I use for testing.

I hope this is fixable, since it is part of the stable installer.

mini recipe here:

<code>
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-auto-lvm/new_vg_name string SBS_PV
# d-i partman-lvm/vgcreate string SBS_PV
d-i partman-auto/expert_recipe string                   \
        boot-root::                                     \
                100 1000 100 ext3                 \
                        $primary{ }                     \
                        $bootable{ }                    \
                        method{ format }                \
                        format{ }               \
                        use_filesystem{ }               \
                        filesystem{ ext3 }              \
                        mountpoint{ /boot }             \
                .                                       \
                                                        \
                                                        \
                100 1000 100 ext3                      \
                        $lvmok{ }                       \
                        method{ format }                \
                        format{ }               \
                        use-filesystem{ }               \
                        filesystem{ ext3 }              \
                        mountpoint{ / }                 \
               .
</code>

My desired recipe contains an explicitly declared PV, some more LV with more defined stuff and follows all the rules I found in the debian-installer:$doc/debian-installer/devel files (which could really need some more examples and rules description),

The basic problem is the wrong calculation of the minimum size. I already tried it with different priorities to see their effect on the result, but no change.

Thorsten


Reply to: