Review logical volumes priority in the recipe see man

partman-auto-recipe.txt
This commit is contained in:
Jeremy Gardais 2016-12-01 09:33:49 +01:00
parent 5bd59c2f05
commit d727cf2bfa
1 changed files with 19 additions and 19 deletions

View File

@ -158,25 +158,25 @@ d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true d-i partman-lvm/confirm_nooverwrite boolean true
# LVM partition # LVM partition
# This recipe need almost 30Gb free space it's add all <min size> # This recipe need almost 150GB free space to apply all <min size>
# sda2 (16Gb), lv_* (~14Gb) then it should not count it because # sda2 (145GB), lv_* (~140Gb) then it should not count it because
# all logical volume are on sda2 ... # all logical volumes 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 2000000 250 ext3 \
$primary{ } $bootable{ } \ $primary{ } $bootable{ } \
method{ format } format{ } \ method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \ use_filesystem{ } filesystem{ ext3 } \
label{ boot } \ label{ boot } \
mountpoint{ /boot } \ mountpoint{ /boot } \
. \ . \
148480 100000 -1 ext4 \ 148480 1000000 -1 ext4 \
$defaultignore{ } \ $defaultignore{ } \
$primary{ } \ $primary{ } \
method{ lvm } \ method{ lvm } \
vg_name{ sys } \ vg_name{ sys } \
. \ . \
25600 8000 30720 ext4 \ 25600 90000 30720 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_root } \ in_vg{ sys } lv_name{ lv_root } \
method{ format } format{ } \ method{ format } format{ } \
@ -184,7 +184,7 @@ d-i partman-auto/expert_recipe string \
label{ root } \ label{ root } \
mountpoint{ / } \ mountpoint{ / } \
. \ . \
10240 7000 20480 ext4 \ 10240 80000 20480 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_usr } \ in_vg{ sys } lv_name{ lv_usr } \
method{ format } format{ } \ method{ format } format{ } \
@ -193,7 +193,7 @@ d-i partman-auto/expert_recipe string \
label{ usr } \ label{ usr } \
mountpoint{ /usr } \ mountpoint{ /usr } \
. \ . \
4096 6000 8192 ext4 \ 4096 70000 8192 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_var } \ in_vg{ sys } lv_name{ lv_var } \
method{ format } format{ } \ method{ format } format{ } \
@ -202,7 +202,15 @@ d-i partman-auto/expert_recipe string \
label{ var } \ label{ var } \
mountpoint{ /var } \ mountpoint{ /var } \
. \ . \
2048 5000 6144 ext4 \ 40960 60000 61440 ext4 \
$lvmok{ } \
in_vg{ sys } lv_name{ lv_opt } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
label{ opt } \
mountpoint{ /opt } \
. \
2048 50000 6144 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_tmp } \ in_vg{ sys } lv_name{ lv_tmp } \
method{ format } format{ } \ method{ format } format{ } \
@ -212,20 +220,12 @@ d-i partman-auto/expert_recipe string \
label{ tmp } \ label{ tmp } \
mountpoint{ /tmp } \ mountpoint{ /tmp } \
. \ . \
40960 4000 61440 ext4 \ 25% 30000 32768 linux-swap \
$lvmok{ } \
in_vg{ sys } lv_name{ lv_opt } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
label{ opt } \
mountpoint{ /opt } \
. \
25% 2000 32768 linux-swap \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_swap } \ in_vg{ sys } lv_name{ lv_swap } \
method{ swap } format{ } \ method{ swap } format{ } \
. \ . \
16000 1000 -1 ext4 \ 100 100 -1 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_workl } \ in_vg{ sys } lv_name{ lv_workl } \
method{ format } format{ } \ method{ format } format{ } \