3 ms·
RAID that knows about which blocks are occupied and which are not will take a shorter time to rebuild because it'll need to read and write fewer blocks. For `md
by rbanffy 7y ago
RAID that knows about which blocks are occupied and which are not will take a shorter time to rebuild because it'll need to read and write fewer blocks. For `mdadm` to do that, it'd need to know a lot about the internals of the filesystems that are mapped to the block device.
Filesystems like BtrFS and ZFS know what is being used and what is not and won't waste time reading or writing to blocks that don't hold any currently used data.
- zozbot234 7y ago> For `mdadm` to do that, it'd need to know a lot about the internals of the filesystems that are mapped to the block device. That's taken care of by TRIM/DISCARD, which all modern filesystems support.