DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Drive ran out of storage, now has space missing
Date: Sun, 29 Aug 2010 03:21:25 +0200	[thread overview]
Message-ID: <20100829012125.GA7690@tansi.org> (raw)
In-Reply-To: <AANLkTi=Zq2rGwpJrEyn3q4WY3xraQ=VYf6AcKP0WyDUG@mail.gmail.com>

On Sat, Aug 28, 2010 at 06:56:58PM -0500, Nick Semenkovich wrote:
> 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.

Aem, dm-crypt does not support directory encryption. You
must have a dm-crypt'ed partition or file mounted on that 
directory.
 
> 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.

See above. You deleted from the wrong partition.

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

Are you sure? That should not happen. Unless you read "used" for
the encrypted device and "avail" for the non-encrypted device.
 
> 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).

See above.

> 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])

I have no idea what these mean, but they are likely unrelated
to your other issue.

Arno
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
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 

  reply	other threads:[~2010-08-29  1:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28 23:56 [dm-crypt] Drive ran out of storage, now has space missing Nick Semenkovich
2010-08-29  1:21 ` Arno Wagner [this message]
     [not found]   ` <AANLkTi=U8cTH0H0fNXAtdnw3S28nbCphQ1APciNSV17o@mail.gmail.com>
2010-08-29  2:05     ` Nick Semenkovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100829012125.GA7690@tansi.org \
    --to=arno@wagner.name \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox