LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-07-2010, 12:39 PM   #1
ChiVampir
LQ Newbie
 
Registered: Jun 2010
Location: Norway
Distribution: Linux Mint Debian, Peppermint OS
Posts: 20

Rep: Reputation: 1
Question Can't mount Western Digital Elements 2TB external hard drive


I'm trying to mount my new Western Digital Elements 2tb hard drive, but every time I try to plug it into the computer I get this error message:

Quote:
Error mounting: mount exited with exit code 12: Failed to read last sector (3907027119): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sdb1': Invalid argument
The device '/dev/sdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I've tried using ntsfix and it seems like it worked:
Code:
chi@reca:~$ sudo ntfsfix /dev/sdb1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.
But when I tried opening the hard drive from nautilus I still got the same error message as above (no other volumes was connected at the time).

I've also tried opening and watching it in GParted, and I can see it there as a volume that's not allocated. When I tried to allocate the hard it I got the message that it had no partition table. And that I cold make one. I tried and Ubuntu suggested to make a MS-DOS partition table for it. But there I got a little scared as I've not done this before.

So should I make a MS-DOS partition table, or are there other ways to fix it?

The external hard drive is brand new and was brought today. And I don't have the possibility to test it with Windows or Mac as I'm using Linux only on my machines.

Hope someone's able to help :)

Last edited by ChiVampir; 09-07-2010 at 01:13 PM.
 
Old 09-07-2010, 01:35 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Quote:
The external hard drive is brand new and was brought today. And I don't have the ability to test it with Windows or Mac as I'm using Linux only on my machines
Then you probably have no data on the drive and no use for the NTFS partition that it came with. Create one linux partition taking the entire drive with gparted and format the drive with the linux filesystem of your choice; ext3 or ext4 would be fine. See if you can get the drive to work in linux that way.

The above assumes that you don't need to ever share data on the drive with windows machines. The 2TB size is right at the size limit for standard mbr type partitions. I suspect that your hard drive may have been partitioned with GTP instead of MBR which doesn't have that 2TB limit. See:

http://en.wikipedia.org/wiki/GUID_Partition_Table

for more info on GPT partitioning. Since WinXP generally doesn't support and won't recognize GPT partitions, WD may have otherwise hacked a standard MBR in some non-standard way making it unrecognizable in linux or they may have used some widows partitioning tool that creates partitions differently enough when pushed to the maximum size limit that they are not properly picked up in linux. The "Failed to read last sector" error points to this type of problem. At any rate, a repartitioning and reformatting will most likely fix the problem. If you need to share data with windows machines, gparted can create NTFS partitions so just create a windows NTFS partition and reformat. Make sure you use an MBR as opposed to GPT partition if you need to data share with windows; gparted can create either type.

Last edited by kilgoretrout; 09-07-2010 at 02:14 PM.
 
1 members found this post helpful.
Old 09-07-2010, 02:41 PM   #3
ChiVampir
LQ Newbie
 
Registered: Jun 2010
Location: Norway
Distribution: Linux Mint Debian, Peppermint OS
Posts: 20

Original Poster
Rep: Reputation: 1
Thanks ^^
I gave it the MS-DOS partition table and formatted it to NTFS and now it works like a charm :)

But will formatting it to ext3 or ext4 make it work better with my system? Is there a big difference between using NTFS and ext3/ext4 on external hard drives connected to Linux systems? I'm going to use this hard drive as additional space for my main computer.

Sharing big files with Windows and OSX users is what I have USB-keys for, so I don't need this hard drive to play well with either Windows or OSX machines ;)

Last edited by ChiVampir; 09-07-2010 at 02:44 PM.
 
Old 09-07-2010, 03:05 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
Is there a big difference between using NTFS and ext3/ext4 on external hard drives connected to Linux systems? I'm going to use this hard drive as additional space for my main computer
.

For some things, there's a big difference. If you wanted to backup using rsync, for example, the difference in unix style file permissions and dates vs ntfs style could definitely trip you up. If you're not using it for Windows, then don't use ntfs, would be my advice.
 
Old 09-07-2010, 03:13 PM   #5
ChiVampir
LQ Newbie
 
Registered: Jun 2010
Location: Norway
Distribution: Linux Mint Debian, Peppermint OS
Posts: 20

Original Poster
Rep: Reputation: 1
Thanks!
I will reformat it into ext3 then ^^

Or is ext4 considered stable for home computers now? Does it still have the issue with potential data loss?
 
Old 09-07-2010, 03:31 PM   #6
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Ext4 vs ext3 is probably not something I want to wade into. I use ext3, works great and if, if, you did want to read it on a Windows machine, you can do it with ext2fs (a free third party Windows driver)
 
Old 09-08-2010, 01:39 AM   #7
ChiVampir
LQ Newbie
 
Registered: Jun 2010
Location: Norway
Distribution: Linux Mint Debian, Peppermint OS
Posts: 20

Original Poster
Rep: Reputation: 1
Thanks for you answer ^^

Just remembered that I've used ext4 for my home folder for about a year now as I'm using Ubuntu on my main computer with Ubuntu (and they started to use ext4 in 9.10 if I remember right). Only problem I've had is that I have lost the file permissions to open documents I've worked with if I lost the electricity (empty battery for example).

So I think I will go for ext4 as this hard drive is going to be connected to my main computer for most of time.
 
Old 07-20-2018, 10:56 PM   #8
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Rep: Reputation: 15
Hi mostlyharmless,
I'vd just bought my second "Elements" hdd and will use to backup my linux (linuxmint-18.3 and linuxmint-19) pc. Of course, do use ext4 it does not cause any problems and just works! I've just formatted the whole disk to ext4. No risk - everything is a risk, actually. I should know, I am 93 years young!
Good luck with the "Elements" disk!
OldAl.
 
Old 07-22-2018, 07:11 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator response

Please do not resurrect necro threads. This thread is 8 years old. Sure ext4 works fine today but at the time of the OP there were some issues with the new filesystem for some users.
 
Old 07-22-2018, 07:25 AM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by onebuck View Post
Please do not resurrect necro threads.
Perhaps you could suggest to jeremy that he re-think his aversion to locking "dead" threads. Then these situation could be avoided altogether.

Mere user exhortations seem to be unheeded.
 
1 members found this post helpful.
Old 07-22-2018, 08:37 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator response

I believe in jeremy's point for not locking threads. He wishes the members to have restraint to understand that some member within a necro thread may not even be active at this time. Sometimes older threads do have value but may not need updated to current functionality.

Each poster to a necro thread should also weigh the value of information at the time of the OP posting and that members post may not be relevant to the thread by changes in time for operations that were not true at OP time.
 
  


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
Western Digital External Hard Drive jongriffiths Linux - Hardware 1 03-02-2010 11:30 PM
Can I install Linux on Western Digital USB external hard drive? priyankadeven Linux - Newbie 6 11-24-2009 09:12 PM
Western digital 160gb external hard drive 2.5" usb s1‏ Vegas9 Linux - Laptop and Netbook 4 01-09-2009 06:59 PM
How to mount Western Digital External Drive previously used on Windows System? bliss4one MEPIS 7 09-16-2008 05:59 PM
External Hard Drive Not mounting (Western Digital) cxiii Linux - Hardware 5 06-16-2008 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:03 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
Open Source Consulting | Domain Registration