public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Florac <eflorac@intellique.com>
To: Dave Chinner <david@fromorbit.com>
Cc: xfs@oss.sgi.com
Subject: Re: Corrupted filesystem: thoughts?
Date: Tue, 7 Oct 2014 13:22:10 +0200	[thread overview]
Message-ID: <20141007132210.55b2183a@harpe.intellique.com> (raw)
In-Reply-To: <20141007105657.GO2301@dastard>

Le Tue, 7 Oct 2014 21:56:57 +1100
Dave Chinner <david@fromorbit.com> écrivait:

> Is the log clean? (use xfs_logprint -t <dev> to determine that)
> 

No, it wasn't, that was probably the source of most of the ominous
messages. The many files in lost+found were probably deleted files

In case this may help someone, before running xfs_repair I've mounted
the volume in "ro,nonrecovery" mode, then ran this command to make a
listing of files with their inodes: 

 find /mnt/raid/ -print0 | xargs --null ls -di | gzip - > FILELIST.gz

Now I can reconnect manually most of the files in lost+found by
searching for them in FILELIST.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

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

  reply	other threads:[~2014-10-07 11:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07  7:35 Corrupted filesystem: thoughts? Emmanuel Florac
2014-10-07  7:59 ` Emmanuel Florac
2014-10-07 10:59   ` Dave Chinner
2014-10-07 10:56 ` Dave Chinner
2014-10-07 11:22   ` Emmanuel Florac [this message]
2014-10-07 19:53     ` Dave Chinner

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=20141007132210.55b2183a@harpe.intellique.com \
    --to=eflorac@intellique.com \
    --cc=david@fromorbit.com \
    --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