I have 10 x WDC WD140EDFZ-11A0VA0 in raidz2 with ashift=12 (4096)
Download
from [2] HDD Firmware Downloads. PC-3000 Support Downloads. Data recovery and HDD repair tools
Offline the disk from the zpool
My luks drives are mapped by
Its possible to figure out which dm-X maps to /dev/sdX from [5] How to map /dev/sdX and /dev/mapper/mpathY device from the /dev/dm-Z device – The Geek Diary
Close luks
Change the sector size to 4096
After:
** REBOOT or HOT-PLUG disk is required or you may experience disk errors **
Open luks
Online disk back to pool
Surprisingly there was no resilvering.
Force scrub for sanity check
Waiting for the scrub to complete before converting the rest of the drives in the pool.
Next step is converting the drives to Ultrastar DC HC530 and gaining a bit of performance from 5400 RPM -> 7200 RPM.
Allegedly they are the same drive [6]
References
[1] How to convert the Western Digital "Ultrastar® DC HC530 14TB HDD" from 512e to 4Kn sector size? (In Windows 10)
[2] HDD Firmware Downloads. PC-3000 Support Downloads. Data recovery and HDD repair tools
[3] How to format WDBWLG0040HBK from 512e to 4kn
[4] 5 Steps to Safely Replace a Drive in a Linux ZFS Array
[5] How to map /dev/sdX and /dev/mapper/mpathY device from the /dev/dm-Z device – The Geek Diary
[6] https://forums.servethehome.com/ind...too-good-to-be-true-pricing.29333/post-358464
smartctl -a /dev/sdX
shows Sector Sizes: 512 bytes logical, 4096 bytes physical
Download
Code:
wdckit-2.16.0.zip
Offline the disk from the zpool
Code:
sudo zpool offline POOLNAME luks-X
/dev/disk/by-id
so they are consistent across boots.Its possible to figure out which dm-X maps to /dev/sdX from [5] How to map /dev/sdX and /dev/mapper/mpathY device from the /dev/dm-Z device – The Geek Diary
Close luks
Code:
sudo cryptsetup luksClose luks-X
Code:
wdckit format /dev/sdX -b 4096 --fastformat
Code:
Sector Size: 4096 bytes logical/physical
Open luks
Code:
sudo cryptsetup luksOpen /dev/disk/by-id/XXXXXXX luks-X
Code:
sudo zpool online POOLNAME luks-X
Force scrub for sanity check
Code:
sudo zpool scrub POOLNAME
Next step is converting the drives to Ultrastar DC HC530 and gaining a bit of performance from 5400 RPM -> 7200 RPM.
Allegedly they are the same drive [6]
Western Digital model WD140EDFZ is a white-label "IU HA 500" which in turn is actually an alternative label for the Ultrastar DC HC530. It is the identical drive.
References
[1] How to convert the Western Digital "Ultrastar® DC HC530 14TB HDD" from 512e to 4Kn sector size? (In Windows 10)
[2] HDD Firmware Downloads. PC-3000 Support Downloads. Data recovery and HDD repair tools
[3] How to format WDBWLG0040HBK from 512e to 4kn
[4] 5 Steps to Safely Replace a Drive in a Linux ZFS Array
[5] How to map /dev/sdX and /dev/mapper/mpathY device from the /dev/dm-Z device – The Geek Diary
[6] https://forums.servethehome.com/ind...too-good-to-be-true-pricing.29333/post-358464
Last edited: