-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey Bernhard,
Am 02.10.2011 17:36, schrieb Bernhard: > I have encrypted my USB Stick with CryptSetup and LUKS. It works > perfectly. > > If i try to mount the USB Stick, the gnome desktop environment asks > for the Passphrase. This works, i have access to the filesystem. > > At next, i have unmounted the USB Stick. During unmounting, > sometimes a window is shown with the following message (german): > "Auswerfen von 509 MB Filesystem nicht möglich. Medium konnte nicht > ausgeworfen werden. Ein oder mehr Speicherorte auf dem Medium sind > noch aktiv". Translated into english: "Unmounting of 509 MB > Filesystem not possible. Medium can't be unmounted. One or more > storage places of the medium are active". This is, even though no > file was opened on the filesystem. I have only mounted and > unmounted the encrypted filesystem. > > I have investigated the problem with the tool lsof. Result were two > additional tasks which possibly holds the filesystem: - scsi_eh_5 - > usb-storage > > If you need additional informations, please let me know. This > behaviour is reproducable on my computer. I'm pretty sure that this is not a bug in cryptsetup, but in some other package. Do you still discover this issue with recent Debian? Do the processes which access the filesystem (scsi_eh_5 and usb-storage) disappear after some time? A common reason for the issue you described are indexing processes (like nepomuk, strigi, ...) which read the content of a USB disk in the background. You should check which processes read/write to the device by executing 'lsof <device>' (e.g. '/dev/mapper/udisks-luks-uuid-1234-5678-90ab-cdef12345678-uid1000') and 'fuser -m <mount_point>', (e.g. '/media/fedcba09-8765-4321-fedc-ba09-87654321fedc'). Greetings, jonas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOnFNaAAoJEFJi5/9JEEn+DB4P+wZ8+ex4KuYq41sFSIE5xXkr /VQyYSIhQv2AGY9p2jrG7nnhVT+t9HkrD4g/WGCV+L4cBCRRSM9Wo+2FjNZRIiTS NrbJ6K7hAzRmGIFP/vs+1YDyX3xJ+gAmU3Fdo1YBrpq6RsjU2LOwNHP2Z39m5q9s di9BFCIkIVnKB6lKa1hTALCZVCniddJg61RIc7vMVYRoBlFFShTViCNX/jbYSkqp wIoxU4ODW+G7GS7sV9rx75lxd5Czzp2JOCfPdw2JlPJ8li77ZLORUiOouiicgwWo Y5KwcPUIaAS922M6C+ga6JqrmIUzSDSsswxmUtoWBWw2pZJqCc4dGHK5hluUxvk6 dXN3U1k/qrTDGUN73Co4CfB7sbOFOseHet5qRhZzp9w3YMUM1oq+pceNC3lhRgxQ lnZF26njoMmkWOxRJvMjJzqHsr0fU5lGqRCdwvfpoGv1q5tLlo9oWLuARiH3aiH0 9jnyHmpYe9Fp2gHa6teXN6evODFNOJoEKuQbySiWNXSMOyb92runlF/SwV7M0eaS qzcnJ+Yoy/VVBfIzQcckM46luMJ46PLfDk7fkD0k9oB9ag4a7mDJcytypSvuzYop lEH3MCG9BspREa3+zae5P/3Y99+T6zeOedw2E6uzPPwe+zSEAgJL3lW15Q4qK+qX JKu9VWbcMYoJ4IzCH7wR =ll1Z -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

