LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2006, 10:14 AM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Slack 11 and SATA disks file transfers corrupted some datas.


Hi. I ran Slack 10.2 on a seagate SATA.
I installed a new SATA drive in order to install the 11.
Then i moved via konqueror data from old /home to new one.
I checked the size of folders, and number of files inside too using the property menu with right click. All went fine.

BUT i saw some of my photos corrupted, and some zipped files won't open anymore.

I'm currently rebuilding the old reiserfs home in order to undelete my data.
I use reiserfs only and my SATA controller is SiI 3112 [SATALink/SATARaid].

Can someone have clues about it? I transferred files with 2.4.33.3.
Can i operate this transfer with some hash/md5 checking in order to ensure data isn't corrupted anymore? Maybe rsync can do it?

edit-----
Oh, by the way, is there a tool to check if my new drive isn't screwed?

return of the jedit----
is there a way to md5 sum a folder or something hashing folders?

Last edited by Linux.tar.gz; 10-15-2006 at 11:22 AM.
 
Old 10-15-2006, 12:02 PM   #2
mscole
Member
 
Registered: Nov 2004
Location: Florida
Distribution: Slackware 15
Posts: 129

Rep: Reputation: 24
I've had problems transfering large amounts of data with Konq on older versions of KDE, and since then I always do it from the command line.
Mike.
 
Old 10-15-2006, 03:22 PM   #3
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
#!/bin/sh
# useage: arcbu parameter1
# where param1 is the name of either a dir or a file
# in cur-wrk-dir makes a .tgz compressed archive
# the z option runs gzip; tars and gzips all in one
tar czf $1.$(date +%Y%m%d%-H%M).tgz $1
exit $?
# end

there's a little shell script I named arcbu (short for "archive backup")

Though I'm not recommending it, for lack of other, at times as root I've temporarily changed /home to writeable then as user I cd to /home and run

$ arcbu al

(al is my user folder ie /home/al )

Then quickly change the permissions on /home back to what they were beforehand.

It might be easier to just call arcbu from somewhere else, a writeable folder and then specify full path to al folder to arcbu

$ pwd
/tmp
$ arcbu /home/al

maybe that work. but that it puts several folders deep in/into the resultant .tgz file rather than compressing to folder al (one folder deep)
-----

Rsync -- you'd need to setup an rsync server
----

I've never had a prob transfering then extracting such .tgz from arcbu.

Just one (.tgz) file to transfer. (I usually LAN network transfer, store a copy onto another computer)
---

other: hopefully you're using the most correct driver for your HD's

--
Alan.
 
Old 10-16-2006, 06:08 PM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Thanks for replies.

I had some trouble with konqueror so i should have been more careful. Currently, i'm not sure the new SATA drive is ok. I undeleted my old stuff so i hope i didn't loose something.

One thing is strange: only photographs and zipped files seemed to be damaged.
 
Old 10-25-2006, 10:07 AM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Ok, seems Konqueror broke the files. I'll some more testing but i'm 98% certain about it.
Even ftp via Konqueror is broken.

Any suggestion about it?
Any file manager to suggest?

I like gentoo, but it's a bit oldie. Xfe is good, but need more features.

Is there someone have big troubles using Konqueror?
 
Old 11-08-2006, 09:56 AM   #6
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Well, seems even the command line cp corrupts data... Maybe the SATA driver is faulty.
Is there a file copying system that checks the md5sum of transferred data? Can rsync do this?
 
Old 11-20-2006, 04:37 PM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Any chance you'd consider ext2/3 over reiser?

badblocks, smartctl, & SpinRite all have their potential places in vetting a HD before putting it in service.

I recently got 5 reconditioned WD 250's $80 apiece, & I am checking them thoroughly before putting them to use. Four of them are destined for a pair of RAID 1 arrays & as I write this I am running a homemade temp. sampling script on them (using smartctl).

Interestingly, 1 of the 4 seems to run substantially (6 deg. C) hotter than the others. This supposedly bodes ill for that HD's longevity. I think I will be returning it. Or at least getting an extended warranty.
 
Old 12-05-2006, 02:45 PM   #8
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
I considered it already. In practice, i never had problem with reiserFS, and i had problems (unrecoverable loss of data) with ext3, so, i'm not ready to change, especially if reiser4 becomes stable.
What i'm looking for now, is some kind of secure copy, which check integrity at both ends.
 
  


Reply



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
file transfers WLReed SUSE / openSUSE 2 05-27-2006 09:26 AM
Debian 3.1 on SATA Disks alirioperez Linux - Hardware 1 05-15-2006 12:14 PM
Corrupted SATA controller? fr0zen Linux - Hardware 3 12-04-2005 03:13 PM
Large file transfers crash Slack 9.1? steyr Slackware 3 02-14-2004 02:23 PM
Slack & file transfers Tinkster Slackware 6 06-10-2002 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration