All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Casey <markc@unifiedgroup.com>
To: linux-ext4@vger.kernel.org
Subject: Re: e2fsck repeatedly asks to clear the same entry?
Date: Sun, 25 Nov 2012 21:52:02 -0600	[thread overview]
Message-ID: <50B2E762.5040906@unifiedgroup.com> (raw)
In-Reply-To: <7BE44E5B-807D-4C20-8D49-88D0394147FD@gmail.com>

On 11/24/2012 1:17 PM, Andreas Dilger wrote:
>
> So this is the problematic entry. The directory entry looks ok, though it doesn't have the same name as e2fsck reports. It claims the entry is "A5 11-3", which is a bit bizarre.

My fault. I was initially inconsistent in deciding what parts of our 
real tree I wanted online. So there is nothing named "A5 11-3". Should 
not be an issue again; sorry to add complication.

>
> ...
>
> Yes, though if this directory is accessed it might turn the filesystem read-only.

Yep, it does.

>
>> These files are older so I wouldn't mind setting the permissions so that no one can get to them for a bit. What would I need to do to get a test case going?
>
> Just mark the parent directory inaccessible:
>
> # chmod 000 "/share/path/09/Brett/Pines/Flynt's Side Drive - Complete Archive Copy/SA Version Pines/Chris Pics 11-2-10/Group 5 11-3"
>

No problem. Once I've got that done I'll see what I can do with e2image. 
I really appreciate the input so I'd like to do whatever I can if you 
still think it might lead to some sort of bugfix. So far the only 
changes made were to restore the other files that the post-resize fsck 
had to remove/free. Final total was a couple gigs across 7 dirs.

I've looked for any stat differences between the current file tree and 
the one from the backup just before the resize. The only issue found is 
that there appear to be ~200 directories that were not removed by fsck 
but appear to have had their modtimes reset by it instead. The actual 
files contained were untouched. If that is also no big concern then I 
think later tonight, after/if I can get an e2image done, I'll just 
restore their modtimes from the backup to make things pretty again.

Thank you,
Mark


  reply	other threads:[~2012-11-26  3:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 18:26 e2fsck repeatedly asks to clear the same entry? Mark Casey
2012-11-23 19:18 ` Andreas Dilger
2012-11-24  6:27   ` Mark Casey
2012-11-24 19:17     ` Andreas Dilger
2012-11-26  3:52       ` Mark Casey [this message]
2012-11-24 17:34   ` Eric Sandeen

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=50B2E762.5040906@unifiedgroup.com \
    --to=markc@unifiedgroup.com \
    --cc=linux-ext4@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.