You are not logged in.

#1 2015-02-22 09:03:06

sonnenschein
Member
Registered: 2015-01-12
Posts: 20

rsync randomly freezes

I just "wrote" a rsync backup script. (mostly copied from the archwiki: https://wiki.archlinux.org/index.php/fu … with_rsync )

rsync -aAXbv --progress --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /run/media/sonnenschein/BU_Linux/

At different points the script just freezes and stand still. If I restart with --update it goes on from this point without any issue.

I tried to google it, but this issue seems not to be a common one.

Anyone has any suggestion what am I done wrong or what could be the random trigger? (its not the missing disk space)


Thinkpad X200 / Open Box

Offline

#2 2015-02-22 09:09:17

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: rsync randomly freezes

Are you sure it's not checking metadata of unchanged files (that is, looking for changed files)? See with dstat (dstat -d --top-io --top-bio --top-cpu) if it's using the disk/cpu.

Offline

#3 2015-02-22 09:24:07

sonnenschein
Member
Registered: 2015-01-12
Posts: 20

Re: rsync randomly freezes

I can let this exact point of rsync open for at least 30 mins (just tried). No changes.

With your dstat command I get response at the CPU cell until it gets to the freeze point. (btw. nice tool. I didn't know this before)

Last edited by sonnenschein (2015-02-22 09:24:25)


Thinkpad X200 / Open Box

Offline

Board footer

Powered by FluxBB