Date: Sat, 15 Sep 2007 13:34:25 -0400 From: Gary Palmer <gpalmer@freebsd.org> To: Boris Samorodov <bsam@ipt.ru> Cc: freebsd-current@FreeBSD.org Subject: Re: incorrect mount order Message-ID: <20070915173425.GB927@in-addr.com> In-Reply-To: <77319690@srv.sem.ipt.ru> References: <77319690@srv.sem.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070915173425.GB927>
