LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-07-2013, 01:52 PM   #1
Vexe
Member
 
Registered: Feb 2013
Posts: 36

Rep: Reputation: Disabled
Horrible copying speed, from an ext4 drive to an ntfs one?


I'm on an Arch X64 with Awesome window manager.
I've been having trouble with some rEALly slow file copying from my ext4
(My linux drive) to my ntfs data drive. Copying sometimes reaches 40KB/s
Not just that, accessing the ntfs drive during the copy operation is also VERY slow.

I have a Toshiba Satalite L650.

Is this becuase, Linux/ntfs isn't very friendly with ntfs/linux?

How can I resolve this? does formatting that ntfs to ext4 solve the issue?
I read about some programs that lets you switch your file system without formatting or something. (seems impossible)

Thanks for any info
 
Old 03-07-2013, 09:13 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
NTFS is not a natively supported format in Linux. While projects like NTFS-3G have gone a long way to making stable NTFS R/W possible, I would definitely look into that as being the weak link in this case.

What are transfers like to non-NTFS volumes? Have you checked the system logs?
 
Old 03-08-2013, 01:26 PM   #3
Vexe
Member
 
Registered: Feb 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
Transfers from/to non-NTFS volumes are normal, fast. Even FROM ntfs to ext4.
 
Old 03-08-2013, 01:37 PM   #4
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 2,593

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
Are you sure the ntfs drive is healthy?
 
Old 03-08-2013, 03:29 PM   #5
Vexe
Member
 
Registered: Feb 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
Mmmm, not sure what you mean by healthy. But I can access files from within it normally. And reading/writing from/to it is pretty normal in Windows. So, if that's what you mean by safe, then it is.
 
Old 03-08-2013, 03:55 PM   #6
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 2,593

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
I mean on the verge of dying. What is the SMART health status of the drive?
Code:
smartctl -a /dev/sda
Replacing sda with your actual drive name.
 
Old 03-08-2013, 08:35 PM   #7
Vexe
Member
 
Registered: Feb 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
OK, here's a grep SMART of that file:
Code:
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
capabilities: 			 (0x73) SMART execute Offline immediate.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					Supports SMART auto save timer.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
SMART Error Log Version: 1
SMART Self-test log structure revision number 1
SMART Selective self-test log data structure revision number 1
I also uploaded the hole output, kinda long.
http://www.mediafire.com/?rp64549j0u4zlfq
 
Old 03-08-2013, 09:03 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,043

Rep: Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970
Make sure you have ntfs-3g installed. The in-kernel support is merely o.k. - especially if you are creating directories.
 
Old 03-09-2013, 11:22 AM   #9
Vexe
Member
 
Registered: Feb 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
I do have it installed.
 
Old 03-11-2013, 09:07 AM   #10
Vexe
Member
 
Registered: Feb 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
OK, so I managed to format that NTFS drive to EXT4. It was kinda better, but today I had the same issue, 100KB/s, I read that it could be related to the 'sync' mounting option, and yes indeed, I use that option in my fstab, because I know that sync means that the data will be copied right after you issue the copy command, unlike async mode where it could be copied at a later time.

So I mounted the drive again with no sync option, it was faster. First I got a burst in copying 300MB/s then it kept going down till it reached 20MB/s. But at least better then kilos!

Any idea why it kept going down? Note that I'm copying between 2 ext4 drives.
And why did removing that sync option boosted up the thing? If sync does that, then why would anybody consider using it?
 
Old 03-11-2013, 09:20 AM   #11
Vexe
Member
 
Registered: Feb 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
Could it be a fragmentation issue? I ran a 'fsck -nvf /dev/sda4' sda4 is that ext4 drive that I'm copying to, it gave a 2.5 level of fragmentation. Is that too much? Should I defragment it? perhaps, with 'shake'?

Also note that there's only 30GB free from a total of 104GB in that drive, could the reason for the poor speed be that the drive is almost full?

Last edited by Vexe; 03-11-2013 at 09:23 AM.
 
  


Reply

Tags
copying, ext4, filesystem, ntfs, ntfs3g


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
[SOLVED] ntfs or ext4 on my external usb drive poly_s Linux - General 6 11-10-2011 01:35 PM
problem with copying data from a (western digital) usb drive (ntfs partition) piyush.popli Fedora 4 02-23-2009 04:40 AM
Copying music library to NTFS drive ScottReed Linux - Software 3 04-01-2008 02:22 PM
Copying Files from NTFS drive to Edgy (worked in Dapper) adam-red Ubuntu 4 12-10-2006 11:49 AM
Copying from NTFS within Linux to another NTFS drive? sandeepg Linux - General 4 01-21-2006 12:43 AM


All times are GMT -5. The time now is 10:23 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