I have a working Ubuntu 10.04 host (2.6.32) and guest, using lxc 0.7.3.
When I add this line:
lxc.mount.entry = fs:/home /srv/lxc/luger/home nfs intr,bg
I get this error:
r...@omega:~# lxc-start -n luger -f /etc/lxc/luger.conf
lxc-start: Invalid argument - failed to mount 'fs:/home' on
'/srv/lxc/luger/home'
lxc-start: failed to setup the mount entries for 'luger'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'luger'
I guess NFS isn't supported by lxc yet? I wish it was.
This workaround (bind mounts) works:
r...@omega:~# mount -oro fs:/home /tmp/home
r...@omega:~# grep home /etc/lxc/luger.conf
# lxc.mount.entry = /home /srv/lxc/luger/home none bind
lxc.mount.entry = /tmp/home /srv/lxc/luger/home none bind,ro
r...@omega:~# lxc-start -n luger -f /etc/lxc/luger.conf
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users