Date: Fri, 14 Jun 2019 12:26:56 +0200 From: peter.blok@bsd4all.org To: Jan Martin Mikkelsen <janm@transactionware.com> Cc: freebsd-scsi@freebsd.org Subject: Re: Bad SSD drive - what happens with unreadable data Message-ID: <BF748378-E283-44B5-8D19-1A4AA11EAD3E@bsd4all.org> In-Reply-To: <E2C30D1A-A158-4923-B3C6-090249F004B8@transactionware.com> References: <C13683A4-B5CB-43B9-84EC-1E18BD88D63E@bsd4all.org> <E2C30D1A-A158-4923-B3C6-090249F004B8@transactionware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jan, Yes, I noticed the “clone” wasn’t growing during the read errors and read the manual page.But I ended up using ddrescue. Peter > On 14 Jun 2019, at 11:56, Jan Martin Mikkelsen <janm@transactionware.com> wrote: > > Hi, > > You need to add “sync" to get the unreadable areas filled with zeros. Something like "dd conv=sync,noerror bs=4k” is probably good. > > Regards, > > Jan. > >> On 13 Jun 2019, at 13:02, peter.blok@bsd4all.org wrote: >> >> Hi, >> >> I have a bad SSD drive. If I read it with dd and conv=noerror, what happens with the unreadable areas? Does it fill with zeroes, or does the driver still copy what it was able to read? >> >> I’m getting ATA status 51 back, many blocks in a row. Followed by chunks of readable data, followed by unreadable data. >> >> Is there a modepage or something else to tell the drive to pass on the bad data? >> >> Any other ideas? >> >> Peter >> >> >> >> >> _______________________________________________ >> freebsd-scsi@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-scsi >> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF748378-E283-44B5-8D19-1A4AA11EAD3E>
