public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: James Klaas <jklaas@appalachian.dyndns.org>
Cc: xfs@oss.sgi.com
Subject: Re: Is my partition repairable?
Date: Sat, 19 Apr 2008 23:38:25 -0500	[thread overview]
Message-ID: <480AC8C1.1050102@sandeen.net> (raw)
In-Reply-To: <18b102300804090813u24423515k4c478635494534dc@mail.gmail.com>

James Klaas wrote:
> I've been struggling to recover/repair an XFS partition that is on a
> Linux software raid.  This is on Ubuntu Feisty (7.04) with xfsprogs
> v2.8.18.
> 
> When I try to mount the system, it attempts a recovery:
> 
> [127094.470809] Filesystem "md0": Disabling barriers, not supported by
> the underlying device
> [127094.471954] XFS mounting filesystem md0
> [127094.613551] Starting XFS recovery on filesystem: md0 (logdev: internal)
> [127094.858897] Filesystem "md0": XFS internal error
> xfs_btree_check_sblock at line 334 of file fs/xfs/xfs_btree.c.  Caller
> 0xf8eda9fb

The simplest approach, though perhaps not the least prone to data loss,
is to run xfs_repair with the -L option to zero out the log before
proceeding.

You could also mount -o ro,norecovery first to back up as much critical
data as possible, beforehand.

-Eric

  reply	other threads:[~2008-04-20  4:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 15:13 Is my partition repairable? James Klaas
2008-04-20  4:38 ` Eric Sandeen [this message]
2008-04-22 12:44   ` James Klaas

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=480AC8C1.1050102@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=jklaas@appalachian.dyndns.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