Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 4k sector disks



On Wed, 3 Sep 2014, Robert Swindells wrote:
Is there any special configuration needed to use 4k sector disks
efficiently ?

I have a couple of SATA drives with 4k sectors, the disklabels for
them give a sector size of 512 bytes but 'atactl identify' shows
the true sector size.

I used 'newfs -S 4096' on one of them, a new SSD, but am wondering
whether to copy stuff off the other one and repartition.

Even with netbsd-5, I've had no problems with 4k disks providing:
- all partitions are aligned at 4k boundaries (including within RAIDframe)
- the FS was formatted with newfs -b 32768 -f 4096 (N.B. didn't use -S option)

Failing to do either of these gave catastrophic write performance especially on a RAID-5 RAIDframe (due to the MRW cycle).

--
Stephen



Home | Main Index | Thread Index | Old Index