From owner-freebsd-questions Fri Oct 4 6:27: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0B0F37B401 for ; Fri, 4 Oct 2002 06:27:03 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65BDE43E6A for ; Fri, 4 Oct 2002 06:27:02 -0700 (PDT) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.6/8.12.5) with ESMTP id g94DS4M2021662; Fri, 4 Oct 2002 15:28:05 +0200 (CEST) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.6/8.12.6/Submit) id g94DS49c021661; Fri, 4 Oct 2002 15:28:04 +0200 (CEST) Date: Fri, 4 Oct 2002 15:28:04 +0200 From: Ruben de Groot To: Nick Tonkin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Trouble mounting the root filesystem Message-ID: <20021004132804.GA21467@ei.bzerk.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 [77545/16/63] at ata2-master ~ > UDMA 100 > 0 READY ad6: 38166MB [77545/16/63] at ata3-master ~ > UDMA 100 > > But when I boot the system I just get the old: > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:da0s1a > ? List valid disk boot devices > 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