LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
 
Search this Thread
Old 08-20-2013, 10:42 AM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,214

Rep: Reputation: 32
WD Mybook running slow


I have a WD Mybook 1TB drive and I have been placing files on it for some time. Through Linux. I have heard that using NTFS filesystems with a linux distribution would cause problems but it hasn't caused any problems until now (The drive is almost full and I don't want to delete anything on it). Since the power cable on the drive is damaged because of pulling (wasn't me) I want to transfer everything to mypassport drive. Whenever I try to copy the video files from the drive to the computer It works at a reasonable speed for a few seconds then when the file is almost done copying it freezes. Then I get the error splicing message and it asks me to cancel. Now I have a partial copy of the file even though the file plays fine when it's on the drive (There aren't any pices of the file missing when played in VLC from the drive). What is happening here. I have run chkdsk from windows several times already and it still doesn't speed it up (Same effect when I try copying files in windows too)
 
Old 08-20-2013, 11:20 AM   #2
displace
Member
 
Registered: Jan 2013
Location: EU
Distribution: Mint, Xubuntu
Posts: 213

Rep: Reputation: 14
I know this is probably unrelated to the problem you're having, but how are you connecting the drive? Do you use USB or does the device have an eSATA port? Personally I dismantled one of those devices, and took out the HDD because the USB transfer speed was simply too slow (I was getting like 24MB/s with USB2). I later connected the disk directly to the PC over a sata cable.

Back on topic. I suspect the problem if somehow related with your file system. Personally I haven't had any problems with NTFS on linux yet, but its also true I don't use that fs very much. Before you go any further I strongly suggest you try to create an image backup of your drive.

Quote:
dd if=/dev/sdX of=/mnt/external_disk/backup.img
Make sure you have enough space on the target device. In case something happens with your file system you'll have something to revert to. Also it would be interesting to see how fast an image backup can be made.
 
Old 08-20-2013, 03:55 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 14,250

Rep: Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931
that speed on usb2 is about normal

if i use my 3TB "my book" on usb2 ( not usb3 ) i get about 48 meg/s for about 30 seconds then it drops to about 24

this is just how the OS estimates the time

and if you are moving from one usb to a second usb , that will be DEAD slow

if possible remove the drive from the housing and plug it into the MOBO


about the only issue with NTFS will be the VERY VERY EXCESSIVE fragmentation
-- very excessive fragmentation
and that will slow it to a crawl

Last edited by John VV; 08-20-2013 at 03:57 PM.
 
Old 08-21-2013, 09:33 AM   #4
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,214

Original Poster
Rep: Reputation: 32
it's a 1TB drive with NTFS filesystem. What is happening because the data I am trying to recover has been placed there very recently. I will go with your recommendation by connecting the drive directly to the motherboard. I have also recently ran a chkdsk on the drive in windows in hopes that it will repair the contents of the drive. I am hoping that that wouldn't exacerbate things beyond the point that it already is. I have one question though, How do you remove the drive without causing any critical damage to the drive? Will I be able to re-assemble it back in the case?
 
Old 08-21-2013, 01:49 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 14,250

Rep: Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931Reputation: 1931
All the hosing is is a case for the INTERNAL drive that is inside it

just use normal everyday caution when dismantling it
 
Old 08-23-2013, 07:19 PM   #6
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,214

Original Poster
Rep: Reputation: 32
I just removed the hard drive and plugged it into my computer's motherboard. However when I boot in linux the fdisk command tells me that it doesn't have a parition table. In windows however it doesn't show up. It wants me to format the drive for some reason but I thought that it was fine since the only thing that seemed broken was the USB module in the case. How do I get the machine to read the drive now. I thought it would be as easy as connecting it to the extra sata plug in the motherboard.

ps: I unplugged the plugs that were connected to the internal CD/DVD drive and plugged them into the drive. Is this the problem. I have never really messed with SATA plugs before and I was wondering if it mattered where you plugged it if you wanted a slave internal harddrive like it used to work out when we used IDE.

I went into the bios and changed RAID to ATA,still no luck. I was able to get it to stop telling me that the two drives weren't raid devices. but my one problem is why isn't it showing up on the machine. (in both windows and linux) I ran fdisk again and it tells me that there isn't a partition table. In order to ensure that nothing is damaged (during the extraction process) I plugged the usb module back into the drive and plugged it back into the computer and I see my data but I can't move it anywhere because the USB transfer speed is dead slow. How do I get my machine to read the drive internally instead of through a USB port. I want to rescue my stuff before the thing breaks completely.

Last edited by baronobeefdip; 08-23-2013 at 09:14 PM.
 
Old 08-23-2013, 09:36 PM   #7
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,214

Original Poster
Rep: Reputation: 32
I did some research and discovered a few interesting things. Since this is an "Essential" my book series, it means that as the data traverses the SATA/USB module it encrypts the data with some type of algorythm. So if you were to plug it in internally it would be unrecognizable. This sets things back a little bit since a feature like this seems pretty useless. A thief could have stolen the drive while it was still in it's case and be able to recover whatever was on it (provided it still functioned). I am now wondering if there is a driver out there that can be used to read the drive and recover it's data since WD thought they should try making the SATA/USB unit encrypt the data without the user knowing. It may be secure but it's certainly not convenient.
 
Old 08-25-2013, 04:34 PM   #8
displace
Member
 
Registered: Jan 2013
Location: EU
Distribution: Mint, Xubuntu
Posts: 213

Rep: Reputation: 14
I find this strange. The data should not be encrypted on its own. I've had one of these drives, and the instructions said that I needed to setup special software from WD on my computer to be able to use the hardware encryption. While I like to use encryption I think this is a useless feature, and prefer to stick to LUKS/Truecrypt to protect my data. If you have not setup your drive to use encryption (remember that you had to have entered a password at some point) then I cannot see how the data can be encrypted... that is assuming the newer mybook models don't use some obscure encryption by default.

Could you try to determine whether the HDD has a visible partition table? what happens if you open the device in cfdisk on linux? i.e. cfdisk /dev/sdb (you should be able to see the partition table there).
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover ssh password on WD Mybook WE II running Gentoo cnczeroh Linux - Server 1 01-27-2010 03:24 AM
LXer: Hack Your WD MyBook World LXer Syndicated Linux News 0 04-22-2009 04:10 AM
What are my chances of getting this MyBook working? davidstvz Linux - Hardware 7 09-18-2008 05:27 PM
Remotely Access WD Mybook via WinXP gwarmbat Linux - Networking 1 04-08-2008 05:18 AM
MyBook external Drive klee12 Linux - Hardware 5 07-14-2007 01:25 AM


All times are GMT -5. The time now is 06:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration