rsync virgin problems

Status
Not open for further replies.

trekuhl

Dabbler
Joined
Jun 3, 2013
Messages
10
new to freenas (and *nix in general) so please bear with me

have a couple supermicro servers i am trying to setup with rsync. they are on the same LAN. pinc works between each (although i have multi NICs so default GW is not the same subnet as rsync connection)

i am following the basic guide http://doc.freenas.org/index.php/Rsync_Tasks

  • 172.16.20.10 is the system with data (vmware esxi datastore) so it is configured at client/push
  • 172.16.20.11 is the backup system set up as pull
here is ip info and ping
[root@STOR1 ~]# ifconfig em1 em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL _MAGIC,VLAN_HWTSO> ether 68:05:ca:17:0d:12 inet 172.16.20.10 netmask 0xffffff00 broadcast 172.16.20.255 media: Ethernet autoselect (1000baseT <full-duplex>) status: active [root@STOR1 ~]# ping 172.16.20.11 PING 172.16.20.11 (172.16.20.11): 56 data bytes 64 bytes from 172.16.20.11: icmp_seq=0 ttl=64 time=0.059 ms 64 bytes from 172.16.20.11: icmp_seq=1 ttl=64 time=0.051 ms ^C --- 172.16.20.11 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.051/0.055/0.059/0.004 ms [root@PSTOR1 ~]#
[root@STOR2 ~]# ifconfig em1 em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL _MAGIC,VLAN_HWTSO> ether 68:05:ca:17:0c:6c inet 172.16.20.11 netmask 0xffffff00 broadcast 172.16.20.255 media: Ethernet autoselect (1000baseT <full-duplex>) status: active [root@STOR2 ~]# ping 172.16.20.10 PING 172.16.20.10 (172.16.20.10): 56 data bytes 64 bytes from 172.16.20.10: icmp_seq=0 ttl=64 time=0.058 ms 64 bytes from 172.16.20.10: icmp_seq=1 ttl=64 time=0.056 ms 64 bytes from 172.16.20.10: icmp_seq=2 ttl=64 time=0.045 ms ^C --- 172.16.20.10 ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.045/0.053/0.058/0.006 ms
On STOR1 when I mod/save the rsync task i can see a cron stop/start when i tail the messages log
Jun 25 20:48:56 STOR1 notifier: Stopping cron.
Jun 25 20:48:56 STOR1 notifier: Starting cron.
On STOR2 when i mod/save the rsync module i get this on messages log

Jun 25 21:19:47 STOR2 notifier: Stopping rsyncd. Jun 25 21:19:47 STOR2 rsyncd[76352]: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(560) [Receiver=3.0.9] Jun 25 21:19:47 STOR2 notifier: Waiting for PIDS: 76352. Jun 25 21:19:47 STOR2 notifier: Starting rsyncd.
A restart doesnt seem to solve the issue. I've looked over the forums and havent quite found anything. i can identify the code 20 error on other sites for various *nix versions.
  1. shouldn't i see a recurring error every 15 min (or hour, etc) based on the interval?
  2. is there some other place to get more detailed info on the exact error? does rsync have its own individual log file or only stick results in /var/log/messages?
thanks,
-trek
 

trekuhl

Dabbler
Joined
Jun 3, 2013
Messages
10
ok starting to poke around and figure out the command line a bit.

i can do "less /etc/crontab" on STOR1 and see the task there.

if i try to manually run the command that was created via the GUI i get an error "Ambigious output redirect"

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" lockf -s -t 0 -k '/mnt/silo1' rsync -r -t -z -p '/mnt/silo1' 172.16.20.11::backups 2>&1 |/usr/bin/logger -t rsync

adding a -v for verbose doesnt seem to add any more useful info
 
Status
Not open for further replies.
Top