LinuxQuestions.org
Review your favorite Linux distribution.
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 10-25-2010, 02:06 PM   #1
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Rep: Reputation: 1
Creating a filesystem on a new HD


Hi!

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.
 
Old 10-25-2010, 03:12 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Might be that you need to go to guid.

http://www.cyberciti.biz/tips/fdisk-...eater-2tb.html
 
Old 10-25-2010, 03:43 PM   #3
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
Ok... I'll check the kernel config

Last edited by john_erlandsson; 10-25-2010 at 03:47 PM.
 
Old 10-25-2010, 04:40 PM   #4
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
CONFIG_EFI_PARTITION=y

Must be something else

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.
 
Old 10-25-2010, 07:17 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Wonder if the drive is supported in this system or some issue with it?

Try maybe the OEM diags for the hard drive.
 
Old 10-26-2010, 04:27 AM   #6
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
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.

//John
 
Old 10-26-2010, 04:27 AM   #7
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
the command: sudo badblocks -n -v prints out every block ont the drive...

Last edited by john_erlandsson; 10-26-2010 at 04:41 AM.
 
Old 10-26-2010, 04:36 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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.

OEM - Original Equipment Manufacture.

Last edited by michaelk; 10-26-2010 at 05:01 AM.
 
Old 10-26-2010, 04:42 AM   #9
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
It is from KGUARD security and the model is: KG-SHA104.

It is supposed to be able to handle up to 2TB hard drives.
 
Old 10-26-2010, 05:19 AM   #10
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
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.
 
Old 10-26-2010, 06:55 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
Originally Posted by gdejonge View Post
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.
Good point...
 
Old 10-28-2010, 03:06 AM   #12
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
The drive was shipped without a jumper.

The configurations is:

7-8, Windows XP, Single partition
5-6, Lower transfer speed
1-2, Enable SSC

I am beginning to suspect that there is something wrong with the drive.

My workstation halted with a HD error when booting up.

Is there a Fedora tool to check integrity?

//John
 
Old 10-28-2010, 06:57 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I'd boot to the OEM diags. Western Digital ought to have them on their site.
 
Old 12-28-2010, 04:26 AM   #14
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
Returned the drive and got a new one.

//John
 
  


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
Creating a Filesystem Driver Zymus Linux - Newbie 6 07-16-2010 05:34 PM
creating zfs filesystem jmral23 Solaris / OpenSolaris 2 01-08-2007 02:35 PM
creating a filesystem for NFS ashlesha Linux - Software 0 10-31-2006 01:26 PM
Creating Filesystem for.. j_miguel_y Linux - General 1 06-10-2004 01:53 PM
creating a new filesystem? kkempter Linux - Software 3 08-16-2003 07:48 AM

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

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