`<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'm following this page:
<a class="moz-txt-link-freetext" href="http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks">http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks</a><br>
<br>
but I just can't get my HGST 4K disks to get the 4TB capacity in the
zpool.<br>
<br>
I've cross referenced and verified multiple times and this should
work for sd_config_list=<br>
<br>
"ATA HGST HDS724040AL", "physical-block-size:4096",<br>
<br>
Here's some sample output to confirm:<br>
# iostat -Er | grep -i vendor | sort | uniq | grep HGST | head -3<br>
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial
No: PK1331P1GMPSSY <br>
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial
No: PK1331PAGKW5RV <br>
Vendor: ATA ,Product: HGST HDS724040AL ,Revision: A580 ,Serial
No: PK1331PAGP029V <br>
<br>
The number of spaces is definitely correct.<br>
# echo ::sd_state | mdb -k | egrep '(^un|_blocksize)'<br>
un 0: ffffff134e4a7300<br>
un_sys_blocksize = 0x200<br>
un_tgt_blocksize = 0x200<br>
un_phy_blocksize = 0x200<br>
un_f_tgt_blocksize_is_valid = 0x1<br>
un 1: ffffff137abaf340<br>
un_sys_blocksize = 0x200<br>
un_tgt_blocksize = 0x200<br>
un_phy_blocksize = 0x200<br>
un_f_tgt_blocksize_is_valid = 0x1<br>
un 2: ffffff137b2990c0<br>
un_sys_blocksize = 0x200<br>
un_tgt_blocksize = 0x200<br>
un_phy_blocksize = 0x200<br>
un_f_tgt_blocksize_is_valid = 0x1<br>
un 3: ffffff138d713900<br>
un_sys_blocksize = 0x200<br>
un_tgt_blocksize = 0x200<br>
un_phy_blocksize = 0x200<br>
un_f_tgt_blocksize_is_valid = 0x1<br>
<br>
<br>
should be 0x1000, right?<br>
<br>
sample format output:<br>
3. c0t3d0 <ATA-HGST HDS724040AL-A580-<font color="#cc0000">2.00TB</font>><br>
/pci@0,0/pci8086,340c@5/pci1000,3150@0/sd@3,0<br>
4. c0t4d0 <ATA-HGST HDS724040AL-A580-<font color="#cc0000">2.00TB</font>><br>
/pci@0,0/pci8086,340c@5/pci1000,3150@0/sd@4,0<br>
5. c0t5d0 <ATA-HGST HDS724040AL-A580-<font color="#cc0000">2.00TB</font>><br>
<br>
format> inq<br>
Vendor: ATA <br>
Product: HGST HDS724040AL<br>
Revision: A580<br>
<br>
update_drv -vf sd doesn't seem to help, neither does reboot.<br>
<br>
zpool create doesn't have the argument to specify ashift, either. <br>
<br>
Any advice?<br>
<br>
</body>
</html>
`