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, i

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 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 a

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 http:/

[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 statistics

2008-09-05 Thread Marcelo Leal
Thanks a lot for the answers! Relling did say something about checksum, i did ask to him about a more "detailed" explanation about it. Because i did not understand "what" checksum the receive part has to check, as the send can be redirected to a file on a disc or tape... In the end, i think i

Re: [zfs-discuss] send/receive statistics

2008-09-04 Thread Wade . Stuart
[EMAIL PROTECTED] wrote on 09/04/2008 03:40:46 PM: > > On 4-Sep-08, at 4:52 PM, Richard Elling wrote: > > > Marcelo Leal wrote: > >> Hello all, > >> Any plans (or already have), a send/receive way to get the > >> transfer backup statistics? I mean, the "how much" was transfered, > >> time and/or

Re: [zfs-discuss] send/receive statistics

2008-09-04 Thread Toby Thain
On 4-Sep-08, at 4:52 PM, Richard Elling wrote: > Marcelo Leal wrote: >> Hello all, >> Any plans (or already have), a send/receive way to get the >> transfer backup statistics? I mean, the "how much" was transfered, >> time and/or bytes/sec? >> > > I'm not aware of any plans, you should file

Re: [zfs-discuss] send/receive statistics

2008-09-04 Thread Richard Elling
Marcelo Leal wrote: > Hello all, > Any plans (or already have), a send/receive way to get the transfer backup > statistics? I mean, the "how much" was transfered, time and/or bytes/sec? > I'm not aware of any plans, you should file an RFE. > And the last question... i did see in many thread

[zfs-discuss] send/receive statistics

2008-09-04 Thread Marcelo Leal
Hello all, Any plans (or already have), a send/receive way to get the transfer backup statistics? I mean, the "how much" was transfered, time and/or bytes/sec? And the last question... i did see in many threads the question about "the consistency between the send/receive through ssh"... but no

Re: [zfs-discuss] send/receive

2008-07-26 Thread Justin Vassallo
Nico, I require pubkey auth on *all* my ssh sessions, thus achieving two-factor auth with minimal overheads. I'd thought this was widely implemented. PAMAuthenticationViaKBDInt actually works in practice for me, disallowing kyb interactive for all accounts. I've no clue how and why it worked, but

Re: [zfs-discuss] send/receive

2008-07-25 Thread Miles Nordin
> "jv" == Justin Vassallo <[EMAIL PROTECTED]> writes: jv> Any clues where I can get the upgrade from? type 'zpool upgrade -v' and follow the url there, which for me on SXCE b71 is: http://www.opensolaris.org/os/community/zfs/version/8/ so you will need sol10 u6, which is hard to trans

Re: [zfs-discuss] send/receive

2008-07-25 Thread Nicolas Williams
[OT, I know.] On Fri, Jul 25, 2008 at 07:14:09PM +0200, Justin Vassallo wrote: > Meanwhile, I had to permit root login (obviously disabled passwd auth; > PasswordAuthentication no; PAMAuthenticationViaKBDInt no). Why obviously? I think instead you may just want to: PermitRootLogin without-pass

Re: [zfs-discuss] send/receive

2008-07-25 Thread Carson Gaspar
Justin Vassallo wrote: > For the record, I am told that I will need to wait for S10 u6 for zfs > delegation; can't upgrade before that. > > Meanwhile, I had to permit root login (obviously disabled passwd auth; > PasswordAuthentication no; PAMAuthenticationViaKBDInt no). I'd suggest instead using

Re: [zfs-discuss] send/receive

2008-07-25 Thread Justin Vassallo
For the record, I am told that I will need to wait for S10 u6 for zfs delegation; can't upgrade before that. Meanwhile, I had to permit root login (obviously disabled passwd auth; PasswordAuthentication no; PAMAuthenticationViaKBDInt no). Also, the -R option does not work on this zfs version, so

Re: [zfs-discuss] send/receive

2008-07-25 Thread Mark Shellenbaum
Justin Vassallo wrote: > Indeed I want a permanent solution so I'll upgrade my zpool as suggested, > since that seems to be the only option > > I searched sunsolve for the relevant patches /package downloads and googled > zfs upgrade but only got references to documentation. Any clues where I can

Re: [zfs-discuss] send/receive

2008-07-25 Thread Justin Vassallo
Indeed I want a permanent solution so I'll upgrade my zpool as suggested, since that seems to be the only option I searched sunsolve for the relevant patches /package downloads and googled zfs upgrade but only got references to documentation. Any clues where I can get the upgrade from? I'm runnin

Re: [zfs-discuss] send/receive

2008-07-25 Thread Mark Shellenbaum
Justin Vassallo wrote: > Thanks Michale, > > that got me through to second round :) I eventually added /sbin to my > /etc/profile to avoid the mistake in future. > > So the issue is now with the USER rights on the zfs. How can I grant USER > rights on this zfs? Is upgrading to a zfs which support

Re: [zfs-discuss] send/receive

2008-07-25 Thread Michael Schuster
Justin Vassallo wrote: > Thanks Michale, > > that got me through to second round :) I eventually added /sbin to my > /etc/profile to avoid the mistake in future. > > So the issue is now with the USER rights on the zfs. How can I grant USER > rights on this zfs? Is upgrading to a zfs which support

Re: [zfs-discuss] send/receive

2008-07-25 Thread Justin Vassallo
Thanks Michale, that got me through to second round :) I eventually added /sbin to my /etc/profile to avoid the mistake in future. So the issue is now with the USER rights on the zfs. How can I grant USER rights on this zfs? Is upgrading to a zfs which supports 'zfs allow' my only option? ---jus

Re: [zfs-discuss] send/receive

2008-07-25 Thread Michael Schuster
Justin Vassallo wrote: > I created snapshot for my whole zpool (zfs version 3): > > > > zfs snapshot -r [EMAIL PROTECTED] +%F_%T` > > > > then trid to send it to the remote host: > > zfs send [EMAIL PROTECTED]:31:03 | ssh [EMAIL PROTECTED] > -i identitykey ‘zfs

[zfs-discuss] send/receive

2008-07-25 Thread Justin Vassallo
I created snapshot for my whole zpool (zfs version 3): zfs snapshot -r [EMAIL PROTECTED] +%F_%T` then trid to send it to the remote host: zfs send [EMAIL PROTECTED]:31:03 | ssh [EMAIL PROTECTED] -i identitykey 'zfs receive tank/tankbackup' but got the error "zfs: command not found" sin