When I do:
After googling I didnt find anything usefull..
device-mapper: version ioctl failed: Permission denied
I want to setup cryptsetup (On-The-Fly-Disk-Encryption)
But well i am having a hard time with it.
And Truecrypt doesnt work since I am in a Virtual Envoirment.
Does anyone have a Idea?
I know its just been one single day but I NEED this BADLY..
I have absolutely no clue what dmsetup is but in case you don't know exactly what an ioctl call is here is link:
Ioctl - Wikipedia, the free encyclopedia
I can only imagine that your dmsetup program makes an ioctl call to query the version. This ioctl call hooks on to a piece of kernel software, maybe a driver for that program.
"Permission denied" can mean two things:
- The kernel module involved cannot open a file to read out stuff like version etc.
- The program you are running is restricted to be run as root
Maybe it is something completely different, too, but you wanted a quick answer and as no one else is replying ... :rolleyes:
And I forgot, depending on your file system, NFS, or so, you can have often weird permission problems where you can be root but cannot read then your user files and if you're only user than you're missing the root permissions. I'm often on an NFS file system where I have to copy files to a third location to be able to get hold of them as user or as root.
dmsetup makes a Virtual Device for what I get it for..
dm-crypt - a device-mapper crypto target is the Guide I am following..
How can I found out what the kernel trys to access?
Only by looking at the source code.
"device-mapper: version ioctl failed: Permission denied"
"device-mapper" seems to be a C source code file. It could be a driver file related with that software or part of the application software itself. "find . -name "device-mapper.*" should yield something.
The error message "version ioctl failed" could be composed. That is the source could look like this "printf [or printk] (... %s ioctl failed\n", err_string) or so.
But more probable is that you got really a permission problem as this would be an obvious error that other people would have already asked for on the WWW. Well, depends on how much popular the program is and what's the average user. Many people simply give up and look for another program.
But I would look first if your application software package has been installed properly. Sometimes you end up with a broken installation and don't know how and why and anything at all until you run into the first strange errors that nobody else has. ;)
Well its installed by Gentoo so its compiled for about 20 times already ;)
Its a program only SystemAdmins use.
I did found more stuff I found out thet device-mapper is the tool from Linux used for LVM and for making your own Devices.
I found this but that uses lots of loop drives.
and you only have 7..
And well I need to be able to run atleast 30 Encrypted Disks at the same time..
I also did post the Question on the Gentoo forums now.
Thanks alot already :)