Date: Mon, 28 Sep 2009 21:04:38 +0200 From: Oliver Lehmann <lehmann@ans-netz.de> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: =?UTF-8?B?U23DuHJncmF2?= <des@des.no>, Dag-Erling, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: glabel+gmirror (8.0-RC1 problem) Message-ID: <20090928210438.ddd2af93.lehmann@ans-netz.de> In-Reply-To: <20090928184926.GA2016@garage.freebsd.pl> References: <20090927170244.0980d699.lehmann@ans-netz.de> <20090927223725.5893371f.lehmann@ans-netz.de> <20090928084035.GB1659@garage.freebsd.pl> <20090928203756.ef70e0c6.lehmann@ans-netz.de> <20090928184926.GA2016@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek wrote: > Yes. tunefs(8) updates only on-disk super-block, but the kernel holds > super-block that was read before. Now when you do 'mount -rw /' the > in-kernel super-block is stored to the disk, and there is nothing about > your label in there, so it gets overwritten. Ok this sounds familar to me - maybe I have read about this before ;) What would be the prefered way to label the root partition and changing fstab without entering the root partition at bootup manually at least once? Is there a way to do so? I noticed that even when I boot in multiuser, change fstab, then return into single user mode and remount / read-only, the label cannot be set. I need to boot directly into single user mode. Looks like writing the label is denied when the partition was once mounted rw before - even if it is actually mounted ro. -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090928210438.ddd2af93.lehmann>