Date: Sun, 28 May 2023 23:45:40 +0200 (CEST) From: Sysadmin Lists <sysadmin.lists@mailfence.com> To: freebsd-questions@FreeBSD.org Subject: Re: read and write back full disk to trigger relocation Message-ID: <1957739901.520492.1685310340560@ichabod.co-bxl> In-Reply-To: <a111b6a7-0bf8-d3b9-9611-a7fbf36635b3@artem.ru>
index | next in thread | previous in thread | raw e-mail
> ----------------------------------------
> From: Artem Kuchin <artem@artem.ru>
> Date: May 28, 2023, 4:12:21 AM
> To: <freebsd-questions@FreeBSD.org>
> Subject: read and write back full disk to trigger relocation
>
> If course i can run full disk read once in a while, but i'd rather
> prefer to read and write the data back, so it sector
>
> is damaged it can trigger relocation.
>
>
>From the dd(1) manpage:
Do a refresh of a disk drive, in order to prevent presently recoverable
read errors from progressing into unrecoverable read errors:
dd if=/dev/ada0 of=/dev/ada0 bs=1m
That won't trigger relocation, but it will refresh the decaying data.
--
Sent with https://mailfence.com
Secure and private email
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1957739901.520492.1685310340560>
