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 16:06:50 UTC
On 5/28/23 04:12, Artem Kuchin wrote: > Hello! > > I have a 3TB gmirror raid and i noticed that it can be a case that some > data decays and i would never know it. > > 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. > > Is there a ready made utility for such task or i need to write my one? > > Artem If you are worried about disk drives, I would look for a manufacturer diagnostic tool. Such tools can do things via an OS, but they can also tell the drive controller to do things directly. For example, Seagate: https://www.seagate.com/support/downloads/seatools/ You might want to consider switching to ZFS; it includes data and metadata integrity checks that can detect "bit rot" (and fix it, if you have redundancy; such as mirrors). David