public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: "Niccolò Belli" <darkbasic@linuxsystems.it>
Cc: xfs@oss.sgi.com
Subject: Re: How to recover data from an xfs partition
Date: Fri, 18 May 2012 12:46:30 -0500	[thread overview]
Message-ID: <4FB68AF6.1090303@sandeen.net> (raw)
In-Reply-To: <4FB66430.9040202@linuxsystems.it>

On 5/18/12 10:01 AM, Niccolò Belli wrote:
> Hi,
> 
> Il 18/05/2012 16:31, Ben Myers ha scritto:
>> I recommend you give it a shot with the latest xfsprogs.  However, it may be
>> that your filesystem has been corrupted beyond repair.
> 
> I succeeded recovering something with xfsprogs 3.1.8, but no more than 1GB of data (~5%).
> 
> Fortunately I managed to save some precious config files, considering I had a 6 months old backup the disaster is a bit less catastrophic.
> 
> I had a bad time replacing corrupted data from the other ten ext4 virtual machines, but they didn't give me too much troubles compared to xfs. How ironic that the data loss happened during the installation of the backup system...
> 
> To be honest I don't know if I will use xfs anymore, unfortunately I need per-directory quota and it is the only viable solution.

You're welcome to follow your heart on choice of filesystem of course, but without knowing what happened to your storage, it's a little bit of a stretch to blame xfs.

Just based on:

> xfs_check: /dev/loop51 is not a valid XFS filesystem (unexpected SB magic number 0xeb639010) 

it appears that something scribbled all over your storage (i.e. the file backing it - what was that stored on?)  What it was that did the scribbling, and how much it scribbled is unknown, and it may or may not have been more significant than whatever hit your ext4 partitions.

I do not think you encountered an xfs bug; something else severely damaged your block device.

-Eric


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

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

  reply	other threads:[~2012-05-18 17:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 17:28 How to recover data from an xfs partition Niccolò Belli
2012-05-18 14:31 ` Ben Myers
2012-05-18 15:01   ` Niccolò Belli
2012-05-18 17:46     ` Eric Sandeen [this message]
2012-05-18 20:57       ` Niccolò Belli
2012-05-18 22:47         ` Eric Sandeen
2012-05-18 23:36           ` Niccolò Belli
2012-05-21  7:44         ` Michael Monnerie
2012-05-21  8:23           ` Niccolò Belli

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=4FB68AF6.1090303@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=darkbasic@linuxsystems.it \
    --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