Re: read and write back full disk to trigger relocation
- Reply: David Christensen : "Re: read and write back full disk to trigger relocation"
- Reply: Lena_a_lena.kiev.ua: "Re: read and write back full disk to trigger relocation"
- In reply to: Artem Kuchin : "read and write back full disk to trigger relocation"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 May 2023 21:45:40 UTC
> ---------------------------------------- > 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