LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-13-2009, 09:08 PM   #1
Zeedok
LQ Newbie
 
Registered: Jun 2007
Location: Sydney
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 0
Rsync (via Back in time) grinds system to a halt


I have been trying to get rsync to work on my Ubuntu 9.04 laptop. I initially used "Back in time" which looked great (I am a little CLI phobic) but after a period of time (which seems to vary) the whole system grinds to a halt (grey windows, unresponsive - you know, like what happens on Windows!)

I thought it might be the GUI getting in the way of rsync, so I bit the bullet and with some help managed to set-up a basic rsync transfer from the CLI and the same thing happens. It just seems to get to a certain point and everything goes dark.

How can I debug and fix this? I'd really like to get a backup script working well so that my "mission critical" data is safe!

Any help would be gratefully accepted.
 
Old 07-13-2009, 09:30 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,207

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
How many files and how big ?.
Local backup or across a network ?.
How much memory do you have ?.

Try a smaller selection of files and see if it works - after the initial sync, the updates should (hopefully) be small and the problem will disappear.
 
Old 07-13-2009, 09:40 PM   #3
Zeedok
LQ Newbie
 
Registered: Jun 2007
Location: Sydney
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
How many files and how big ?.
Few thousand files, around 3-4GB in total.

Quote:
Local backup or across a network ?.
Local backup - I've tried to another partition on the same drive and to a USB flash drive as well as an external hard drive.

Quote:
How much memory do you have ?.
4GB laptop - only 18/12 old.

Quote:
Try a smaller selection of files and see if it works - after the initial sync, the updates should (hopefully) be small and the problem will disappear.
Will do. Why would it get stuck in some directories and not others? Could corrupted files be causing the problem (these are archives that I haven't used for >12/12)?
 
Old 07-13-2009, 10:25 PM   #4
Zeedok
LQ Newbie
 
Registered: Jun 2007
Location: Sydney
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
I think that perhaps some of the files that rsync is getting stuck on a corrupt. I had to restore from a zip backup a few weeks ago and it is possible that some of the less frequently used files aren't working properly.

I have tried nautilus and cp just to copy those troublesome directories and the whole system freezes.

Is there a utility that can scan my directories for errors/corrupt files?
 
Old 07-13-2009, 11:36 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
You could try fsck, but really it should be run from the install/rescue disk, so its not being accessed by anything else.
 
Old 07-14-2009, 12:28 AM   #6
Zeedok
LQ Newbie
 
Registered: Jun 2007
Location: Sydney
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
You could try fsck, but really it should be run from the install/rescue disk, so its not being accessed by anything else.
Should it matter that the partition in question is NTFS?

I don't have access to a rescue disk at work, so I will try it when I get home. Thanks for your help.

PS I have since successfully rsync'ed about 9.5GB data from my home partition to a third one, some the issue does seem to be with my data or my data partition.
 
Old 07-14-2009, 01:08 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,207

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I don't think fsck (or chkdsk run from Windoze for NTFS) will help. Those utilities are for validating filesystem consistency, not the individual files contained within.

Short answer, unless the archive tool has CRC or somesuch embedded I think you're out of luck.
 
Old 07-14-2009, 03:46 AM   #8
Zeedok
LQ Newbie
 
Registered: Jun 2007
Location: Sydney
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
I don't think fsck (or chkdsk run from Windoze for NTFS) will help. Those utilities are for validating filesystem consistency, not the individual files contained within.

Short answer, unless the archive tool has CRC or somesuch embedded I think you're out of luck.
Having not solved my problem with chkdsk and fsck I would have to agree. I think - for whatever reason - parts of my partition are unreadable, obviously files that I don't use much but keep for archive purposes. They seem to crash rsync/back in time, but they also crash fileroller, openoffice, nautilus even cp (at the CLI). I think a recent reformat led to some errors, so after trying a defrag on Windows, I think my next move will be another reformat.
 
  


Reply

Tags
backup, crash, rsync, time


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Document Format Standards Committee "Grinds to a Halt" after OOXML LXer Syndicated Linux News 0 10-16-2007 02:20 PM
System Time keeps changing back and forth jr8rdt Red Hat 5 04-16-2007 01:11 PM
how to halt a system with private ip from a system in other net work seabark99 Linux - Networking 3 03-20-2005 08:36 AM
System Time keeps going back to Moscow hongman Linux - Newbie 7 03-08-2005 03:05 PM
linux halt after a long time break NeoAnderson Linux - General 1 10-21-2002 11:30 AM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration