ZFS boots RO

Peter Maloney peter.maloney at brockmann-consult.de
Wed Feb 8 07:28:20 UTC 2012


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 at gmail.com> wrote:
>
>>
>> On 7 February 2012 15:56, Patrick Dorion <dorionpatrick at 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 at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at 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 at brockmann-consult.de
Internet: http://www.brockmann-consult.de
--------------------------------------------



More information about the freebsd-fs mailing list