xfs
[Top] [All Lists]

Re: fsck equivalent?

To: Mike Burger <mburger@xxxxxxxxxxxxxx>
Subject: Re: fsck equivalent?
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Fri, 07 Sep 2001 14:30:29 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <Pine.LNX.4.33.0109071518090.15758-100000@linux.compucomis.net>
Sender: owner-linux-xfs@xxxxxxxxxxx
Mike Burger wrote:
> 
> Well, yesterday it was the disappearance of everything in the /var
> directory.  I shutdown and rebooted the system, and received a message
> during boot that /dev/hdb1 couldn't be mounted due to missing file system
> or bad superblock.

Hm, that's a generic mount error message that will happen for a variety
of reasons...
Sort of "windows-esque" if you ask me.  :)

Any other messages in the syslogs when you try to mount it?

> df showed mounts of /dev/hda1 (/boot), /devhda2 (/) and /dev/hdc1 (/home).
> 
> I tried, just for kicks, to fsck /dev/hdb1, but it came back with a
> message about a bad superblock (as it should have.)  

Actually, fsck should have run fsck.xfs, which is pretty simple:

int
main(int argc, char **argv)
{
        return 0;
}

:)

> I then tried to
> mkfs.xfs /dev/hdb1, and it came back with a message that there was
> already an XFS filesystem on the device.

Well, that's good news...

I suppose it's pretty possible that it is a bad disk, just wondered what
you had run into.

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


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