lkml.org 
[lkml]   [2008]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectHow can i read really 512 byte?
Date
Hello list,

Now i am working on recover some data from one defective drive.
I am using dd_rescue, and dd, but both ready only 4K, i think, because the
kernel's block size is 4K.

I have tried to google for the solution, but only found this trick:

losetup /dev/loop0 /dev/hdc
blockdev --setbsz 512 /dev/hdc

and after this set, trying to read the hdc...

It looks like working on the first look, but not really. :-(
The 512 size bad sectors still have 4K sizes, but the reading attempt takes
more (8x ?) longer.

Somebody can help me to set the reading block size to 512 byte?

Thanks a lot,
Janos Haar



\
 
 \ /
  Last update: 2008-09-30 14:31    [W:0.737 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site