Stuart Pook wrote:
> hi Jonas
> 
> On 04/09/09 00:11, Jonas Meurer wrote:
>> for more information see the upstream issue at
>> http://code.google.com/p/cryptsetup/issues/detail?id=34
> 
> I did so but I still have problems and this time it is not a snapshot device.
> 
> : root; cryptsetup luksOpen /dev/mapper/vg0-services_var services_var 
> --key-file /tmp/xx
> key slot 1 unlocked.
> Command failed: device-mapper: create ioctl failed: Device or resource busy
> 
> I don't understand why this fails. I have never made a snapshot of this 
> device (I rebooted last night).

run "dmsetup info -c" and check UUID for all devices which have CRYPT- prefix.

run "cryptsetup luksDump /dev/mapper/vg0-services_var services_var", see UUID 
field

and check that there is no active device from dmsetup above with that UUID 
(ignore CRYPT- prefix).

If so, it is why it fails - --non-exclusive as side effect create device 
without UUID set,
so for kernel it is new device and allows its creation.

If there is no device with the same UUID, it is probably different problem.

Milan




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to