You are not logged in.
I have a luks partition that gets "locked" frequently, although it is unmounted. Like this:
sudo cryptsetup luksClose /dev/mapper/cryptstore
Device /dev/mapper/cryptstore is busy.
Reboot solves the issue, but I dont want to reboot evereytime I close this partition.
sudo lsof /dev/mapper/cryptstore gives no output. The version is cryptsetup 1.2.0-1.
Here is the stat output
sudo stat cryptstore
File: `cryptstore' -> `../dm-5'
Size: 7 Blocks: 0 IO Block: 4096 symbolic link
Device: 5h/5d Inode: 813731 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2011-05-19 22:28:32.693345041 +0200
Modify: 2011-05-19 22:28:32.690011707 +0200
Change: 2011-05-19 22:28:32.690011707 +0200
Birth: -
Offline