Ticket #97 (closed enhancement: fixed)
Use unionfs instead of LVM snapshots
| Reported by: | ghudson | Owned by: | geofft |
|---|---|---|---|
| Priority: | major | Milestone: | IAP 2010 |
| Component: | login chroot | Keywords: | |
| Cc: | Upstream bug: |
Description
Right now we use LVM snapshots for copy-on-write functionality in two places: on the build server (linux-build-10) and for login chroots. This works pretty well, but it works at the storage layer, which is a somewhat heavyweight approach.
It is also possible to do this at the filesystem layer using unionfs. I do not know a lot about unionfs at this time, but tabbott reports that this approach performs better for large numbers of snapshots.
Unfortunately, schroot does not have support for unionfs at this time. There is a patch at:
http://lists.alioth.debian.org/pipermail/buildd-tools-devel/2008-January/001964.html
tabbott has a port of it to schroot 1.2.1 if we want to pursue this.
