Drive ran out of storage, now has space missing

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

 



A few days ago, a batch process I was running accidentally exhausted
100% of my partition's storage. One directory on this partition is
encrypted with dm-crypt.


After killing the process, I tried to free up some space by deleting
files from the encrypted directory. Strangely, after RM-ing ~4 GB of
files, I noticed that "df -h" showed that there wasn't any additional
free space.

df's "Used" column value was decreasing, but the "Avail" column wasn't
increasing.

When I RM-ed files outside of the encrypted directory (but on the same
partition), "df -h" behaved normally (with "Used" decreasing as
"Avail" increased).

dmesg had many messages of the type:
[  140.267890] ecryptfs_encrypt_page: Error attempting to write lower
page; rc = [-28]
[  140.267894] ecryptfs_write_end: Error encrypting page (upper index
[0x0000000000000000])

Those messages stopped appearing (after space was freed and I
rebooted), but now there are intermittent messages of the type:
[18819.518304] Valid eCryptfs headers not found in file header region
or xattr region
[18819.518311] Either the lower file is not in a valid eCryptfs
format, or the key could not be retrieved. Plaintext passthrough mode
is not enabled; returning -EIO


As of now, dm-crypt seems to be working fine, and all the encrypted
files (that i know of) are completely accessible.

However, the dmesg warning still appears intermittently (is there any
way to identify what file access is causing it?).

** More importantly, the ~4 GB of files (that I deleted during the
out-of-storage event), seems to have vanished from accessible storage:

$ df -h
...
/var/encrypted/.Private
                       74G   40G   30G  58% /var/encrypted
...


Any advice?

Best,
Nick
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux