I installed the latest version of Affa on my 7.4 box, configured per the wiki, to backup to a 500GB USB drive. When I ran the job the first time, it failed to mount the drive. When I mounted the drive manually and re-ran the job, it worked fine and reported success.
Now, when I try to run subsequent jobs, either manually or via Affa's own scheduler, it fails:
Excerpt from log file /var/log/affa/backup.log:
Fri_Dec_19_08:24:01[START.11110]:_Affa_1.0.0-3:_Running_/sbin/e-smith/affa_--run_backup
Job_configuration:
__AutoUnmount=yes
__AutomountDevice=/dev/sdb1
__AutomountOptions=-t_ext3
__AutomountPoint=/mnt/affadevice
__ConnectionCheckTimeout=120
__Debug=no
__Description=XXXXXX_Backup
__DiskSpaceWarn=strict
__EmailAddresses=brent@XXXXXXX
__RPMCheck=no
__RootDir=/mnt/affadevice
__SMEServer=yes
__TimeSchedule=0630,1830
__Watchdog=no
__chattyOnSuccess=1094
__dailyKeep=7
__doneDaily=2008354
__doneMonthly=200812
__doneWeekly=200850
__doneYearly=2008
__monthlyKeep=12
__remoteHostName=localhost
__remoteOS=centos
__rsync--inplace=yes
__rsyncCompress=yes
__rsyncTimeout=900
__rsyncdMode=no
__rsyncdModule=AFFA
__rsyncdPassword=<not_shown>
__rsyncdUser=affa
__scheduledKeep=3
__sendStatus=weekly
__sshPort=22
__status=enabled
__type=job
__weeklyKeep=4
__yearlyKeep=1
Fri_Dec_19_08:24:01[11110]:_Affa_1.0.0-3:_Starting_job_backup_scheduled_(localhost)
Fri_Dec_19_08:24:01[11110]:_Description:_XXXXXX_Backup
Fri_Dec_19_08:24:01[11110]:_signaling_pre-backup_event_on_localhost
Exec_Out:_exitstatus=0
Fri_Dec_19_08:24:02[11110]:_Running_rsync...
Exec_Out:_rsync:_writefd_unbuffered_failed_to_write_4092_bytes_[sender]:_Broken_pipe_(32)
Exec_Out:_rsync:_mkdir_"/mnt/affadevice/backup/scheduled.running"_failed:_Read-only_file_system_(30)
Exec_Out:_rsync_error:_error_in_file_IO_(code_11)_at_main.c(576)_[receiver=3.0.4]
Exec_Out:_rsync:_connection_unexpectedly_closed_(9_bytes_received_so_far)_[sender]
Exec_Out:_rsync_error:_error_in_rsync_protocol_data_stream_(code_12)_at_io.c(632)_[sender=3.0.4]
Exec_Out:_exitstatus=12
Fri_Dec_19_08:24:02[11110]:_signaling_post-backup_event_on_localhost
Exec_Out:_exitstatus=0
Fri_Dec_19_08:24:02[11110]:_Error:_No_data_transferred._Check_include/exclude_settings.
Fri_Dec_19_08:24:02[11110]:_Error_537:_rsync_failed_with_status_1012.
Curiously, when I check to see if the drive is still mounted, it apparently is:
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/main-root
ext3 266G 29G 224G 12% /
/dev/sda1 ext3 99M 21M 74M 22% /boot
none tmpfs 4.0G 0 4.0G 0% /dev/shm
/dev/sdb1 ext3 459G 27G 409G 7% /mnt/affadevice
But if I go to view the contents of /mnt/affadevice, I get:
[root@mail affadevice]# ls -l
total 0
[root@mail affadevice]#
Looking for a little help on why the USB drive is considered read only and why I can't get a file listing from it. Maybe this is a simple thing and I just don't know where to look.
Any help appreciated.