[Buildd-tools-devel] Bug#477788: why not use the device-mapper?

martin f krafft madduck at debian.org
Tue Feb 24 20:07:11 UTC 2009


also sprach Ferenc Wagner <wferi at niif.hu> [2009.02.24.2033 +0100]:
> Then surely I didn't understand your problem with the lvm-snapshot
> type :).

I think it was simply the unavailability of LVM, e.g. if there are
no volume groups, lvm-snapshot kinda doesn't work.

>  * lvm-snapshot: clean, but the chroot source LVs have to be large
>    enough to accomodate the build process, even though this space is
>    always unused by the minimal chroot environments themselves.  Thus
>    it potentially wastes a lot of space.

I solved this by forcing builds to take place in /build and mounting
a 10Gb LV as /build in every chroot. The possible double use of the
same filesystem by multiple chroots was the reason for #478044.

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20090224/345920b1/attachment.pgp 


More information about the Buildd-tools-devel mailing list