Skip to contentSkip to conversation

Getting error message "Cannot read inode bitmap". Someone able to help?

DISCUSSION Manuel Reimer 1 participant 2 messages Jul 27, 2010 – Aug 3, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

I tried to restore data from a broken NAS device. This small box contained a embedded linux system and two 1TB hard drives.

After some tries, I managed to connect both drives via mdadm and was able to mount this raid as XFS.

Now I connected a brand new eSATA drive to this PC and started to copy the data (about 700 Gigabytes). Target disk was 1TB, so enough space to hold the source data.

With my first try (ext2 on target disk) I got the error "Cannot read inode bitmap". The kernel reported this error for the *target* device (the brand new SATA hard drive). I did a second try and reformated the target drive to ext3 and, again, I got the same error. So I installed "smartmontools" into my running live system and checked the drive. The new drive has no "reallocated sectors" but several read errors (about 500).

The worst thing about this is, that a diff between source and target showed many files differing, so I didn't just get errors, but I also have bad data on the target disk. This is a pretty *unstable* disc behaviour...

The copy program, I used, was "cp" from busybox.

What should I check to find the reason for this errors? Is it really possible that a brand new disc, which doesn't have conspicuous smart values, is the reason for this problem? May the eSATA disc enclosure (has a small circuit to also offer USB access) be the reason?

The log entries, I could get via dmesg, are available here:
http://pastebin.org/423211

Thank you very much in advance

Yours

Manuel Reimer

#1 lore raw
Quoted 6 lines · Manuel Reimer

With my first try (ext2 on target disk) I got the error "Cannot read inode bitmap". The kernel reported this error for the *target* device (the brand new SATA hard drive). I did a second try and reformated the target drive to ext3 and, again, I got the same error. So I installed "smartmontools" into my running live system and checked the drive. The new drive has no "reallocated sectors" but several read errors (about 500).

Sorry for the spam (maybe I'm on the wrong ML at all... don't know...) but I fixed this on my own. I didn't expect the new disk to be the reason for this problem, but after checking for badblocks I got a value far over 1000 of bad blocks.

So I'll send this disk back to the vendor to get my money back and get a new one...

Nice to know, that Linux was *not* the reason for those errors.

Yours

Manuel