3 ms·
How can a scrub take only seconds when it has to read all the data?
by ciupicri 13d ago
How can a scrub take only seconds when it has to read all the data?
- Polizeiposaune 13d agozfs-style scrub only reads allocated blocks and skips unallocated blocks; if the pool is mostly empty it can complete very quickly. Layered storage systems with a RAID layer that makes N disks look like one big disk generally don't have visibility into which blocks are free and which are allocated so they must "scrub" all the disks on initialization and repair even if only 1% is used.