[OpenIndiana-discuss] building a new box soon- HDD concerns and recommendations for virtual serving

Carl Brewer carl at bl.echidna.id.au
Sun Apr 21 03:48:31 UTC 2013


On 19/04/2013 11:29 AM, Carl Brewer wrote:
> On 18/04/2013 11:08 AM, Jay Heyl wrote:
>
>> One thing I would recommend is trying to use the ashift=12 setting to
>> force
>> the use of 4k blocks. I ran into problems because my initial pools were
>> created with 512-byte blocks. When I bought some spare drives I couldn't
>> use them because they were advanced format with 4k blocks and zfs
>> won't mix
>> block sizes on the same vdev. Had I used 4k blocks when I initially set
>> everything up I wouldn't have had this problem with the new drives.
>
> How can I check what they are at the moment?

Like this :

root at hostie:~# zdb | egrep 'ashift| name'
     name: 'rpool'
             ashift: 12



And as I understand it, the 12 means 4k blocks, good, right? :)

Carl





More information about the OpenIndiana-discuss mailing list