- Joined
- May 17, 2014
- Messages
- 3,611
I have a question about ZFS' error recovery process in FreeNAS.
Here is a senerio I actually experienced on a Solaris 10 SPARC server recently. A run of "zpool status"
showed a double failure, in a mirrored setup. It even told me what file was lost, (some language file that
was pretty worthless). It seems someone else had renamed that file, restored a copy but left the rest of the
mess for me to clean up.
I was able to run a scrub, which still showed the bad file, as it's blocks were not yet "fixed". I removed it,
re-ran the scrub which repaired 29KB, but no losses. (Or may that 29KB was found in the first scrub...)
Next, I cleared the error counts and scheduled the disks for replacement, (one at a time). At no time did
the server crash or need to be rebooted.
Now how does FreeNAS' ZFS handle a similar situation?
If I experience an un-recoverable fault, can I manually recover?
Like from backups or re-generate the file, (like from my music CDs)?
I know that FreeNAS, (and BSD in general), use a forked version of ZFS. So that what I have on the
Solaris 10 SPARC server would likely be different than in FreeNAS. It appears if Solaris 10 SPARC
has direct access to the drives, it will perform a SCSI "repair" on the bad blocks.
So I am just asking how FreeNAS handles something like this today.
P.S. Regardless, I don't want to administer a Solaris 10, (or later), x86 box for home. Looks like a nice
FreeNAS Mini is in my future
.
Here is a senerio I actually experienced on a Solaris 10 SPARC server recently. A run of "zpool status"
showed a double failure, in a mirrored setup. It even told me what file was lost, (some language file that
was pretty worthless). It seems someone else had renamed that file, restored a copy but left the rest of the
mess for me to clean up.
I was able to run a scrub, which still showed the bad file, as it's blocks were not yet "fixed". I removed it,
re-ran the scrub which repaired 29KB, but no losses. (Or may that 29KB was found in the first scrub...)
Next, I cleared the error counts and scheduled the disks for replacement, (one at a time). At no time did
the server crash or need to be rebooted.
Now how does FreeNAS' ZFS handle a similar situation?
If I experience an un-recoverable fault, can I manually recover?
Like from backups or re-generate the file, (like from my music CDs)?
I know that FreeNAS, (and BSD in general), use a forked version of ZFS. So that what I have on the
Solaris 10 SPARC server would likely be different than in FreeNAS. It appears if Solaris 10 SPARC
has direct access to the drives, it will perform a SCSI "repair" on the bad blocks.
So I am just asking how FreeNAS handles something like this today.
P.S. Regardless, I don't want to administer a Solaris 10, (or later), x86 box for home. Looks like a nice
FreeNAS Mini is in my future