Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 12:17:08 +0100
From:      Brian Somers <brian@freebsd-services.com>
To:        "Mark Blackman" <mark@blackmans.org>
Cc:        thomas@noproblem.net, freebsd-questions@freebsd.org, freebsd-users@uk.freebsd.org, brian@freebsd-services.com
Subject:   Re: Automatic file system check failed ... help 
Message-ID:  <200109261117.f8QBH8U21595@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Mark Blackman" <mark@blackmans.org>  of "Wed, 26 Sep 2001 08:59:37 BST." <20010926075937.7F1D549@wireless-067-034.tele2.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
You'll need to ``mount -a'' when you get your single-user shell too 
(to get / in a writable state and mount /usr).

> of the cuff, I'd say it sounds like you're missing the /dev entries
> for those disks on the second machine, try
> 
> cd /dev && sh MAKEDEV da0s1h && sh MAKEDEV da1s1h
> 
> (after you get it booted up).
> 
> - Mark
> 
> > Hi!
> > 
> > I have two SCSI disks from a FreeBSD 4.2 machine I would like to add
> > into a FreeBSD 4.0 machine. The idea being that the FreeBSD 4.2 machine
> > experienced a kind of crash (disk partly erased due to a typo) and I
> > would like to 'see' what can be retrieved from these disks ...
> > 
> > On the 'old' machine the file system was:
> > 
> > <quote>
> > /dev/da1s1a  /
> > /dev/da0s1e  /home
> > /dev/da1s1e  /var
> > <unquote>
> > 
> > On the 'new' machine it is:
> > 
> > <quote>
> > /dev/ad0s1a  /      ufs  rw  2  2
> > /dev/ad0s1f  /usr   ufs  rw  2  2
> > <unquote>
> > 
> > I have added the following entries in /etc/fstab:
> > 
> > <quote>
> > /dev/da1s1a  /zeus0  ufs  ro  2  2
> > /dev/da0s1e  /zeus1  ufs  ro  2  2
> > /dev/da1s1e  /zeus2  ufs  ro  2  2
> > <unquote>
> > 
> > But when I reboot, I get:
> > 
> > <quote>
> > Can't stat /dev/da1s1a: no such file or directory
> > Can't stat /dev/da0s1e: no such file or directory
> > Can't stat /dev/da1s1e: no such file or directory
> > 
> > Can't stat /dev/da1s1a: no such file or directory
> > /dev/da1s1a: CAN'T CHECK FILE SYSTEM
> > /dev/da1s1a: UNEXPECTED INCONSISTENCY;
> >              RUN fsck MANUALLY
> > 
> > Can't stat /dev/da1s1e: no such file or directory
> > /dev/da0s1e: CAN'T CHECK FILE SYSTEM
> > /dev/da0s1e: UNEXPECTED INCONSISTENCY;
> >              RUN fsck MANUALLY
> > 
> > Can't stat /dev/da1s1e: no such file or directory
> > /dev/da1s1e: CAN'T CHECK FILE SYSTEM
> > /dev/da1s1e: UNEXPECTED INCONSISTENCY;
> >              RUN fsck MANUALLY
> > 
> > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
> > /dev/da1s1a (/zeus0), /dev/da0s1e (/zeus1), /dev/da1s1e (/zeus2)
> > 
> > Automatic file system check failed ... help
> > <unquote>
> > 
> > I've lost '/dev/ad0s1f' and '/dev/ad0s1a' is read-only ....
> > 
> > Help, please!
> > 
> > Any help, all help welcome!
> > 
> > roboTomas

-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109261117.f8QBH8U21595>