iXsystems, the developer of the FreeNAS project,
Problems arise with WD Red drives with capacities ranging from 2 to 6 TB, produced since 2018, which use technology for recording
The essence of SMR technology is the use of a magnetic head on a disk, the width of which is greater than the width of the track, which leads to recording with partial overlap of the adjacent track, i.e. any re-recording results in the need to re-record the entire group of tracks. To optimize work with such drives, it is used
DM-SMR implies that zoning and data distribution operations are controlled by the disk controller and for the system such a disk looks like a classic hard disk that does not require separate manipulations. DM-SMR uses indirect logical block addressing (LBA, Logical Block Addressing), reminiscent of logical addressing in SSD drives. Each random write operation requires a background garbage collection operation, resulting in unpredictable performance fluctuations. The system may try to apply optimizations to such disks, believing that the data will be written to the specified sector, but in fact the information issued by the controller determines only the logical structure and in fact, when distributing data, the controller will apply its own algorithms that take into account previously allocated data. Therefore, before using DM-SMR disks in a ZFS pool, it is recommended to perform an operation to zero them and reset them to their original state.
Western Digital has been involved in analyzing the conditions under which problems arise, which, together with iXsystems, is trying to find a solution and prepare a firmware update. Before publishing conclusions about fixing the problems, drives with the new firmware are planned to be tested on high-load storages with FreeNAS 11.3 and TrueNAS CORE 12.0. It is stated that due to different interpretations of SMR by different manufacturers, some types of SMR drives do not have problems with ZFS, but the testing undertaken by iXsystems is focused only on checking WD Red drives based on DM-SMR technology, and for SMR drives
Currently, ZFS issues have been proven and repeated in tests for at least WD Red 4TB WD40EFAX drives with firmware 82.00A82 and
Source: opennet.ru