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:12:36 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <20010907190425.6CD6C139DC@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Mike Burger wrote:
> 
> I've got a drive that I think is flakey...but right now, it holds my
> /var file system.  I've done some considerable customization (considering
> that the installation of the OS only occurred yesterday) and I'd hate to
> have to reinstall the whole damned OS, again.
> 
> So, since the drive can't be mounted (error involves bad superblock), I'm
> in need of the name of a program I can run, manually, to check and repair
> the filesystem, if possible, so that I can then move the contents off to
> a replacement drive.

You can try xfs_repair - the filesystem should be unmounted, and you can
give it the "-n" option to see what it _would_ do, without actually
doing anything.

What sort of errors did you run into?  (Just making sure it's a hardware
problem...)

-Eric


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


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