[zfs-discuss] Send Receive (and why does 'ls' modify a snapshot?)

2009-02-04 Thread Tony Galway
I am trying to keep a file system (actually quite a few) in sync across two systems for DR purposes, but I am encountering something that I find strange. Maybe its not strange, and I just don't understand - but I will pose to you fine people to help answer my question. This is all scripted, but

Re: [zfs-discuss] Send Receive (and why does 'ls' modify a snapshot?)

2009-02-04 Thread Greg Mason
Tony, I believe you want to use zfs recv -F to force a rollback on the receiving side. I'm wondering if your ls is updating the atime somewhere, which would indeed be a change... -Greg ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

Re: [zfs-discuss] Send Receive (and why does 'ls' modify a snapshot?)

2009-02-04 Thread Andrew Gabriel
Greg Mason wrote: Tony, I believe you want to use zfs recv -F to force a rollback on the receiving side. I'm wondering if your ls is updating the atime somewhere, which would indeed be a change... Yes. If you want to have a look around it, cd into the last snapshot and look around in

Re: [zfs-discuss] Send Receive (and why does 'ls' modify a snapshot?)

2009-02-04 Thread Tony Galway
Thanks ... the -F works perfectly, and provides a further benefit in that the client can mess with the file system as much as they want for testing purposes, but when it comes time to ensure it is synchronized each night, it will revert back to the previous state. Thanks -Tony -- This message

Re: [zfs-discuss] Send Receive (and why does 'ls' modify a snapshot?)

2009-02-04 Thread Sanjeev
Tony, On Wed, Feb 04, 2009 at 09:10:26AM -0800, Tony Galway wrote: Thanks ... the -F works perfectly, and provides a further benefit in that the client can mess with the file system as much as they want for testing purposes, but when it comes time to ensure it is synchronized each night, it