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.
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.) 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.
The system, upon POST, does recognize the drive, just fine,
physically...but this is the third time I've lost the /var filesystem.
Right now, after trying to do a remote shutdown -r now, the system is
hung, at some point, which I won't be able to view until I get back
onsite.
On Fri, 7 Sep 2001, Eric Sandeen wrote:
> 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
>
>
>
|