<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=gb2312"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:ËÎÌå;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@ËÎÌå";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link="#0563C1" vlink="#954F72" style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hello all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         I used OmniOS 151006 Or 151014 found  Zvol rewrite from 212MB to 44.4MB.Details are as follows.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>zpool crerate  WX raidz c8t5000C5003AEADC65d0 c8t5000C5003AE7BAD9d0 c8t5000C5003AC4E3CDd0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>zfs create -V 20g WX/test01<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>stmfadm create-lu -p wcd=false /dev/zvol/rdsk/WX/test01<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>stmfadm add-view #add view to client host<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>client:redhat 5.8 X86<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pvcreate /dev/sdb<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>vgcreate /dev/vgtest /dev/sdb<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>lvcreate ¨CL xxx ¨Cn lvtest /dev/vgtest<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>mkfs /dev/vgtest/lvtest<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>mkdir /test<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>mount /dev/vgtest/lvtest /test<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[root@localhost test]# dd if=/dev/zero of=/test/1 bs=4096k count=100000<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>dd: writing `/test/1': No space left on device<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>5023+0 records in<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>5022+0 records out<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>21066981376 bytes (21 GB) copied, 99.443 seconds, 212 MB/s<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[root@localhost test]# ls<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>[root@localhost test]# dd if=/dev/zero of=/test/1 bs=4096k count=100000<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>dd: writing `/test/1': No space left on device<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>5023+0 records in<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>5022+0 records out<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>21066981376 bytes (21 GB) copied, 474.468 seconds, <span style='color:red'>44.4 MB/s</span><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;color:blue'>Best Regards,<br>Deng Wei Quan<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;color:blue'>Mob: +86 13906055059<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;color:blue'>Mail: <a href="mailto:dwq@xmweixun.com"><span style='color:blue'>dwq@xmweixun.com</span></a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>