public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Bennett <andyjpb@ashurst.eu.org>
To: xfs@oss.sgi.com
Subject: Re: XFS Recovery Behaviour
Date: Thu, 02 Aug 2012 01:23:57 +0100	[thread overview]
Message-ID: <5019C89D.2020303@ashurst.eu.org> (raw)
In-Reply-To: <5019C5F9.1080302@ashurst.eu.org>

Hi,

> I didn't expect to see the import-2012-07-04/ directory again and I
> certainly didn't expect to see it populated with the card-2/ subdirectory.

I've been moving the files to my archive disk and now import-2012-07-28/
seems to be in a pickle:


-----
$ ls -la import-2012-07-28/
total 0

$ rmdir import-2012-07-28/
rmdir: failed to remove `import-2012-07-28/': Directory not empty

$ rm -fr import-2012-07-28/
rm: cannot remove `import-2012-07-28': Directory not empty

$ cd import-2012-07-28/

$ ls -la
total 0

$ touch hello
touch: cannot touch `hello': No such file or directory

$ cd .

$ cd ..

$
-----


I can't seem to remove it. It doesn't seem to contain '.' or '..'
entries but I do seem to be able to 'cd' in and out of it with bash
4.2.36(1). I also seem to be able to 'cd .' whilst I am in it.




... I tried 'umount'ing and 'mount'ing the filesystem.
Now it shows up thusly in 'ls -la':

-----
??????????  ? ?       ?             ?            ? import-2012-07-28
-----

'umount'ing and 'mount'ing again results in the same thing.


dmesg shows this for the two "re"mounts:

-----
[48160.832197] XFS (sda10): Mounting Filesystem
[48161.047407] XFS (sda10): Ending clean mount
[48247.692309] XFS (sda10): Mounting Filesystem
[48247.844421] XFS (sda10): Ending clean mount
-----




Does anyone have any idea how I can remove this entry?





Regards,
@ndy

-- 
andyjpb@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2012-08-02  0:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02  0:12 XFS Recovery Behaviour Andy Bennett
2012-08-02  0:23 ` Andy Bennett [this message]
2012-08-02 17:42   ` Geoffrey Wehrman

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=5019C89D.2020303@ashurst.eu.org \
    --to=andyjpb@ashurst.eu.org \
    --cc=xfs@oss.sgi.com \
    /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