OpenVZ Forum


Home » General » Support » how to deal with /dev/loop for crypto disk ? (how to deal with /dev/loop for crypto disk ?)
how to deal with /dev/loop for crypto disk ? [message #51140] Mon, 24 February 2014 09:31 Go to next message
MaximRazuvaev is currently offline  MaximRazuvaev
Messages: 1
Registered: February 2014
Junior Member
I have VDS, where admins says that in latest versions of OpenVZ "/dev/loop" are disabled "due to security reassons" and can't be used from guest system at all.

I.e. if i do for example:

# losetup /dev/loop0 test_file
/dev/loop0: Operation not permitted


If i trying to mount truecrypt container, then:

# truecrypt -t --filesystem=none test_file /mnt/test
Error: Failed to set up a loop device:

Question is: if it indeed the case, and in latest versions i can't use /dev/loop anymore because of any reasons, how can i use "losetup" or "truecrypt" , but istead of /dev/loop use something else, which will fully mimic /dev/loop behaviors.

Thanks.
Re: how to deal with /dev/loop for crypto disk ? [message #51150 is a reply to message #51140] Wed, 26 February 2014 17:56 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
Hi,
/dev/loop disabled and not supported in CT a long time ago, not in recent kernel versions.

a little search in bugzilla finds this:

https://bugzilla.openvz.org/show_bug.cgi?id=169
Previous Topic: Duplicate folder or what it is? /vz/root and /home/vps
Next Topic: 042stab084.26 Stable?
Goto Forum:
  


Current Time: Sat Feb 08 12:41:58 GMT 2025

Total time taken to generate the page: 0.04040 seconds