pechkin000
Explorer
- Joined
- Jan 24, 2014
- Messages
- 59
I have my main server set up with just one volume with 2 datsets on it set to do recursive snapshot as well as my new backup server with one dataset on it specifically for receiving replicated snapshots . I followed the instructions from http://doc.freenas.org/index.php/Replication_Tasks to a tee and everything seemed to work, the push server found the remote key from Pull. I am attaching what my task looks like on Push.
I was under impression that once the task is created, initial replication task should start immediately. I am at a loss as to what I did wrong or where to check what the problem may be. One thing, the dataset on Pull is shared via CIFS, is that a problem? The /var/run/autorepl.pid does not exist, so obvious initial replication is not happening. I have roughly around 3tb of data on push to be replicated. I ran
ssh -vv -i /data/ssh/replication hostname_or_ip
so here iw what I got:
I was under impression that once the task is created, initial replication task should start immediately. I am at a loss as to what I did wrong or where to check what the problem may be. One thing, the dataset on Pull is shared via CIFS, is that a problem? The /var/run/autorepl.pid does not exist, so obvious initial replication is not happening. I have roughly around 3tb of data on push to be replicated. I ran
ssh -vv -i /data/ssh/replication hostname_or_ip
so here iw what I got:
Code:
[root@freenas] ~# ssh -vv -i /data/ssh/replication 192.168.192.77 OpenSSH_6.2p2, OpenSSL 0.9.8za-freebsd 5 Jun 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to 192.168.192.77 [192.168.192.77] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /data/ssh/replication type 1 debug1: identity file /data/ssh/replication-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.2_hpn13v11 FreeBSD-20130515 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.2_hpn13v11 FreeBSD-20130515 debug1: match: OpenSSH_6.2_hpn13v11 FreeBSD-20130515 pat OpenSSH* debug2: fd 4 setting O_NONBLOCK debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-dss debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256 debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se,none debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se,none debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none debug2: kex_parse_kexinit: none debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug1: AUTH STATE is 0 debug2: mac_setup: found hmac-md5-etm@openssh.com debug1: REQUESTED ENC.NAME is 'aes128-ctr' debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none debug2: mac_setup: found hmac-md5-etm@openssh.com debug1: REQUESTED ENC.NAME is 'aes128-ctr' debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA bb:6a:75:5a:40:e2:8f:2d:f9:ef:80:ad:ac:3b:76:da debug1: Host '192.168.192.77' is known and matches the ECDSA host key. debug1: Found key in /etc/ssh/ssh_known_hosts:2 debug1: ssh_ecdsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /data/ssh/replication (0x80288f100), explicit debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering RSA public key: /data/ssh/replication debug2: we sent a publickey packet, wait for reply debug1: Server accepts key: pkalg ssh-rsa blen 279 debug2: input_userauth_pk_ok: fp f2:f8:5c:9e:38:ae:cb:ed:23:0c:96:dd:25:db:76:a8 debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). Authenticated to 192.168.192.77 ([192.168.192.77]:22). debug1: Final hpn_buffer_size = 2097152 debug1: HPN Disabled: 0, HPN Buffer Size: 2097152 debug1: channel 0: new [client-session] debug1: Enabled Dynamic Window Scaling debug2: channel 0: send open debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug2: callback start debug2: fd 4 setting TCP_NODELAY debug2: client_session2_setup: id 0 debug2: channel 0: request pty-req confirm 1 debug2: channel 0: request shell confirm 1 debug2: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: channel_input_status_confirm: type 99 id 0 debug2: PTY allocation request accepted on channel 0 debug2: channel 0: rcvd adjust 65536 debug2: channel_input_status_confirm: type 99 id 0 debug2: shell request accepted on channel 0 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 Last login: Tue Aug 26 11:49:48 2014 from 192.168.192.54 FreeBSD 9.2-RELEASE-p10 (FREENAS.amd64) #0 r262572+4fb5adc: Wed Aug 6 17:07:16 PDT 2014 FreeNAS (c) 2009-2014, The FreeNAS Development Team All rights reserved. debug2: tcpwinsz: 66608 for connection: 4 FreeNAS is released under the modified BSD license. For more information, documentation, help or support, go here: http://freenas.org Welcome to the REPLICATOR debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 [root@replicator] ~# debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 sshdebug2: tcpwinsz: 66608 for connection: 4 -vdebug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 v -debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 i /debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 dadebug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 ta/debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 sshdebug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 /rdebug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 epldebug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 icadebug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 tiodebug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4 ndebug2: tcpwinsz: 66608 for connection: 4 debug1: client_input_channel_req: channel 0 rtype keepalive@openssh.com reply 1 debug2: tcpwinsz: 66608 for connection: 4 debug2: tcpwinsz: 66608 for connection: 4