Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I'm using Ubuntu Server 11.10 Oneric, kernel 3.0.0-14-server.

I installed ZFS from ppa and created zpool and mounted it at /zfstankdir.

Then I installed LXC and created Ubuntu container.

Now I want to bind /zfstankdir to /mycontainer/rootfs/zfstankdir

So I did it in Host machine through /etc/fstab

/zfstankdir /mycontainer/rootfs/zfstankdir      none defaults,bind      0       0

But in lxc container I see content of the /zfstankdir mount point directory instead of zpool content.

Question is: how to bind to container content of zpool?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The bind is happening before ZFS is ready.

You need the enhanced mountall utility from the daily PPA. Run apt-add-repository ppa:zfs-native/daily, do a full upgrade, and try again.

If the problem persists, then please open an issue here:

share|improve this answer
Thanks Darik. I just added daily repository and did a full upgrade. Now in my LXC container I see contents of zpool! – BBK Jan 2 '12 at 13:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.