uweseimet / scsi2pi

Advanced performant SCSI/SASI emulation and tools for the PiSCSI/RaSCSI board
https://www.scsi2pi.net
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

s2pdump: Add fault tolerance #2

Open uweseimet opened 10 months ago

uweseimet commented 10 months ago

s2pdump shall suport an optional fault tolerant mode, where it reports read errors but does not terminate on an error. Instead, it shall try to read as many readable sectors from a drive as possible. If in a sequence of sectors (s2pdump reads several sectors in a single read operation) a sector in the sequence is not readable, the other sectors of this sequence shall still be read. With this feature s2pdump can be used as a tool to recover data from drives where not all sectors are accessable anymore.