Hi--

I'm no user property expert, but I have some syntax for you to try to
resolve these problems. See below.

Maybe better ways exist but one way to correct datapool inheritance of
com.sun:auto-snapshot:dailyy is to set it to false, inherit the false
setting, then reset the correct property at the datapool/system level.

If this is what happened:

# zfs set com.sun:auto-snapshot:dailyy=true datapool
# zfs get com.sun:auto-snapshot:dailyy datapool datapool/system
NAME             PROPERTY                      VALUE   SOURCE
datapool         com.sun:auto-snapshot:dailyy  true    local
datapool/system com.sun:auto-snapshot:dailyy true inherited from datapool


Fix like this:

# zfs set com.sun:auto-snapshot:dailyy=false datapool
# zfs inherit -r com.sun:auto-snapshot:dailyy datapool
# zfs get com.sun:auto-snapshot:dailyy datapool datapool/system
NAME            PROPERTY                      VALUE   SOURCE
datapool        com.sun:auto-snapshot:dailyy  -       -
datapool/system com.sun:auto-snapshot:dailyy  -       -

Then, reset at the right level:

# zfs set com.sun:auto-snapshot:daily=true datapool/system
# zfs get com.sun:auto-snapshot:daily datapool datapool/system
NAME             PROPERTY                     VALUE       SOURCE
datapool         com.sun:auto-snapshot:daily  -           -
datapool/system  com.sun:auto-snapshot:daily  true        local


Thanks,

Cindy




On 05/31/10 06:44, wojciech wrote:
Hi,

I created couple zfs fs: datapool datapool/system
datapool/system/mikkel
datapool/users
datapool/users/john ... I have set com.sun:auto-snapshot:daily to true on datapool/users and set inherit -r to datapool/users.
datapool/users/john com.sun:auto-snapshot:daily  true     inherited from 
dataPool/users

I wanted to do the same with system users:
but i didn't notice that instead of datapool/system  I set datapool in inherit 
-r and all users under datapool/system inherits settings from datapool.

How to revert this setting to default or change to correct one.

I have also mistype feature com.sun:auto-snapshot:dailyy with double yy how to 
get rig of it.
thanks
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to