Package: partman Version: which is in Debian Squeeze 6.0.1 Netinstall Hi all,
I think I found a bug with partman. I'm trying to use preseed on Debian Squeeze 6.0.1 netinstall on a virtual machine with 8GB and I have already the message: Partman-auto: Available disk space (8589) too small for expert recipe (9796); skipping. I discovered partman does size of all partition + size of the lvm, even if a partition is inside the lvm! Why? You could look on my preseed file: d-i partman-auto/expert_recipe string \ boot-root :: \ 100 1000000 100 ext3 \ $primary{ } \ $bootable{ } \ method{ format } \ format{ } \ use_filesystem{ } \ filesystem{ ext3 } \ mountpoint{ /boot } \ . \ 1024 1024 1024 ext3 \ method{ format } \ format{ } \ use_filesystem{ } \ filesystem{ ext3 } \ mountpoint{ / } \ . \ 5500 5500 5500 lvm \ $primary{ } \ $defaultignore{ } \ method{ lvm } \ vg_name{ vg_root } \ . \ 512 512 512 ext3 \ $lvmok{ } \ in_vg{ vg_root } \ lv_name{ lv_home } \ method{ format } \ format{ } \ use_filesystem{ } \ filesystem{ ext3 } \ mountpoint{ /home } \ . \ 512 512 512 ext3 \ $lvmok{ } \ in_vg{ vg_root } \ lv_name{ lv_tmp } \ method{ format } \ format{ } \ use_filesystem{ } \ filesystem{ ext3 } \ mountpoint{ /tmp } \ . \ 512 512 512 ext3 \ $lvmok{ } \ in_vg{ vg_root } \ lv_name{ lv_usr } \ method{ format } \ format{ } \ use_filesystem{ } \ filesystem{ ext3 } \ mountpoint{ /usr } \ . \ 512 512 512 ext3 \ $lvmok{ } \ in_vg{ vg_root } \ lv_name{ lv_var } \ method{ format } \ format{ } \ use_filesystem{ } \ filesystem{ ext3 } \ mountpoint{ /var } \ . \ 100 1000 1000000000 ext3 \ $lvmok{ } \ in_vg{ vg_root } \ lv_name{ lv_to_delete } \ method{ keep } \ filesystem{ ext3 } \ . \ 1024 1024 1024 linux-swap \ method{ swap } \ format{ } \ . You see the total size is : /boot 100 M + LVM 5500 M + SWAP 1024 M + / 1024 M = 7700 M. But partman said I need 9796 ! Because partman calculates: 7700M + /var 512 M + /home 512 M + /tmp 512 M + /usr 512M = 9700 M :( Thanks. Best regards, Ludovic ___________________________________ Ce message contient des informations confidentielles ou appartenant à Boursorama et est établi à l'intention exclusive de ses destinataires. Toute divulgation, utilisation, diffusion ou reproduction (totale ou partielle) de ce message, ou des informations qu'il contient, doit être préalablement autorisée. Tout message électronique est susceptible d'altération et son intégrité ne peut être assurée. Boursorama décline toute responsabilité au titre de ce message s'il a été modifié ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur de l'erreur de distribution et de la destruction du message. ___________________________________ This e-mail contains confidential information or information belonging to Boursorama and is intended solely for the addressees. The unauthorised disclosure, use, dissemination or copying (either whole or partial) of this e-mail, or any information it contains, is prohibited. E-mails are susceptible to alteration and their integrity cannot be guaranteed. Boursorama shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion. ___________________________________ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org