Solved

Corrupt hdd

Posted on 2011-09-20
4
431 Views
Last Modified: 2012-05-12
Hi *,

I recently asked this question: http://www.experts-exchange.com/OS/Linux/Q_27295075.html. I have only just put the new hdd into my machine. It worked like a dream, all my stuff was there (apart from 888mb of corrupt stuff ddrescue couldn't get back).

I restarted my machine, and am now getting
Home: Inode 233069863 has an invalid extend node (blk 40746976, Iblk 0)

I am always getting:
ata_id[642]: HDIO_GET_IDENTITY failed for 'dev/sdb'
ata_id[643]: HDIO_GET_IDENTITY failed for 'dev/sdb'
Although i remember correctly I was always getting these errors when the machine was working fine.

Sometimes I boot up and it gives me the option to ignore/fix the errors. If I ignore I can boot into the machine.

Any thoughts? I am assuming the machine is somehow corrupting data on hdds! But it only happens on my home hdd, not the system one!

Help!
James
0
Comment
Question by:James_h1023
  • 3
4 Comments
 
LVL 13

Accepted Solution

by:
Hugh McCurdy earned 500 total points
ID: 36566781
The GET_IDENTITY error is likely a false positive from software expecting older technology when you have newer technology.  Unless someone disputes this, I'd ignore it.

The inode error should be addressed.  What I would do is boot from a Live CD (such as Ubuntu), mount the partition and run fsck.  If you aren't sure which partition, then fsck all Linux partitions on your computer.  You may need to use fsck -f in order to force a check.  Command would be something like

# fsck -f /dev/sda3    (for the 3rd partition of the first drive).
or perhaps
$ sudo fsck -f /dev/sda3    (If you are using Ubuntu, et al).

If you aren't sure which partitions are Linux, you can use fdisk
$ sudo fdisk /dev/sda
0
 
LVL 13

Expert Comment

by:Hugh McCurdy
ID: 36566786
Oh, whatever you do, don't ever use the w(rite) command in fdisk unless you know what you are doing.
0
 
LVL 4

Author Comment

by:James_h1023
ID: 36715902
Apologies for the delay and thanks for your comments.

I realise I can do fdisk, as this was what I had to do to halfl fix the previous hdd (in my previous question). My question is more pointed towards why the disk is corrupting? and why only the home disk/partition!

Thanks,
J
0
 
LVL 13

Expert Comment

by:Hugh McCurdy
ID: 36716502
Did you run fsck yet?  The most common cause for a bad inode is improper shutdown (power failure).  Other options are broken hardware, dirty electricity or even a defective driver.  
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
AWS EC2 Linux 1 36
VM or Imaging options for a computer 4 71
LINUX, CPANEL & WHM 5 23
Automating a script for user accounts LINUX 14 42
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now