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

[Preseed] Partman expert recipe Error



Hi,

I'm stuck with partman expert_recipe for 3 days now and it's driving me crazy.

I've a 250GB hard drive and i try to use the following partition layout : 

primary partition
512M /boot
4096M swap

LVM
10G /usr
20G /var
10G /
left free space to /home

so i use this recipe : 


d-i       partman-auto/expert_recipe string boot-root :: 
  512 513 512 ext3 
  $primary{ }
  $bootable{ } 
  method{ format } 
  format{ } 
  use_filesystem{ } 
  filesystem{ ext4 } 
  mountpoint{ '/boot' } 
  .  
  1024 1025 4096 linux-swap 
  $primary{ } 
  method{ swap } 
  format{ } 
  .
  1 10 -1 ext3 
  $primary{ } 
  method{ lvm } 
  vg_name { debian } 
  .
  10240 10241 10240 ext4 
  $defaultignore{ } 
  lv_name{ lv_usr } 
  in_vg{ debian } 
  method{ lvm } 
  format{ } 
  $lvmok{ } 
  use_filesystem{ } 
  filesystem{ ext4 } 
  options/noatime{ noatime } 
  mountpoint{ '/usr' } 
  .
  20480 20481 20480 ext4 
  $defaultignore{ } 
  lv_name{ lv_var } 
  in_vg{ debian }  
  method{ lvm } 
  format{ } 
  $lvmok{ } 
  use_filesystem{ } 
  filesystem{ ext4 } 
  options/noatime{ noatime } 
  mountpoint{ '/var' } 
  .
  10240 10241 10240 ext4 
  $defaultignore{ } 
  lv_name{ lv_root } 
  in_vg{ debian }  
  method{ lvm } 
  format{ } 
  $lvmok{ } 
  use_filesystem{ } 
  filesystem{ ext4 } 
  options/noatime{ noatime } 
  mountpoint{ '/' } 
  .
  1 10 -1 ext4 
  $defaultignore{ } 
  lv_name{ lv_home } 
  in_vg{ debian }  
  method{ lvm } 
  format{ } 
  $lvmok{ } 
  use_filesystem{ } 
  filesystem{ ext4 } 
  options/noatime{ noatime } 
  mountpoint{ '/home' } 


The only things i get is "Available disk space (250059) is too small for expert recipe (15400000000).

This number 15400000000 is so huge. I think about a signed / unsigned error in partman. I try to follow the size allocation formula to see if something goes wrong but everything looks fine.

If someone can give me a hand on this, it would be greatly appreciated.

Regards,
  .

Reply to: