xfs
[Top] [All Lists]

Re: mount: /dev/md0: can't read superblock

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: mount: /dev/md0: can't read superblock
From: David Chinner <dgc@xxxxxxx>
Date: Mon, 22 Oct 2007 10:52:58 +1000
Cc: Greg Martyn <greg.martyn@xxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <471BEDCD.3040104@sandeen.net>
References: <6e0c99d0710201802v2f41577dv38281b936a2389bf@mail.gmail.com> <471BEDCD.3040104@sandeen.net>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Sun, Oct 21, 2007 at 07:24:45PM -0500, Eric Sandeen wrote:
> Greg Martyn wrote:
> > Hi all,
> > After running "xfs_fsr -v /home", I got a bunch of error messages
> > saying that certain files (/home/.[three letters that i forgot])
> > couldn't be removed. After that, my system stopped working properly,
> > so I restarted. Now:
> > 
> > [root@localhost ~]# mount /dev/md0 /home/
> > mount: /dev/md0: can't read superblock
> > 
> > uh oh.
> 
> dmesg says it's corrupted.
> 
> You should probably run repair on it.  But being raid, if something went
> wrong w/ the raid, that could make it worse... run xfs_repair -n and see
> what it *would* fix.

xfs_repair does not check everything in the filesystem - some things it
simply rebuilds - like the free space btrees. you want to run xfs_check
to determine if the free space btrees are corrupt on disk or not.... ;)

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


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