Date: Fri, 4 Dec 2020 19:56:35 +0100 From: Michael Schuster <michaelsprivate@gmail.com> To: "Ivailo A. Tanusheff" <ITanusheff@postbank.bg> Cc: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: solved [Re: FreeBSD current: ZFS root mounted readonly at boot] Message-ID: <CADqw_g%2Bp_D7yy84Khv1Rj4fXxxWhQExtXACmYd7BPeJQ_HEchA@mail.gmail.com> In-Reply-To: <f6e5ce321e8c4dfaa47efb6cb3428163@postbank.bg> References: <CADqw_gKWzsyc3hpXiovw2zMsAfVyka=C8dhFTdd09i5waSH9Ew@mail.gmail.com> <CADqw_g%2B_ETguasuQq4SfmZjuEHg1AcG7avWFcd8qTU=0xq1NYw@mail.gmail.com> <f6e5ce321e8c4dfaa47efb6cb3428163@postbank.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 2, 2020 at 12:53 PM Ivailo A. Tanusheff <ITanusheff@postbank.bg> wrote: > > Hi, > > Can you provide: > zpool get all > > Regards, > Ivailo > > -----Original Message----- > From: owner-freebsd-fs@freebsd.org <owner-freebsd-fs@freebsd.org> On Beha= lf Of Michael Schuster > Sent: Wednesday, December 2, 2020 10:43 AM > To: freebsd-fs@freebsd.org > Subject: Re: FreeBSD current: ZFS root mounted readonly at boot > > Hi, > > On Sun, Nov 8, 2020 at 8:06 PM Michael Schuster <michaelsprivate@gmail.co= m> wrote: > > > > Hi all, > > > > I have a laptop with 12.2 RELEASE (ghostbsd) where I build CURRENT and = install it into a separate boot environment (described in the thread "Recip= e for compiling and installing CURRENT on 12.x RELEASE in a seperate boot e= nv?" on questions@). > > After initial difficulties, all zfs datasets I want mounted actually ar= e mounted at boot time, but "/" is mounted read-only, which causes a few er= ror messages in the log(s) and, I suspect, the failure of X to start at boo= t (I can log in on a text console and run startx fine). > > > > What I don't understand (and to which I haven't found anything helpful = nor current despite some effort) is this: > > > > $ zfs get all $ROOT | grep readonly > > $ROOT readonly on = temporary > > > > (changing this property - either when booted from this BE or from a 12.= 2 BE - doesn't change this behaviour at next boot). > > > > What can I do to change this? This behaviour is not visible in 12.2 > > > > > does anybody have a comment/opinion on this? Do I need to supply anything= specific? I just realised I sent the reply to Ivailo's question only to him ... sorry, that wasn't my intention. Be that as it may: this turned out to be this setting: root_rw_mount=3D"NO" in /etc/rc.conf, which seems to have been present (and ignored) since I installed this machine w. GhostBSD (12.1, then 12.2) in July, and only with the switch to CURRENT did it take effect, it appears. setting this to "YES" solved the issue immediately, / is now mounted rw. thx to all who pitched in. Michael --=20 Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_g%2Bp_D7yy84Khv1Rj4fXxxWhQExtXACmYd7BPeJQ_HEchA>