[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#690071: ecryptfs: corrupted files on a disk full event



Hello Jonathan und Thyler,

Applying all 5 patches fixed all issues for me.

I don't get any zero sized files anymore with a full disk (find
$HOME/.Private/ -size 0c). I can even login with the user having a full
disk (before often a broken .ICEauthority made this inpossible. I could
not see any data corruptions in applications (Evolution, Iceweasel).

The dd command which fills up the disk also exits correctly.

Thanks

$ dd if=/dev/zero of=disk-full
dd: Schreiben von „disk-full“: Auf dem Gerät ist kein Speicherplatz mehr
verfügbar
6579+0 Datensätze ein
6578+0 Datensätze aus
6898343936 Bytes (6,9 GB) kopiert, 75,1908 s, 91,7 MB/s

I see a lot of errors in dmesg, but these seem to be related to the full
disk write operation:

[  554.634486] ecryptfs_encrypt_page: Error attempting to write lower
page; rc = [-28]
[  554.634492] ecryptfs_write_end: Error encrypting page (upper index
[0x0000000000000054])
[  570.567506] ecryptfs_write_metadata_to_contents: Error attempting to
write header information to lower file; rc = [-28]
[  570.567517] ecryptfs_write_metadata: Error writing metadata out to
lower file; rc = [-28]
[  570.567524] Error writing headers; rc = [-28]
[  580.071153] ecryptfs_write_metadata_to_contents: Error attempting to
write header information to lower file; rc = [-28]
[  580.071164] ecryptfs_write_metadata: Error writing metadata out to
lower file; rc = [-28]


Reply to: