Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2012 08:28:17 +0100
From:      Peter Maloney <peter.maloney@brockmann-consult.de>
To:        freebsd-fs@freebsd.org
Subject:   Re: ZFS boots RO
Message-ID:  <4F322411.9020003@brockmann-consult.de>
In-Reply-To: <CADuk1n3UPi2KtezhX-daCqztTzdZ_hewve2pidiOr_Q=OFxhpA@mail.gmail.com>
References:  <CADuk1n2buX0cbqg4-RjR_MHg-fQoFjPYzVyHYp-uBeUyAGfz0Q@mail.gmail.com>	<CALfReye4v=EoE6Z6Pf=BOWxL%2BaK4p%2Bc2TV1YtETUGsSs5pYdiw@mail.gmail.com> <CADuk1n3UPi2KtezhX-daCqztTzdZ_hewve2pidiOr_Q=OFxhpA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/08/2012 01:28 AM, Patrick Dorion wrote:
> There were no options but now the kernel's output shows:
>
> Root mounting from zfs:zroot [rw]...
>
> Though it remains read only.
Are you sure the pool is read only, or only the datasets?

# zpool get readonly examplepool
NAME  PROPERTY  VALUE   SOURCE
tank  readonly  off     -

# zfs get readonly examplepool
NAME  PROPERTY  VALUE   SOURCE
tank  readonly  off     default

Try this:

        zpool set readonly=off rootpool
        zfs set readonly=off rootpool

        mount -a
        zfs mount -a
        mount -o rw,remount rootpool/


>
> On Tue, Feb 7, 2012 at 4:21 PM, krad <kraduk@gmail.com> wrote:
>
>>
>> On 7 February 2012 15:56, Patrick Dorion <dorionpatrick@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I've been having a problem for some time now.  When I reboot, the root ZFS
>>> mounts readonly=on source=temporary.  As a result, it's unable to launch
>>> the services and the buffer is rather uninformative about the condition.
>>>
>>> I thought it was a problem in the configuration but I destroyed the zpool
>>> before installing 9.0-R and I tried to reboot with and without
>>> loader.conf,
>>> rc.conf and fstab configuration parameters for the filesystem.  The only
>>> non-default setting for the filesystem is utf8only=on and I never had an
>>> issue with that in the past.
>>>
>>> Any ideas?
>>>
>>>
>>> youe
>>> Patrick Dorion
>>> _______________________________________________
>>> freebsd-fs@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>>>
>> have you got similar in your loader.conf?
>>
>> vfs.root.mountfrom="zfs:system-4k/be/root20120104"
>> vfs.root.mountfrom.options=rw
>>
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"


-- 

--------------------------------------------
Peter Maloney
Brockmann Consult
Max-Planck-Str. 2
21502 Geesthacht
Germany
Tel: +49 4152 889 300
Fax: +49 4152 889 333
E-mail: peter.maloney@brockmann-consult.de
Internet: http://www.brockmann-consult.de
--------------------------------------------




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