rsync problems

Problems with packages? Post here, using [tags] of the package name.

rsync problems

Postby chrisparker2000 » Mon Mar 12, 2012 2:27 am

I have a P21 pogo that I'm trying to move from pogo to alarm. Everything seems to have gone ok with the install, samba works,etc.

I can't get rsync to work between 2 of the drives.

The Command:
sudo rsync -av --delete --stats --exclude lost+found /media/Jedi /media/Padawan > ~/rsync.out

I have noticed 3 possible outcomes from me running rsync.

1. The pogo locks up totally. No further ssh logins can happen, and all ssh sessions are non-responsive. No error displays.
2. The pogo displays no error and all ssh sessions are ended. I can log back in. rsync did not complete normally, no stats are written to redirected file.
3. An error is displayed about pipes and sockets. I'm not using sockets, I'm doing a local rsync. I'm fairly certain I'm not even running a rsync daemon.

What exasperates this is that if I try to run e2fsck -y -f /dev/yaddayadda it errors out with a non enough memory error. Is that to be expected on this box?

EDIT: e2fsck error

e2fsck -y -f /dev/sdd1
e2fsck 1.42 (29-Nov-2011)
Pass 1: Checking inodes, blocks, and sizes
Error allocating block bitmap (1): Memory allocation failed
e2fsck: aborted
chrisparker2000
 
Posts: 7
Joined: Mon Mar 12, 2012 2:10 am

Re: rsync problems

Postby WarheadsSE » Mon Mar 12, 2012 12:57 pm

I would suggest making small swap file for temporary use, and see if that fixes your problem with e2fsck. Sometimes very large trees can cause this, in constrained memory.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: rsync problems

Postby chrisparker2000 » Mon Mar 12, 2012 1:35 pm

Thanks, I'll try that.
chrisparker2000
 
Posts: 7
Joined: Mon Mar 12, 2012 2:10 am

Re: rsync problems

Postby chrisparker2000 » Tue Mar 13, 2012 12:24 am

Ok, that worked, and it worked again.

I created a temporary swap file on my flash drive and I was able to run e2fsck on one of the drives. Then I moved the swap file to that drive and ran it on all the rest. Then I thought that might be the problem with rsync as well. So I copied the swap file onto a drive that I was not rsyncing, and the rsync finally completed successfully with no errors or hangups.

So, I'm sold on a swap file now. :)
chrisparker2000
 
Posts: 7
Joined: Mon Mar 12, 2012 2:10 am

Re: rsync problems

Postby WarheadsSE » Tue Mar 13, 2012 1:11 am

Just remember to keep it on spinning rust.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 17 guests