xfs
[Top] [All Lists]

Re: XFS corrupt after RAID failure and resync

To: David Raffelt <david.raffelt@xxxxxxxxxxxxx>
Subject: Re: XFS corrupt after RAID failure and resync
From: Stefan Ring <stefanrin@xxxxxxxxx>
Date: Tue, 6 Jan 2015 13:36:25 +0100
Cc: Linux fs XFS <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sVgplZ0zY/Ad8jCRH1eTgHge6VJGwRxqDhfJUZyiMzo=; b=a7t/SQNVM1m4r79bhktLoW+2N5X1aGRdNdZ5/Y8qdNf1mM9M37yjA0TVy7NoUapymT +JSrgzWL7/sXBrnkBmDUcGbAUHwWKv8+zvoGYEXewZNrYjIt6tHCnEDK91bCr05zQzUq 53CAJUFGEnp7i3IVjVfKTpDK0F6bpAIV/c+HfjSyHOsssjNjsH8zZS0nTTqft/5MvObT /2QR3mSTdlRBzqhcf5UtDBg63umrtcO0mASAGQFDuIu7ad5HrxEPz9yMCmqOKlrS+6OZ 8jOBMDSLBZXJr65kar/4XJ56qY+DTW+ijnLa2RGwBTIXnpURG5kPPvkb2MZ3fdGyfTnn OnLg==
In-reply-to: <CAOFq7B6eqEpGN2gcON-D63ZRf7AEabe2V_4q7jECZHk0t4etJQ@xxxxxxxxxxxxxx>
References: <CAOFq7B6eqEpGN2gcON-D63ZRf7AEabe2V_4q7jECZHk0t4etJQ@xxxxxxxxxxxxxx>
On Tue, Jan 6, 2015 at 6:39 AM, David Raffelt
<david.raffelt@xxxxxxxxxxxxx> wrote:
> Hi All,
>
> I have 7 drives in a RAID6 configuration with a XFS partition (running Arch
> linux). Recently two drives dropped out simultaneously, and a hot spare
> immediately synced successfully so that I now have 6/7 drives up in the
> array.
>
> After a reboot (to replace the faulty drives) the XFS file system would not
> mount. Note that I had to perform a hard reboot since the server hung on
> shutdown. When I try to mount I get the following error:
> mount: mount /dev/md0 on /export/data failed: Structure needs cleaning
>
> I have tried to perform: xfs_repair /dev/md0
> And I get the following output:
>
> Phase 1 - find and verify superblock...
> couldn't verify primary superblock - bad magic number !!!
> attempting to find secondary superblock...

This is certainly not what you want to hear, but I guess it will not
matter much what you do. If you want to, you can continue trying
everything for your own amusement, but I would say farewell to the
data on that RAID. A rebuild should not have any effect on the data
contained by the array. If it does, then something must have gone
wrong. And since something seems to have gone wrong, it has likely
gone wrong in a big way. What are the chances of just the tiny little
amount of data that XFS needs for mounting getting corrupted, while
everything else magically got away unscathed?

<Prev in Thread] Current Thread [Next in Thread>