Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-28 Thread Tim Foster
Chris Gerhard wrote: I'm not sure there's an easy way to please everyone to be honest :-/ I'm not sure you are right there. If there was an SMF property that you set to set the default behaviour and then you set it to true on something that looked like a laptop and false otherwise. Or you cou

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-27 Thread Ross
Yup, I'd agree with that too. If the desktop guys want snapshotting to be as simple as possible, could ZFS be configured so that this property is set on creation by default? That means that it's something that just works for the average user, more advanced users can create pools that don't auto

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-27 Thread Chris Gerhard
Tim Foster wrote: Chris Gerhard wrote: 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. Aah I see. That's the complete opposite of what the desktop folk wanted then - you want to opt-in, instead o

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-27 Thread Darren J Moffat
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 rpo

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Tim Foster
Chris Gerhard wrote: > 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. Aah I see. That's the complete opposite of what the desktop folk wanted then - you want to opt-in, instead of opt-out. For de

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Chris Gerhard
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

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Tim Foster
Chris Gerhard wrote: > This could be my misunderstanding of the parts of this. When I disabled > the auto-snapshot resulted in timeslider being disabled too. Yep, time-slider depends on auto-snapshot. > So what does the timeslider service do? It's a service written by the desktop guys that adds

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Chris Gerhard
Tim Foster wrote: Hi Chris, Chris Gerhard wrote: How can you disable the auto-snapshot service[s] by default without > disabling the timeslider > as well which appears to be the case if you disable the smf services. Not sure I follow - time slider depends on the auto-snapshot service to ta

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Tim Foster
Hi Chris, Chris Gerhard wrote: > With auto-snapshot still on are all the snapshots taken as a single > transaction as they would be with a recursive snapshot? Yep, it uses "zfs snapshot -r" when it can, degrading to snapshots of the individual datasets it can't recursively snapshot and recursiv

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Tim Foster
Hi Chris, Chris Gerhard wrote: > How can you disable the auto-snapshot service[s] by default without > disabling the timeslider > as well which appears to be the case if you disable the smf services. Not sure I follow - time slider depends on the auto-snapshot service to take snapshots... (doe

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Chris Gerhard
[EMAIL PROTECTED] wrote: Chris, Tim Foster sent out this syntax previously: zfs set com.sun:auto-snapshot=false dataset There is an obvious race condition here unless I can set the option when I import the pool which I don't think I can. I suppose the same problem will occur when creating

Re: [zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Cindy . Swearingen
Chris, Tim Foster sent out this syntax previously: zfs set com.sun:auto-snapshot=false dataset Unless I'm misunderstanding your questions, try this for the dataset on the removable media device. Let me know if you have any issues. I'm tracking the auto snapshot experience... Cindy Chris Ger

[zfs-discuss] Disabling auto-snapshot by default.

2008-10-24 Thread Chris Gerhard
How can you disable the auto-snapshot service[s] by default without disabling the timeslider as well which appears to be the case if you disable the smf services. Setting the properly in the root pool is ok except for removable media which I don't want to have snapshots taken in the time betwee