Solved

Corrupt hdd

Posted on 2011-09-20
4
443 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

856 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