- Joined
- May 17, 2014
- Messages
- 3,611
While responding to a post, I included a similar setup I have with a striped ZFS pool.
Many years ago, like around 2015, I built a miniature fanless desktop computer as my media server. The OS is Linux, Gentoo distro with only software I needed installed. It has an 1TB mSATA SSD and a 2TB SATA laptop HDD. It was configured to use about 40GBs of each storage device for a ZFS Mirrored OS pool and the rest ZFS Striped into my media pool.
When I original built it, I did not have automatic ZFS scrubs. Every now and then, probably more than a month or 2, I'd run a manual ZFS scrub. The OS always seemed fine, but I updated it several times a year, which meant many files were read.
As I expected, the scrubs on the media pool found occasional unrecoverable file errors. I had planned on that happening, so I had multiple backups, both on-line and off-line. So, easy enough to restore. Most were in larger video files, which statistically makes sense, as they would have a higher chance of encountering a bad block.
But, the weird thing is, since I enabled automatic twice a month ZFS scrubs around 2018, (both OS pool and media pool), I have not had a single error in years. And this thing has been alive since about 2015, close to 8 years.
I call that weird.
Now to be fair, I did install a USB powered, external fan, (about 3"), blowing air directly across the computer. I doubt that could have made the storage devices more reliable, but maybe...
So, from this perspective, ZFS scrubs seem to magically heal a Striped pool when encountering bad blocks.
Okay, I am not serious about "magic". But, at a guess, reading a block that is starting to fail, (but disk ECC can fix), actually causes either the storage device or ZFS to spare it out before data loss. Thus, ZFS not having to deal with a completely failed block.
Any one else with thoughts on the mater?
Many years ago, like around 2015, I built a miniature fanless desktop computer as my media server. The OS is Linux, Gentoo distro with only software I needed installed. It has an 1TB mSATA SSD and a 2TB SATA laptop HDD. It was configured to use about 40GBs of each storage device for a ZFS Mirrored OS pool and the rest ZFS Striped into my media pool.
When I original built it, I did not have automatic ZFS scrubs. Every now and then, probably more than a month or 2, I'd run a manual ZFS scrub. The OS always seemed fine, but I updated it several times a year, which meant many files were read.
As I expected, the scrubs on the media pool found occasional unrecoverable file errors. I had planned on that happening, so I had multiple backups, both on-line and off-line. So, easy enough to restore. Most were in larger video files, which statistically makes sense, as they would have a higher chance of encountering a bad block.
But, the weird thing is, since I enabled automatic twice a month ZFS scrubs around 2018, (both OS pool and media pool), I have not had a single error in years. And this thing has been alive since about 2015, close to 8 years.
I call that weird.
Now to be fair, I did install a USB powered, external fan, (about 3"), blowing air directly across the computer. I doubt that could have made the storage devices more reliable, but maybe...
So, from this perspective, ZFS scrubs seem to magically heal a Striped pool when encountering bad blocks.
Okay, I am not serious about "magic". But, at a guess, reading a block that is starting to fail, (but disk ECC can fix), actually causes either the storage device or ZFS to spare it out before data loss. Thus, ZFS not having to deal with a completely failed block.
Any one else with thoughts on the mater?
Last edited: