LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-28-2011, 07:08 AM   #1
dman65
Member
 
Registered: Sep 2003
Posts: 61

Rep: Reputation: 15
Moving data from a Linux computer to a windows computer


I have a situation where I am trying to move some data from a Linux computer to a Windows computer. In all there is 700GB of data to move in about 1.5 million files, so I don't want to do this over the network.

My first thought was to use an external USB hard drive and create an NTFS partition and copy the files from the linux computer to mount on the Windows computer. After 4 days of copying without completion I abandoned that idea. I thought the NTFS might be slowing it down, so I created an EXT3 partition. 4 Days later it was still copying. I did some calculations and there was no way the USB 2.0 connection was that slow. I then used ddrescue and cloned the drive to be copied overnight and it took about 12 hours. i was able to mount the USB drive under Linux and access the files appropriately. The only problem is that I can not access that USB drive on my Windows 7 computer. I have tried Explore2fs, DiskInternals Linux Reader, and Ext2 Installable File System For Windows, but none of them is recognizing the external drive.

Can anyone give me some guidance on how to proceed with this?

Thank You
 
Old 06-28-2011, 07:51 AM   #2
elonica.pl
LQ Newbie
 
Registered: Jun 2011
Posts: 21

Rep: Reputation: Disabled
For 100 % I would suggest to split this bunch of data into smaller packs.
It will be less annoying to test different solutions.

Personally I would split it into 50 GB packets. (14 folders). I would copy those data via FAT32 formated external USB disk. I suppose that your problem is not only connected to size, but to number of files.
Try to pack (tar) 50 GB folders before sending them to remote disk, and unpack on destination PC.

BR
 
Old 06-28-2011, 11:43 AM   #3
wpeckham
Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix
Posts: 758

Rep: Reputation: 171Reputation: 171
*nix to MSW* files

One critcal piece here is the file system, you need to select one that both machines read and write equally well. I second elonica.pl in recommending fat32.

I am confused about your reluctance to use network though. If I had second interfaces available, I might connect them with a crossover CAT-5e and configure the interfaces for an internal subnet and transfer using that connection. Who CARES how long it will take, it will take less time than you have already spent on media experiments.
 
Old 06-28-2011, 02:04 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,149

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Install the ext2fs on your Win system and you should be able to access the USB drive's contents with no problem.

Be aware that Windows convention for text files is that each line terminates with a \r\n sequence (which was reasonable when output went to a physical TTY, and you needed a carriage return and line feed to move the paper up one line and the type-head to the start of the next line). Anyhow, most MS text editors can be used to insert the needed \r characters. (Even "wordpad" can do it.) But, other than that, once you have the driver installed, and you configure the access, you should be "home free."

Note that the name implies only ext2 support, but I can read my ext4 files on my USB drives with no problem. (And, yes, two of those drives contain disk images made with dd.)

That last parenthetical remark raised a question in my mind: Why did you use ddrescue? If it was because you had drive problems, did you verify that you got a good image? (I.e., did you review the log and run fsck on each partition in the USB image?)
 
Old 06-28-2011, 04:26 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,323

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
I think I'd have tried to compress it all to some compressed set or single file.
 
Old 06-28-2011, 06:43 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,203

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If the initial copy to an ext3 is also running slow, it most probably ain't a filesystem issue.
If it were me I'd attach the second drive internally and copy to it. When finished, pull it out and install it on the second machine.
And use NTFS - the best option by far IMHO. I haven't used an ext? IFS on Windoze in years.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to move open office doc from Linux computer to Windows computer Phoenixink Linux - Software 6 02-15-2007 07:09 AM
Data lost/changed when moving harddrive to another computer mdb Linux - Hardware 1 05-06-2005 12:59 AM
Why would a windows computer smoke a linux computer for download speed ? lostboy Linux - General 4 10-21-2003 05:20 PM
Moving data from old computer to new one? pilot1 Linux - General 11 05-10-2003 06:15 PM
can I copy data from windows on one computer to linux on another ??? havitush99 General 3 04-01-2002 07:34 PM


All times are GMT -5. The time now is 01:15 PM.

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