I abandoned OpenVZ because I was not able to perform an NFSv2 mount
inside a container. Now it appears I may have the same problem with LXC.
Can anyone confirm if NFSv2 should work or not?
Please don't respond that I should use v3 or v4. I don't have a choice
as v2 is the only protocol provided
It is weirder than that. The partition bind-mounted under
/share/containerX/an_partition is not unmounted on guest stop, but unmounted
on the guest start.
If I run "mount /share/containerX/an_partition" on the host, only then the
partition's content becomes visible on the guest.
The /share/contai
Quoting Arie Skliarouk (sklia...@gmail.com):
> I managed to mount the partition! For that the procedure looks as follows:
Excellent.
>1. On the master:
>
>
>mkdir /share/containerX
>mkdir /var/lib/lxc/containerX/rootfs/share
>mount -t tmpfs share /share/containerX
>mount --m
Quoting Serge Hallyn (serge.hal...@canonical.com):
> Quoting Arie Skliarouk (sklia...@gmail.com):
> > Hi,
> >
> > Thank you for the instructions, but looks I did something wrong.
>
> Sorry, no, my instructions weren't quite right. I'm going to spend a bit
> of time right now whipping up some tes
I managed to mount the partition! For that the procedure looks as follows:
1. On the master:
mkdir /share/containerX
mkdir /var/lib/lxc/containerX/rootfs/share
mount -t tmpfs share /share/containerX
mount --make-rshared /share/containerX
cat >> /var/lib/lxc/containerX/fstab <
Quoting Arie Skliarouk (sklia...@gmail.com):
> Hi,
>
> Thank you for the instructions, but looks I did something wrong.
Sorry, no, my instructions weren't quite right. I'm going to spend a bit
of time right now whipping up some tested directions, and will get back to
you.
-serge
--
Hi,
Thank you for the instructions, but looks I did something wrong.
If I create files on the /shared/containerX, they appear properly in
the container's /shared directory. If I create a directory in the
/shared/containerX directory and mount some other partition onto that
/shared/containerX/an_p
When I try to create a container inside a container I get an error:
root@OUTER $ lxc-create -n INNER -f net.conf -t natty
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/natty/rootfs-amd64 ...
Downloading ubuntu natty minimal ...
[...snip...]
I: Extracting