[OmniOS-discuss] Scrub behavour and set readonly=on

Richard Elling richard.elling at richardelling.com
Sun Nov 30 03:25:01 UTC 2014


On Nov 25, 2014, at 11:31 AM, steve at linuxsuite.org wrote:

> 
> Howdy
> 
>       zfs get all
> 
>        AND
> 
>      zpool get all
> 
>        have settings for readonly
> 
>        readonly       off         default
> 
>     if I set readonly=on
> 
>       will this affect scrub and its ability to fix errors?
> 
>       For both zfs and zpool settings?
> 
>      If I set
>         zfs set readonly=on
> 
>      scrub will start and not complain... can it still fix errors?

yes

> 
>            What about for
> 
>              zpool set readonly=on

If the pool is imported readonly, then there should be no writes at all, and hence, no
data correction.
 -- richard

> 
>          thanx - steve 	omnios-discuss at lists.omniti.com
> 
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss



More information about the OmniOS-discuss mailing list