NetApp and Solaris: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
</source> | </source> | ||
== | ==Alignment and ZFS== | ||
First read [https://library.netapp.com/ecmdocs/ECMP1148982/html/html/GUID-42CC2EB6-E667-4305-914C-7C2C459EF841.html ZFS zpools create misaligned I/O in Solaris 11 and Solaris 10 Update 8 and later (407376)]. | First read [https://library.netapp.com/ecmdocs/ECMP1148982/html/html/GUID-42CC2EB6-E667-4305-914C-7C2C459EF841.html 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?=== | |||
<source lang=bash> | |||
# echo "2^12" | bc -l | |||
4096 | |||
</source> | |||
OK... 4k... I see. | |||
===Create ZPools on NetApp LUNs with this syntax=== | |||
<source lang=bash> | |||
# zpool create -o ashift=12 <mypool> mirror <vdev1> <vdev2> | |||
</source> | |||
==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] |
Revision as of 15:15, 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.
Create ZPools on NetApp LUNs with this syntax
# zpool create -o ashift=12 <mypool> mirror <vdev1> <vdev2>