On Tue, Jan 6, 2015 at 6:39 AM, David Raffelt
> 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
> 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?