Quantcast
Channel: ServeTheHome Forums
Viewing all articles
Browse latest Browse all 100600

Trouble forcing 4k / ashift=12, need help with SD.conf

$
0
0
I just can't seem to get it to force 4k even though the majority of the drives are 4k drives (only 2 of the 10 are not 4k!!). Its running in a ESX VM with passthrough so one of my options I think is using ZFS guru to make the pool, I was just hoping to get it all working through openindiana/napp-it.

Here is the SD.CONF file:

Code:

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
#

#4k override
sd-config-list =
    "ATA    SAMSUNG HD204UI", "physical-block-size:4096",
    "ATA    ST2000DL004 HD20", "physical-block-size:4096",
    "ATA    ST3250820NS", "physical-block-size:4096",
    "ATA    WDC WD15EARS-00S", "physical-block-size:4096";

name="sd" class="scsi" target=0 lun=0;
name="sd" class="scsi" target=1 lun=0;
name="sd" class="scsi" target=2 lun=0;
name="sd" class="scsi" target=3 lun=0;
name="sd" class="scsi" target=4 lun=0;
name="sd" class="scsi" target=5 lun=0;
name="sd" class="scsi" target=6 lun=0;
name="sd" class="scsi" target=7 lun=0;
name="sd" class="scsi" target=8 lun=0;
name="sd" class="scsi" target=9 lun=0;
name="sd" class="scsi" target=10 lun=0;
name="sd" class="scsi" target=11 lun=0;
name="sd" class="scsi" target=12 lun=0;
name="sd" class="scsi" target=13 lun=0;
name="sd" class="scsi" target=14 lun=0;
name="sd" class="scsi" target=15 lun=0;

#
# The following stub node is needed for pathological bottom-up
# devid resolution on a self-identifying transport.
#
name="sd" class="scsi-self-identifying";

#
# Associate the driver with devid resolution.
#
ddi-devid-registrant=1;

and here is what napp-it created when I made a RAIDz2 pool (after editing sd.conf and rebooting):

Viewing all articles
Browse latest Browse all 100600

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>