Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2004 08:32:57 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: /dev/md0 keeps mounting on /var
Message-ID:  <20041004153257.GA30883@odin.ac.hmc.edu>
In-Reply-To: <20041004173545.3af254c6@it.buh.tecnik93.com>
References:  <20041004173545.3af254c6@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Oct 04, 2004 at 05:35:45PM +0300, Ion-Mihai Tetcu wrote:
> For some time I keep getting /dev/md0 mounting on /var as the last mount
> when going to multi-user. The obvious result is that all services that
> use /var fail to start/function properly. Since I donīt use it I
> suppose Iīve done something wrong with mergemaster.
> 
> The only workaround Iīve found is to rename /boor/kernel/g_md.ko.
> 
> And since I just canīt fix this since ~ beta4 could someone point me
> where to look ?

This is proably happening because your /var is failing the writability
test in /etc/rc.d/var.  One situation I can of where this could happen
and you would otherwise have a valid /var would be if you have a
read-only NFS root and an NFS /var.  In that cause /var wouldn't be
mounted yet because mountcritremote wouldn't be run yet.  Is this or
something similar the case for you?  You can try setting varmfs="NO" and
populate_var="NO" in /etc/rc.conf to disable this script.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBYW0pXY6L6fI4GtQRAkHsAKCWJGsbugd9A5laGVPvKX1I82tNxACgnzwf
GXiN20wtUNZTOln+Y7cQac0=
=GuPd
-----END PGP SIGNATURE-----

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