[wplug-bsd] help! fsck

Brandon Kuczenski bkuczens at andrew.cmu.edu
Wed Aug 25 23:08:29 EDT 2004


This is Brandon from WPLUG -- I've had a catastrophic failure on my server 
that I don't know how to fix and I need mail directed to this address 
until I get it fixed.

The problem is that somehow the box got rebooted (power failure? I was on 
vacation and don't know) and now it hangs on bootup when trying to mount 
the drive that's normally mounted at /home.  This physical drive was 
transferred from my linux box and was mounted as an ext2 file system (even 
though it was ext3, originally -- BSD doesn't support ext3).

The message it gives me is that the mount operation is not permitted 
because the device is not 'clean', and that I should run fsck on the 
drive.

The problem is, when I run fsck on the drive, I get the following output:

# fsck /dev/ad1s1
## /dev/ad1s1
BAD SUPER BLOCK: MAGIC NUMBER WRONG
ioctl (GCINFO): Invalid Argument
fsck: /dev/ad1s1: can't read disk label
#

I dn't know what this means, and I don't know how to get the system back 
running so that I (and my users) can access their home directories.  I 
don't know what will happen to mail being delivered when the home 
directories don't exist so I disabled mail delivery, and as soon as I send 
this message I'll shut down the box (which is why mail must be sent to the 
address bkuczens at andrew.cmu.edu in order for me to receive it).

Can you give me any hints what to do? I'm totally stumped.  Quick replies 
appreciated.

TIA,
Brandon



More information about the wplug-bsd mailing list