NetApp and Solaris: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
No edit summary
Line 29: Line 29:
</source>
</source>
OK... 4k... I see.
OK... 4k... I see.
===What ashift do I have?===
<source lang=bash>
# zdb | egrep 'ashift| name'
    name: 'apache_pool'
            ashift: 9
    name: 'mysql_pool'
            ashift: 9
...
</source>


===Create ZPools on NetApp LUNs with this syntax===
===Create ZPools on NetApp LUNs with this syntax===
Line 34: Line 44:
# zpool create -o ashift=12 <mypool> mirror <vdev1> <vdev2>
# zpool create -o ashift=12 <mypool> mirror <vdev1> <vdev2>
</source>
</source>


==Links==
==Links==
* [http://wiki.illumos.org/display/illumos/List+of+sd-config-list+entries+for+Advanced-Format+drives List of sd-config-list entries for Advanced-Format drives]
* [http://wiki.illumos.org/display/illumos/List+of+sd-config-list+entries+for+Advanced-Format+drives List of sd-config-list entries for Advanced-Format drives]

Revision as of 15:19, 14 July 2015

Solaris NetApp Just some unsorted lines...

Timeout settings in Solaris

Settings for MPxIO over FC:

/kernel/drv/ssd.conf

ssd-config-list="NETAPP  LUN","netapp-ssd-config";
netapp-ssd-config=1,0x9007,64,300,30,0,0,0,0,0,0,0,0,0,30,0,0,8,0,0;

/kernel/drv/sd.conf

sd-config-list=
"NETAPP  LUN","physical-block-size:4096";

Alignment and ZFS

First read ZFS zpools create misaligned I/O in Solaris 11 and Solaris 10 Update 8 and later (407376).

If you have 4k as block size in your storage use ashift=12.

ashift=12? Why 12?

# echo "2^12" | bc -l
4096

OK... 4k... I see.

What ashift do I have?

# zdb | egrep 'ashift| name'
    name: 'apache_pool'
            ashift: 9
    name: 'mysql_pool'
            ashift: 9
...

Create ZPools on NetApp LUNs with this syntax

# zpool create -o ashift=12 <mypool> mirror <vdev1> <vdev2>

Links