Skip site navigation (1)Skip section navigation (2)
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 =E2=80=9Cclone=E2=80=9D wasn=E2=80=99t 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:
>=20
> Hi,
>=20
> You need to add =E2=80=9Csync" to get the unreadable areas filled with =
zeros. Something like "dd conv=3Dsync,noerror bs=3D4k=E2=80=9D is =
probably good.
>=20
> Regards,
>=20
> Jan.
>=20
>> On 13 Jun 2019, at 13:02, peter.blok@bsd4all.org wrote:
>>=20
>> Hi,
>>=20
>> I have a bad SSD drive. If I read it with dd and conv=3Dnoerror, what =
happens with the unreadable areas? Does it fill with zeroes, or does the =
driver still copy what it was able to read?
>>=20
>> I=E2=80=99m getting ATA status 51 back, many blocks in a row. =
Followed by chunks of readable data, followed by unreadable data.
>>=20
>> Is there a modepage or something else to tell the drive to pass on =
the bad data?
>>=20
>> Any other ideas?
>>=20
>> Peter
>>=20
>>=20
>>=20
>>=20
>> _______________________________________________
>> 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"
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF748378-E283-44B5-8D19-1A4AA11EAD3E>