Hello All,
I am using smeserver 7.3 kernel 2.6.9-78.0.8.ELsmp,
Till sometime back my affa was working fine but after I installed a new disk of 1TB on my openfiler NAS box the problem has started to come. The first backup is running fuile while the second one fails showing error 537, here is the log file:
Mon Jul 27 10:50:01[4663]: Affa 1.0.0-3: Starting job nasbox scheduled (localhost)
Mon Jul 27 10:50:01[4663]: Description:
Mon Jul 27 10:50:01[4663]: signaling pre-backup event on localhost
Mon Jul 27 10:50:11[4663]: Running rsync...
Mon Jul 27 11:11:09[4663]: signaling post-backup event on localhost
Mon Jul 27 11:11:10[4663]: Error 537: rsync failed with status rsync: writefd_unbuffered failed to write 78 bytes [generator]: Broken pipe (32).
Mon Jul 27 11:11:15[4663]: Email sent to root@cwgblr.com
Mon Jul 27 11:11:15[4663]: Exiting.
Also here is my affa setup file
#!/usr/bin/perl -w
# Important: Values must not contain a '|' (pipe) character
# EDIT THIS:
# used as a key for db and as a filename!
# Choose a name with <= 10 chars.
my $jobname='nasbox';
# EDIT THIS:
my %job=(
'remoteHostName'=>'localhost', # FQHN or IP address
'TimeSchedule'=>'1050', # HHMM,HHMM,...
'Description'=>'', # text string.
'scheduledKeep'=>1, # integer >= 1
'dailyKeep'=>1, # integer >= 1
'weeklyKeep'=>1,# integer >= 1
'monthlyKeep'=>1,# integer >= 1
'yearlyKeep'=>1,# integer >= 1
'SMEServer'=>'yes', # yes | no
'Include[0]'=>'', # additional files or directories to include
#'Include[1]'=>'',
#'Include[2]'=>'',
'Exclude[0]'=>'', # files or directories to exclude from backup
#'Exclude[1]'=>'',
#'Exclude[2]'=>'',
'RPMCheck'=>'no', # yes | no
'DiskSpaceWarn'=>'strict', # strict | normal | risky | none
'localNice'=>0, # -19...+19
'remoteNice'=>0, # -19...+19
'Watchdog'=>'yes', # yes | no
'sshPort'=>22, # default ssh port is 22
'ConnectionCheckTimeout'=>120, # seconds
'rsyncTimeout'=>900, # seconds
'rsyncCompress'=>'yes', # yes | no
'EmailAddresses'=>'root@cwgblr.com', # name@domain.com,name@domain.com,...
'chattyOnSuccess'=>0, # send N success notifications
'postJobCommand'=>'', # full path to local program/script
'preJobCommand'=>'', # full path to local program/script
'AutomountDevice'=>'', # Device to auto mount (e.g. USB drive)
'AutomountPoint'=>'', # the mountpoint for AutomountDevice
'AutomountOptions'=>'', # Optionstring passed to mount command e.g. '-t cifs'
'AutoUnmount'=>'no', # umount if fs was not mounted before Affa ran
'RootDir'=>'/mnt/affanas', # where to save the archives. Don't use /root or /home/e-smith
#'RootDir'=>'/mnt/APF/server_backup', # where to save the archives. Don't use /root or /home/e-smith
'Debug'=>'no', # yes | no
'status'=>'enabled', # enabled | disabled
#'status'=>'disabled', # enabled | disabled
'rsync--inplace'=>'yes', # yes | no : rsync on source supports '--inplace' option
'rsync--modify-window'=>0, # integer >= 0, timestamp window
);
### nothing to edit below this line ####
here are my mounts on the server
/dev/mapper/main-root on / type ext3 (rw,usrquota,grpquota)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/md1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.1.250:/mnt/vg1/affa/backup/ on /mnt/affanas type nfs (rw,addr=192.168.1.250)
192.168.1.250 is the ip of my Openfiler NAS Box
Here is the affa archives
Affa version 1.0.0-3 on server.cwgblr.com (192.168.1.***)
+------------------------------------------------------------------------------+
| Job: nasbox |
| Description: |
| Directory: /mnt/affanas/nasbox/ |
| Hostname: localhost |
| Email: |
+-----------------------+----------------+--------------+--------+-------------+
| Date | Archive | Files | Size | Disk usage |
+-----------------------+----------------+--------------+--------+-------------+
| Fri 2009 Jul 24 16:49 | daily.0 | 370559 | 260GB | 262GB/30% |
+-----------------------+----------------+--------------+--------+-------------+
[root@server ~]# cd /mnt/affanas/
[root@server affanas]# ls
nasbox
[root@server affanas]# cd nasbox/
[root@server nasbox]# ls
daily.0 scheduled.running
[root@server nasbox]# pwd
/mnt/affanas/nasbox
[root@server nasbox]#
Now I do not know what is the exact issue.