From owner-freebsd-current@FreeBSD.ORG Sat Sep 15 17:34:26 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CDA316A419 for ; Sat, 15 Sep 2007 17:34:26 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (unknown [IPv6:2001:5c0:8fff:fffe::214d]) by mx1.freebsd.org (Postfix) with ESMTP id 1FFF213C428 for ; Sat, 15 Sep 2007 17:34:26 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1IWbXF-0004oY-Bc; Sat, 15 Sep 2007 13:34:25 -0400 Date: Sat, 15 Sep 2007 13:34:25 -0400 From: Gary Palmer To: Boris Samorodov Message-ID: <20070915173425.GB927@in-addr.com> Mail-Followup-To: Boris Samorodov , freebsd-current@FreeBSD.org References: <77319690@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77319690@srv.sem.ipt.ru> Cc: freebsd-current@FreeBSD.org Subject: Re: incorrect mount order X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2007 17:34:26 -0000 On Sat, Sep 15, 2007 at 09:19:01PM +0400, Boris Samorodov wrote: > Hi! > > > This seems to be not correct (nullfs is probing/mounting before > apropriate filesystem when booting but mount -a is OK): > ----- > Trying to mount root from ufs:/dev/mirror/gm0s1a > start_init: trying /sbin/init > Loading configuration files. > kernel dumps on /dev/mirror/gm0s1b > Entropy harvesting: interrupts ethernet point_to_point kickstart. > swapon: adding /dev/mirror/gm0s1b as swap device > Starting file system checks: > /dev/mirror/gm0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/mirror/gm0s1a: clean, 59945 free (1377 frags, 7321 blocks, 0.5% fragmentation) > fsck: exec fsck_nullfs for /s/usr/ports/distfiles in /sbin:/usr/sbin: No such file or directory > fsck: exec fsck_nullfs for /s/usr/ports/distfiles in /sbin:/usr/sbin: No such file or directory Are you really sure that you want to try and fsck a nullfs mount? Surely the pass field in the fstab should be '0'? Gary > /dev/da1: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/da1: clean, 236247212 free (836 frags, 29530797 blocks, 0.0% fragmentation) > /dev/da0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/da0s1d: clean, 443939667 free (202715 frags, 55467119 blocks, 0.0% fragmentation) > /dev/mirror/gm0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/mirror/gm0s1e: clean, 253809 free (33 frags, 31722 blocks, 0.0% fragmentation) > /dev/mirror/gm0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/mirror/gm0s1f: clean, 8615465 free (46793 frags, 1071084 blocks, 0.4% fragmentation) > /dev/mirror/gm0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/mirror/gm0s1d: clean, 4532467 free (315 frags, 566519 blocks, 0.0% fragmentation) > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: > nullfs: /s/usr/ports/distfiles (/var/ftp/pub/FreeBSD/ports/distfiles) > Unknown error; help! > ERROR: ABORTING BOOT (sending SIGTERM to parent)! > SEnter full pathname of shell or RETURN for /bin/sh: > # kldstat > Id Refs Address Size Name > 1 3 0xffffffff80100000 aa4cd0 kernel > 2 1 0xffffffff80ba5000 56e8 nullfs.ko > 3 1 0xffffffff80bab000 20628 geom_mirror.ko > # mount > /dev/mirror/gm0s1a on / (ufs, local, read-only) > devfs on /dev (devfs, local) > # mount -a > # mount > /dev/mirror/gm0s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/mirror/gm0s1e on /tmp (ufs, local, soft-updates) > /dev/mirror/gm0s1f on /usr (ufs, local, soft-updates) > /dev/mirror/gm0s1d on /var (ufs, local, soft-updates) > /dev/da0s1d on /ms (ufs, local, soft-updates) > /dev/da1 on /s (ufs, local, soft-updates) > /s/usr/ports/distfiles on /var/ftp/pub/FreeBSD/ports/distfiles (nullfs, local) > # uname -a > FreeBSD amd.ipt.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Sep 14 12:16:31 MSD 2007 bsam@amd.ipt.ru:/usr/obj/usr/src/sys/GENERIC amd64 > ----- > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >