Petter Reinholdtsen
2010-04-07 07:30:02 UTC
Reply
PermalinkVersion: 89
User: debian-***@lists.debian.org
Usertag: debian-edu
Partman some times create partitions smaller than the minimum size
specified in a recipe. I just tested using testing, and this recipe
entry, which as far as I understand it request a LVM partition with
minimum size 7104 MB:
7104 3000 10240 ext3
$lvmok{ }
method{ format }
format{ }
use_filesystem{ }
filesystem{ ext3 }
mountpoint{ /opt } .
(This was ad edited version of /lib/partman/common/94edultsp from
debian-edu-install-profile).
The created LVM partition according to /proc/partitions have size
6934528, which is smaller than the (7104*1024) 7274496 I expected to
be the minimum.
Not being able to specify minimum partition sizes in the recipe make
it hard to know what sizes to put there. Today we add some percent
extra to the true minimum, to try to avoid partitions filling up too
much.
I am not sure if this should be assiged to partman-auto or
partman-auto-lvm. If the latter, I was using version 33 during this
test. The problem exist in Lenny to, so it is not a new issue.
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org