Hi all,
I can't figure out, how to access a loop device inside an OpenVZ container running under ProxMox 2.0:
This alternative way doesn't work either:
Could this be an issue with the 2.6.32 kernel?
I tested and it doesn't work under:
But it DOES work under:
Any hints to solve this problem would be highly appreciated.
Best Regards,
Ben
I can't figure out, how to access a loop device inside an OpenVZ container running under ProxMox 2.0:
Code:
# losetup -f
/dev/loop0
# vzctl set 100 --devnodes loop0:rw
Device loop0 is not allowed to be assigned to a CT
Bad parameter for --devnodes: loop0:rw
This alternative way doesn't work either:
Code:
# ls -l /dev/loop0
brw-rw---- 1 root disk 7, 0 Apr 17 16:06 /dev/loop0
# vzctl set 100 --devices b:7:0:rw
Bad parameter for --devices: b:7:0:rw
Could this be an issue with the 2.6.32 kernel?
I tested and it doesn't work under:
- ProxMox 2.0 with pve-kernel-2.6.32-11-pve: 2.6.32-66
- ProxMox 1.9 with pve-kernel-2.6.32-4-pve: 2.6.32-33
But it DOES work under:
- ProxMox <= 1.9 with kernel 2.6.24
- (out of curiosity: Ubuntu 8.04 with kernel 2.6.24-31-openvz)
Any hints to solve this problem would be highly appreciated.
Best Regards,
Ben