I'm getting an error when I try to mount an ISO file into a container and I'm not sure how to fix the problem. I've searched a bit and found somewhat similar issues[1][2] but they were mostly related to LXC containers not LXD.
When I try to mount an ISO I get an error: root@broodwar:~# mount -t iso9660 -o loop /root/Win10_English_x32.iso /mnt/windows/x32 mount: /mnt/windows/x32: mount failed: Unknown error -1 I though it was because I didn't have a loop device in my container, so I added one, but I still get an error: root@kerrigan:~# lxc config device add broodwar loop unix-block path=/dev/loop0 root@broodwar:~# ls -l /dev/loop* brw-rw---- 1 root root 7, 0 Sep 28 16:00 /dev/loop0 Running mount -v gives no extra messages. The ISO file itself is good, I can mount it successfully on the host, just not the container. Does anyone know how to fix this issue? Thanks, Joshua Schaeffer [1] https://lists.linuxcontainers.org/pipermail/lxc-users/2015-November/010560.html [2] http://askubuntu.com/questions/376345/allow-loop-mounting-files-inside-lxc-containers
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
