[Lxc-users] loop mount inside container

2012-06-05 Thread Marc Aymerich
Dear all, I'm trying to mount an image file inside a container but it complains about write permissions: (vct: container, bestia: hw node) root@vct:/dev# mount -o loop /root/server_bootable.img /mnt/ mount: block device /root/server_bootable.img is write-protected, mounting read-only mount:

Re: [Lxc-users] loop mount inside container

2012-06-05 Thread Stéphane Graber
On 06/05/2012 02:58 PM, Marc Aymerich wrote: Dear all, I'm trying to mount an image file inside a container but it complains about write permissions: (vct: container, bestia: hw node) root@vct:/dev# mount -o loop /root/server_bootable.img /mnt/ mount: block device

Re: [Lxc-users] loop mount inside container

2012-06-05 Thread Marc Aymerich
On Tue, Jun 5, 2012 at 9:20 PM, Stéphane Graber stgra...@ubuntu.com wrote: On 06/05/2012 02:58 PM, Marc Aymerich wrote: Dear all, I'm trying to mount an image file inside a container but it complains about write permissions: (vct: container, bestia: hw node) root@vct:/dev# mount -o loop