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.
-- Chris Gerhard. __o __o __o Systems TSC Chief Technologist _`\<,`\<,`\<,_ Sun Microsystems Limited (*)/---/---/ (*) Phone: +44 (0) 1252 426033 (ext 26033) http://blogs.sun.com/chrisg
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss