Stefan G. Weichinger <[email protected]> [11-01-17 20:44]:
> Am 17.01.2011 20:15, schrieb [email protected]:
> > When switched to display sector units it is only a matter of counting
> > to find the partition in question I would guess...
>
> Errm, yes, I thought of this as well, as always *after* posting to the ML.
>
>
> # fdisk -l -u /dev/sdb
>
> [..]
>
> /dev/sdb4 39889395 1953520064 956815335 5 Extended
> /dev/sdb5 39889458 1717621604 838866073+ 8e Linux LVM
> /dev/sdb6 1717621668 1953520064 117949198+ fd Linux raid
> autodetect
>
> So sector 1835240116 should be part of sdb6, right?
>
> So my hopes are high to be able to cp all the sdb5-content while the hdd
> is still alive (yes, I have backups, but not up to the latest ...)
>
> Thanks, Stefan
>
Hi Stefan,
The chances are high, that only one file is "killed" by this, since
most of the data on a hd is not of organisational matter.
Simply try the following on sdb6
cd "sdb6"
sudo find . -type f exec cat\{\} > /dev/null \;
Regardless of the time it will cost to cat ALL files, it will
fail on that file with the bad sector...
Good luck!
mcc