xfs
[Top] [All Lists]

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

To: "David Chinner" <dgc@xxxxxxx>
Subject: Re: mount: /dev/md0: can't read superblock
From: "Greg Martyn" <greg.martyn@xxxxxxxxx>
Date: Sun, 21 Oct 2007 23:47:35 -0400
Cc: "Eric Sandeen" <sandeen@xxxxxxxxxxx>, xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8oHQ5TYnjc+B0wtXDvCKU43FN3dzTaoyuzhN3b5CM2Y=; b=UfveOv6mZtlbwdtiPYo6c+e+tTIJXhpxl/c2os0Xsm48fRyhs1E7TbuyCKeA/jpoaM1XEcOi1w81ABynfZ6GeKyofVLT1ZXM43dmUGt/rFK5kmv79IeML+cpVOJdZyGavFrhALpBAphp8qYP6CRqxMigwE53ZMub+r11dkxkwb0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=g0+JOISNM8x7T2aDG3Iz1I8bpawZUE0nBZ2y2fbRx/zb3gHWfGBN4z6TwsSIXulYc8RodO+SIKjJ9yBvTqY9HuWJxEABEzh6HULpDSY5Qm1VW78Nxf7iGAU7YoAPTbNyB5y/L85/6W/MGK+OSHKVCMrRigHUte9HYnTuLw1ja7M=
In-reply-to: <20071022005258.GX995458@sgi.com>
References: <6e0c99d0710201802v2f41577dv38281b936a2389bf@mail.gmail.com> <471BEDCD.3040104@sandeen.net> <20071022005258.GX995458@sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
Thank you Eric and David. xfs_repair repaired the filesystem. I forgot
to save the output of xfs_fsr (in case you were curious about what
went wrong), but everything seems to be working fine again.

I just won't be defragging again any time soon ;-)

Thanks,
greg

On 10/21/07, David Chinner <dgc@xxxxxxx> wrote:
> 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>