LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-14-2005, 08:33 AM   #1
newmoon
Member
 
Registered: May 2005
Distribution: 1. KnoppMyth R5A12 2. Debian Testing (Sarge)
Posts: 54

Rep: Reputation: 15
Is this hard drive dying?


Hi friends:

I have a Maxtor 20.5 GB IDE hard drive, and I had trouble formatting it in Windows.
The formatting would just stop at a certain point, and never start up again.

So it was suggested to me that in order to test the drive, I boot from a Linux CD
and try running:

"mke2fs -c -c /dev/sda" to perform a read/write test on the largest partition (18 GB).

I did this using a Knoppix CD, and got the following output:


mke2fs 1.36
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2305632 inodes, 4600639 blocks
230431 blocks (5.00%) reserved for the superuser
First data block=0
141 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
4096000

Testing with pattern 0xaa: done 639
Reading and comparing: done 639
Testing with pattern 0x55: done 639
Reading and comparing: done 639
Testing with pattern 0xff: done 639
Reading and comparing: done 639
Testing with pattern 0x00: done 639
Reading and comparing: done 639
writing inode tables: done


Writing superblocks and filesystems accounting information: done

This filesystem will be automatically checked every 37 mounts or
100 days,, whichever comes first. Use tune2fs -c or -i to override.



Can someone tell me what the numbers mean? Is this the number of blocks the formatting tool
thinks may be bad, or had trouble with?

I really need to know if this drive is going to HD heaven.


Thanks for any help.


newmoon
 
Old 11-14-2005, 08:51 AM   #2
meranto
LQ Newbie
 
Registered: Nov 2005
Location: /home/ridderkerk/NL or /work/heerhugowaard/NL
Distribution: Gentoo
Posts: 20

Rep: Reputation: 0
It all looks fine, I don't see any error messages...

What line were you particulairy concerned about?
 
Old 11-14-2005, 08:51 AM   #3
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
It means Linux successfully wrote to the drive, and sees it as a viable drive. It doesn't really tell you anything fancy about the drive.

If you really wnt to test it, you should use something like OnTrack which is a HD testing program. It isn't perfect, but will give you lots better info that just knowing you can boot/install and read/write on an HD. Otherwise Maxtor has a booot disc tool you can use to check their hard drives available on their website.
 
Old 11-14-2005, 09:03 AM   #4
newmoon
Member
 
Registered: May 2005
Distribution: 1. KnoppMyth R5A12 2. Debian Testing (Sarge)
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks guys.

Well, I guess I was worried about all the 639s there. What do they indicate? When I looked at some other people's posting of similar output, they had just "done" where I have "639".

Can anyone tell me what those numbers mean?


Thanks again for your help. I hope the drive will survive.


newmoon

Last edited by newmoon; 11-14-2005 at 09:19 AM.
 
Old 11-14-2005, 02:04 PM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
You can use the fsck tool to check the partition for bad blocks. IIRC, the syntax is

fsck -c -c -C 0 /dev/sda

The two -c makes fsck call the badblocks tool, and -C 0 tells it to use a progress bar.

I hope this helps.
 
Old 11-14-2005, 02:46 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
Quote:
Otherwise Maxtor has a booot disc tool you can use to check their hard drives available on their website.
I'll second this.
The manufacturer's utility will check for failing electronics and bad blocks.
If the drive fails the check you want to back up you data ASAP and not fool around with losing it.
 
  


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
CD Drive - dirty or dying? dosnlinux Linux - Hardware 5 04-28-2005 04:49 PM
Hard drive dying. Need to move Linux partition over. Fear58 Linux - General 3 01-29-2005 05:14 PM
Hard drive dying, good backup method cadj Linux - Software 3 12-14-2004 07:28 PM
URGENT: Hard drive is dying, need migration AngryLlama Linux - General 12 11-27-2004 10:31 AM
My sata drive might be dying =/ xushi Slackware 3 10-14-2004 02:23 PM


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