[EMAIL PROTECTED] wrote:
gary,
---- Original message ----
Date: Sat, 20 Aug 2005 12:13:32 -0700
From: Gary Clemans-Gibbon <[EMAIL PROTECTED]>
Subject: Re: Boot hanging following power out - it's worse
Cc: OpenBSD misc-list <misc@openbsd.org>
I rebooted the box and now it is hanging with
Automatic boot in progress: starting file system checks.
/dev/rwd0a: file system is clean; not checking
and that's the last thing it says.
I'm pretty desperate here, there is data on these disks that
I cannot
lose since my last backup.
many many thanks in advance,
Gary
i would follow the advice of the failure: run fsck manually.
to do this boot into single user mode by issuing "boot -s" at
the boot prompt. then "fsck -p /dev/wd0a" or whatever
partition of whatever drive you want. i usually try to get all
the partitions to check out before i manually mount them with
"mount /dev/wd0a /", etc.
then see if your data is accessible and try to boot into
multiuser mode.
hth,
jake
Gary Clemans-Gibbon wrote:
Hi,
I have an i386 3.7 release generic box running as a file
server in my
home with three hdds, one for os, two for data. We just had
a power
surge/outage that lasted a split second but now the box
hangs on boot
with the following..
Can't open /dev/rwd1a: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rwd1a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
The boot stops at that point. /dev/rwd1a is one of the data
disks. The
other checks fine. Please can someone tell me how to get
the box to boot
and how to fix this please.
Thanks in advance
Gary
.
Thanks Dick,
I now have the box booted OK but the two data drives are not mounted,
their entries in fstab are commented out.
As I understand it the drives need to be mounted to run fsck but I can't
mount them as it tells me to run fsck!
Basically please can you tell me the command to run fsck on an unmounted
drive that appears in fstab as follows...
#/dev/wd1a /data1 ffs rw 1 2
Sorry to be such a newb but I find the man page a little confusing and
the -p option you gave seems to require the device to be mounted.
Also I thought that you needed to supply a (mounted) path to fsck like
fsck /data1
Can I do
fsck /dev/wd1a ? If so what parameters do I need to add.
Also should I be using fsck_ffs ? Whats the difference?
Thanks
Gary