[nmglug] rsync errors

Brian O'Keefe okeefe at cybermesa.com
Wed Mar 21 11:12:01 PDT 2018


Hi all.
Yes, me again. Nothing bad and I have a petty functional system. 
Palemoon's config files have some parsing errors that stop FF from 
opening. I was first excited that FF40 opened to the restore window but 
then the parsing error and I checked the web for solutions. Nothing 
really helped. Although I'd like to get a FF version running it's not 
important at this time.
My question is the backup, rsync, that Mark, you got set up for me. I 
check the discs, mounted or not, edit the script that you wrote so that 
the discs names match and start the backup. All runs well except that I 
get many errors of "read-only" like this-"rsync: chown 
"/mnt/mybackups/backup-home-ubuntu/dvdrip-data" failed: Read-only file 
system (30)". Is this a concern? Seems like there are some important 
files that aren't getting backed up (this example is not critical). 
Should I worry? Should I try a different command?
Currently:

$dmesg | grep sd
.....
[38595.548289] EXT4-fs (sdc1): initial error at time 1521418471: 
ext4_mb_generate_buddy:758
[38595.548298] EXT4-fs (sdc1): last error at time 1521648999: 
ext4_do_update_inode:4694

$ blkid -o list
device     fs_type label    mount point    UUID
-------------------------------------------------------------------------------
/dev/sda1  ext4             / ea9f5446-2b36-4ba1-bcf6-ac786107fd58
/dev/sda5  swap             [SWAP] 48168ed7-7baf-4d0c-bd12-2c17c9283680
/dev/sdc1                   (not mounted)
/dev/sdc5                   (not mounted)

$ nano ./backup-home.sh

#! /bin/sh
#set -e
REMOTE_TOP_DIR=/mnt/mybackups
sudo mkdir -p $REMOTE_TOP_DIR
sudo mount /dev/sdc1 $REMOTE_TOP_DIR
echo "sudo rsync -av /home/ubuntu/ $REMOTE_TOP_DIR/backup-home-ubuntu"
sudo rsync -av /home/ubuntu/ $REMOTE_TOP_DIR/backup-home-ubuntu

$ ./backup-home.sh
mount: /dev/sde1 is already mounted or /mnt/mybackups busy
        /dev/sde1 is already mounted on /
        /dev/sde1 is already mounted on /mnt/mybackups
sudo rsync -av /home/ubuntu/ /mnt/mybackups/backup-home-ubuntu

stalls here or thereabouts if I've quit and started rsync again with the 
error msg. after I kill the process......

rsync: mkstemp "/mnt/mybackups/backup-home-ubuntu/.mozilla.bakup/pale 
moon/firefox/psy468mv.default-1422392796863/ScrapBook/data/20070106182433/.main_p_thumb2_586.jpg.aRdi6k" 
failed: Read-only file system (30)
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(504) 
[generator=3.1.1]

I know that when I completed the first backup that Mark had begun, it 
finished with errors but now it's hanging. Any ideas?

Many thanks,

Brian








More information about the nmglug mailing list