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

Bug#431296: Default partitioning on LVM-LUKS provides too small /



tags 431296 + patch
thanks

It might be time to re-examine the 280MB maximum size of / for the "multi"
partitioning recipes.

Similar to Didier I recently went to install 2.6.23-1 alongside 2.6.22-3 and
the installation failed as I ran out of space.

In Chris Walker's original bug message (#248278, May 2004), which caused the
maximum to be raised from 150MB to it's current maximum, he stated that a 
/lib/modules/<kversion> directory uses 30MB each: they now use 70MB on my
system. You may choose to factor in an additional 10MB for each installed
kernel to account for an Nvidia binary driver, which--for my sins--I use.

This problem may be especially prevalent on the amd64 architecture because
ia32-libs, libc6-i386, lib32* and friends install to /emul/ia32-linux; this
directory is consuming just over 100MB on my system. Futhermore, amd64
binaries tend to be slightly larger than their i386 counterparts.

I therefore tentatively suggest a new value in the region on 380MB. A patch
that increases the current maximum to this value for amd64 alone is attached.
A patch that makes the change 'globally' would be trivial.


Regards,

-- 
Chris Lamb, UK                                       chris@chris-lamb.co.uk
                                                            GPG: 0x634F9A20
Index: packages/partman/partman-auto/recipes-amd64/home
===================================================================
--- packages/partman/partman-auto/recipes-amd64/home	(revision 0)
+++ packages/partman/partman-auto/recipes-amd64/home	(revision 0)
@@ -0,0 +1,35 @@
+partman-auto/text/home_scheme ::
+
+128 512 256 ext3
+	$defaultignore{ }
+	$primary{ }
+	$bootable{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ /boot } .
+
+500 4000 7000 ext3
+	$lvmok{ }
+	$primary{ }
+	$bootable{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ / } .
+
+96 512 300% linux-swap
+	$lvmok{ }
+	method{ swap }
+	format{ } .
+
+100 10000 1000000000 ext3
+	$lvmok{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ /home } .
+
Index: packages/partman/partman-auto/recipes-amd64/multi
===================================================================
--- packages/partman/partman-auto/recipes-amd64/multi	(revision 0)
+++ packages/partman/partman-auto/recipes-amd64/multi	(revision 0)
@@ -0,0 +1,59 @@
+partman-auto/text/multi_scheme ::
+
+128 512 256 ext3
+	$defaultignore{ }
+	$primary{ }
+	$bootable{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ /boot } .
+
+70 800 380 ext3
+	$lvmok{ }
+	$primary{ }
+	$bootable{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ / } .
+
+500 3000 5000 ext3
+	$lvmok{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ /usr } .
+
+70 1500 3000 ext3
+	$lvmok{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ /var } .
+
+96 512 300% linux-swap
+	$lvmok{ }
+	method{ swap }
+	format{ } .
+
+20 300 400 ext3
+	$lvmok{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ /tmp } .
+
+300 3000 1000000000 ext3
+	$lvmok{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ /home } .
+
Index: packages/partman/partman-auto/recipes-amd64/_numbers
===================================================================
--- packages/partman/partman-auto/recipes-amd64/_numbers	(revision 0)
+++ packages/partman/partman-auto/recipes-amd64/_numbers	(revision 0)
@@ -0,0 +1,3 @@
+30 atomic
+50 home
+80 multi
Index: packages/partman/partman-auto/recipes-amd64/atomic
===================================================================
--- packages/partman/partman-auto/recipes-amd64/atomic	(revision 0)
+++ packages/partman/partman-auto/recipes-amd64/atomic	(revision 0)
@@ -0,0 +1,26 @@
+partman-auto/text/atomic_scheme ::
+
+128 512 256 ext3
+	$defaultignore{ }
+	$primary{ }
+	$bootable{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ /boot } .
+
+500 10000 1000000000 ext3
+	$lvmok{ }
+	$primary{ }
+	$bootable{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext3 }
+	mountpoint{ / } .
+
+96 512 300% linux-swap
+	$lvmok{ }
+	method{ swap }
+	format{ } .

Attachment: signature.asc
Description: PGP signature


Reply to: