Control: tags 990334 moreinfo

Juri Grabowski wrote...

> overlayfs doesn't work with ZFS right now.
> I mean, that through zfs snapshot/rollback and clone features we can achieve
> better performance in spawning and destroying new schroots.

We briefly discussed this yesterday in another medium, so can you please
provide a bit more in-depth description of what you're doing and what is
going wrong?

FWIW, I have a chroot like

    [deb99-amd64-sbuild]
    type=directory
    union-type=overlay
    directory=/mnt/chroot/deb99-amd64-sbuild
    groups=root,sbuild
    root-groups=root,sbuild
    profile=sbuild

where /mnt/chroot/deb99-amd64-sbuild is on a ZFS, and everything works fine.

And in case anyone asks "why?": ZFS snapshotting is nice, but overlay
using a tmpfs as the upper layer is no doubt the fastest way to get
things done - but only as long as the build does write less data than
there's RAM on the host.

    Christoph

Attachment: signature.asc
Description: PGP signature

Reply via email to