Reduce the size for the default recipe with LVM.

This commit is contained in:
Jeremy Gardais 2014-09-30 17:27:04 +02:00
parent 5dab0d088d
commit 6dbe85a80e
1 changed files with 6 additions and 3 deletions

View File

@ -172,6 +172,9 @@ d-i partman-lvm/confirm_nooverwrite boolean true
# LVM partition # LVM partition
# The device for physical volume must be listed in partman-auto/disk # The device for physical volume must be listed in partman-auto/disk
# This recipe need almost 30Gb free space it's add all <min size>
# sda2 (16Gb), lv_* (~14Gb) then it should not count it because
# all logical volume are on sda2 ...
d-i partman-auto/expert_recipe string \ d-i partman-auto/expert_recipe string \
boot-root :: \ boot-root :: \
200 200000 250 ext3 \ 200 200000 250 ext3 \
@ -181,7 +184,7 @@ d-i partman-auto/expert_recipe string \
label{ boot } \ label{ boot } \
mountpoint{ /boot } \ mountpoint{ /boot } \
. \ . \
20000 100000 10000000000000000 ext4 \ 16000 100000 10000000000000000 ext4 \
$defaultignore{ } \ $defaultignore{ } \
$primary{ } \ $primary{ } \
method{ lvm } device{ /dev/sda } \ method{ lvm } device{ /dev/sda } \
@ -223,7 +226,7 @@ d-i partman-auto/expert_recipe string \
label{ tmp } \ label{ tmp } \
mountpoint{ /tmp } \ mountpoint{ /tmp } \
. \ . \
4000 4000 10000 ext4 \ 2000 4000 3000 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_home } \ in_vg{ sys } lv_name{ lv_home } \
method{ format } format{ } \ method{ format } format{ } \
@ -232,7 +235,7 @@ d-i partman-auto/expert_recipe string \
label{ home } \ label{ home } \
mountpoint{ /home } \ mountpoint{ /home } \
. \ . \
2000 3000 5000 ext4 \ 512 3000 1000 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_opt } \ in_vg{ sys } lv_name{ lv_opt } \
method{ format } format{ } \ method{ format } format{ } \