Date: Fri, 4 Oct 2002 15:28:04 +0200 From: Ruben de Groot <fbsd-q@bzerk.org> To: Nick Tonkin <nick@rlnt.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Trouble mounting the root filesystem Message-ID: <20021004132804.GA21467@ei.bzerk.org> In-Reply-To: <Pine.BSF.4.21.0210032245360.75299-100000@world.tonkinresolutions.com> References: <Pine.BSF.4.21.0210032245360.75299-100000@world.tonkinresolutions.com>
index | next in thread | previous in thread | raw e-mail
On Thu, Oct 03, 2002 at 11:02:24PM -0700, Nick Tonkin typed:
>
>
> Hello,
>
> Seems my new FreeBSD system can't mount from my RAID controller.
>
> Just installed FreeBSD 4.6.2 on a shiny new box with a Promise Fasttrack
> 100 onboard ATA RAID controller.
>
> The OS seems to recognize the array no problem:
>
> ar0: 38166MB ,ATA RAID1 array. [4865/255/63] status: READY subdisks:
> 0 READY ad4: 38166MB <WDC WD400BB-00DEA0> [77545/16/63] at ata2-master ~
> UDMA 100
> 0 READY ad6: 38166MB <WDC WD400BB-00DEA0> [77545/16/63] at ata3-master ~
> UDMA 100
>
> But when I boot the system I just get the old:
>
> Manual root filesystem specification:
> <fstype>:<device> Mount <device> using filesystem <fstype>
> eg. ufs:da0s1a
> ? List valid disk boot devices
> <empty line> Abort manual input
>
> mountroot>
>
>
> So I do what it says:
>
> mountroot>ufs:/dev/ar0s1a <<--- I can use ar0, ar0s1, ar0s1a: same effect
> Oct 3 23:00:17 init: login_getclass: unknown class 'daemon'
> /etc/rc: Can't open /etc/rc: No such file or directory
> Oct 3 23:00:17 init: /etc/spwd.db: No such file or directory
> Enter full pathname of shell or RETURN for /bin/sh:
You can not just put /etc on another filesystem. Many scripts and files
(/etc/rc, /etc/fstab to name two) are needed early in the boot proces, when
only root is mounted. This has nothing to do with your raid controller.
>
>
> So it looks like only the / fs mounted. So I mount the rest by hand:
>
> # mount /dev/ar0s1e /var
> # mount /dev/ar0s1f /etc
> # mount /dev/ar0s1g /usr
>
> But then when I check to see what happened:
> # mount
> /dev/ar0s1a on / (ufs, local, read-only)
> /dev/ar0s1e on /var (ufs, local, soft-updates)
> /dev/ar0s1f on /etc (ufs, local, soft-updates)
> /dev/ar0s1g on /usr (ufs, local, soft-updates)
>
> So it only mounts / read-only ... what's up with that?
>
> Any advice on how to get the system to automatically mount the filesystems
> we defined greatly appreciated.
>
> Thanks,
>
> - nick
>
> ~~~~~~~~~~~~~~~~~~~~
> Nick Tonkin {|8^)>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021004132804.GA21467>
