On Tue, Jun 29, 2010 at 10:32:24AM -0500, Richard Ray wrote: > I want to store private documents on a dvd so I followed this prescription > > dd if=/dev/zero of=loop bs=1G count=2 > losetup /dev/loop0 loop > cryptsetup --verbose --cipher "twofish-cbc-essiv:sha256" --key-size 256 > --verify-passphrase luksFormat /dev/loop0 > cryptsetup luksOpen /dev/loop0 loop > mke2fs -m0 -j /dev/mapper/loop > mount -t ext3 -o rw,defaults /dev/mapper/loop ~/mnt1 > cp -Rpv doc/ mnt1/ > umount mnt1 > cryptsetup luksClose loop > losetup -d /dev/loop0 > growisofs -dvd-compat -Z /dev/dvd=/video_1/loop > > > This all completed without errors > So then I > > cryptsetup luksOpen /dev/dvd dvd > mount -t ext3 -o rw,defaults /dev/mapper/dvd ~/dvd An "rw" mount for a DVD? No wonder you get problems. The journal and other data updated (e.g. last-access time stamp updates) must have piled up in the filesystem buffer. Umounting requires them to be flushed to disk, which cannto be done due to non-writability. Just use the following for mounting the mapped DVD: mount -t ext3 -o ro /dev/mapper/dvd ~/dvd That should fix things. Arno > No problems with that > I was able to read the documents on the dvd but there was a 30 second or > more delay > The delay got longer the more documents I tried to read > I descided to unmount the dvd but it would not unmount and locked the > computer so that I had to hard boot it > Where might I have gone wrong > > kernel-PAE-2.6.32.11-99.fc12.i686 > cryptsetup-luks-1.1.0-0.4.fc12.i686 > > Richard Ray > _______________________________________________ > dm-crypt mailing list > dm-crypt@xxxxxxxx > http://www.saout.de/mailman/listinfo/dm-crypt > -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@xxxxxxxxxxx GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt