I have no hands-on experience with ZFS or RAID in general.
I'm starting a project (a DIY file-server) and wanted to weigh up whether to use ZFS for it.
How exactly is a corrupt file restored/fixed/recovered on ZFS's RAID-Z1.
E.g.
Imagine I have 4 drives (10TB each) and one of the drives experiences a read error making the data on one of its sectors corrupt.
Does ZFS need to undergo a complete rebuild of the array?
Or does it have a mechanism to recover that single sector's worth of data?
I'd like to know for two reasons:
I'm starting a project (a DIY file-server) and wanted to weigh up whether to use ZFS for it.
How exactly is a corrupt file restored/fixed/recovered on ZFS's RAID-Z1.
E.g.
Imagine I have 4 drives (10TB each) and one of the drives experiences a read error making the data on one of its sectors corrupt.
Does ZFS need to undergo a complete rebuild of the array?
Or does it have a mechanism to recover that single sector's worth of data?
I'd like to know for two reasons:
- The length of time I can expect ZFS to recover from the single faulty sector
- The amount of reading/writing that will occur as a result