So I've gone and purchased a pair of WD Red 20TB disks, and am about to do burn-in testing on them.
To start with I'm doing a long S.M.A.R.T. test, which will take almost 35 hours.
Then I thought I'd run jgreco's
But I noticed this in the
From what I understand, it's not a bad idea to change the drives' logical sector sizes to 4k as well. (Or is that just for SSDs?) And if I change it, I though it'd be a good idea to do it before running jgreco's script, so the burn-in is working on the drives as they will be configured when in use.
In Linux, logical sector size can be set using
Is there a way to change a drive's logical sector size in TrueNAS?
Would
To start with I'm doing a long S.M.A.R.T. test, which will take almost 35 hours.
Then I thought I'd run jgreco's
solnet-array-test-v2.sh
script for a week or two (instead of using badblocks
which I've done previously with other disks), and finish with another long S.M.A.R.T. test.But I noticed this in the
smartctl -a
output:Sector Sizes: 512 bytes logical, 4096 bytes physical
From what I understand, it's not a bad idea to change the drives' logical sector sizes to 4k as well. (Or is that just for SSDs?) And if I change it, I though it'd be a good idea to do it before running jgreco's script, so the burn-in is working on the drives as they will be configured when in use.
In Linux, logical sector size can be set using
hdparm
(according to stackexchange):hdparm --set-sector-size 4096 --please-destroy-my-drive /dev/sdX
Is there a way to change a drive's logical sector size in TrueNAS?
Would
sg_format --format --size=4096 -v /dev/ada2
do what I want? Have anyone here done this before and can comment or give advice? sg_format
was used to change sector size in the "Replacing 4Kn disks" thread, with mixed results.