Chris Gerhard wrote:
> Tim Foster wrote:
> 
>>
>> Yep, you can do that. It uses ZFS user properties and respects 
>> inheritance, so you can do:
>>
>> # zfs set com.sun:auto-snapshot=false rpool
>> # zfs set com.sun:auto-snapshot=true rpool/snapshot/this
>> # zfs set com.sun:auto-snapshot=false rpool/snapshot/this/but-not-this
> 
> Not quite.  I want to make the default for all pools imported or not to 
> not do this and then turn it on where it makes sense and won't do harm. 
> So it would only take a snapshot if auto-snapshot was set to "true". If 
> the property is not set then no snapshot.  Obviously property 
> inheritance would still be respected so to turn it on you just set the 
> property to true in the root of the pool.

I agree completely with Chris on this.  The the property is not present 
it MUST default to being false and MUST not be added as "true" without 
the admin intervention.   It is OK for this to be added as true to the 
rpool pool but not IMO to any pool that happens to get imported.

-- 
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to