Re: getting rid of "csum failed" on a hw raid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 07, 2017 at 06:48:48PM +0500, Roman Mamedov wrote:
> On Wed, 7 Jun 2017 15:09:02 +0200
> Adam Borowski <kilobyte@xxxxxxxxxx> wrote:
> > > Yes, because btrfs will return -EIO
> > > So try dd_rescue
> > 
> > Or even plain dd conv=noerror.  Both will do a faithful analogue of a
> > physical disk with a silent data corruption on the affected sectors.
> 
> Yeah, except "plain dd conv=noerror" will produce a useless corrupted image,
> because it will be shifted forward by the number of unreadable bytes after the
> first error.
> 
> You also need the "sync" flag in there.

Doh, yeah.

> Or just stick with dd_rescue and not try to correct people's perfectly good
> suggestions with completely wrong and harmful ones.

On the other hand, you have dd everywhere, while dd_rescue is not available
on most bootable media not specifically made for rescue purposes.  And
installing extra software when your disk is already unsound but mostly
working might be risky.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ A tit a day keeps the vet away.
⣾⠁⢰⠒⠀⣿⡁
⢿⡄⠘⠷⠚⠋⠀ (Rejoice as my small-animal-murder-machine got unbroken after
⠈⠳⣄⠀⠀⠀⠀ nearly two years of no catch!)
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux