Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am helping a friend installing surveillance cameras on his farm.
He bought a Kguard DVR and a 2TB WD harddrive (SATA).
First I tied formatting it from the DVR itself, but it failed.
I then connected it to my computer using an USB2SATA connector, and tried formatting it with gparted. That failed with the message: "No partition table found on device /dev/sdd"
When trying to create a msdos or gtp partition table it performs the action without errors, but it doesn't save the changes.
Same thing when using parted. When trying to create a msdos or gtp table (or label) it doesn't complain, but when i try to create a partition or simply use the print command it gives me the error "unrecognized disk label".
I allso tried fdisk, but it told me to use parted instead due to the large size of the disk.
I googled this issue alot, and found a couple of forum threads concerning similar issues, but nothing that really helped.
Can anyone give me some hints?
//John
Last edited by john_erlandsson; 10-26-2010 at 04:50 AM.
if i follow the guide it gives me the same as before
Quote:
$ sudo parted /dev/sdd
GNU Parted 2.1
Using /dev/sdd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
(parted) mkpart primary 0 2001G
Error: /dev/sdd: unrecognised disk label
(parted) print
Error: /dev/sdd: unrecognised disk label
(parted)
I get the same error even if i try to make smaller partitions...
Last edited by john_erlandsson; 10-25-2010 at 04:55 PM.
Ok... I am not familiar with any diagnostics tool, so i might need you to elaborate.
What are OEM diags? Are they a part of some fedora package?
Tried smart which gave me the output:
Quote:
sudo smartctl -a /dev/sdd
smartctl 5.39.1 2010-01-28 r3054 [i386-redhat-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: WDC WD20EARS-00MVWB0
Serial Number: [No Information Found]
Firmware Version: [No Information Found]
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 1
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Tue Oct 26 11:22:55 2010 CEST
SMART is only available in ATA Version 3 Revision 3 or greater.
We will try to proceed in spite of this.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
What is the model number of the DVR? I am supprised that the DVR itself fails to format the drive. As suggested there might be something wrong with the drive. BTW you can download WD diagnostics from their website.
I knew there was something with the WD EARS drives. Did some reading. Turns out the EARS drives are first generation 4k sector drives. It's should have a jumper that selects 512/4096 byte sectors. Could you check in what position the jumper is.
I knew there was something with the WD EARS drives. Did some reading. Turns out the EARS drives are first generation 4k sector drives. It's should have a jumper that selects 512/4096 byte sectors. Could you check in what position the jumper is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.