Hi, I just tried to mount a filesystem in a container and I got this:

[root ~]# lxc-start -n mycontainer
lxc-start: Operation not permitted - failed to mount '/dev/sdd1' on
'/srv/lxc/mycontainer/mnt'
lxc-start: failed to setup the mounts for 'mycontainer'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'mycontainer'
[root ~]#

What I did was put this in /etc/lxc/mycontainer.fstab:

/dev/sdd1 /srv/lxc/mycontainer/mnt ext3 defaults 0 1

Container boots file without that line. Does this mean I can't mount a
filesystem that is for this container, and only for this container ?

I did this on OpenVZ without issue.

Thanks,
John



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to