`<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You might also look at zilstat, which is more interesting than the zpool iostat<div>output :-)</div><div><br></div><div><a href="http://www.richardelling.com/Home/scripts-and-programs-1/zilstat">http://www.richardelling.com/Home/scripts-and-programs-1/zilstat</a></div><div><a href="https://github.com/richardelling/tools/">https://github.com/richardelling/tools/</a></div><div> -- richard</div><div><br><div><div>On Jan 7, 2013, at 7:58 AM, <a href="mailto:steve@linuxsuite.org">steve@linuxsuite.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Howdy!<br><br> I am doing some testing of zfs on OmniOS. It seems that the ZIL logs<br>never get any I/O. I have a zpool as follows<br><br>root@live-dfs-1:~# zpool status data1<br> pool: data1<br> state: ONLINE<br> scan: resilvered 937G in 17h53m with 0 errors on Sat Jan 5 08:52:32 2013<br>config:<br><br> NAME STATE READ WRITE CKSUM<br> data1 ONLINE 0 0 0<br> raidz2-0 ONLINE 0 0 0<br> c5t5000C500525BFB31d0s0 ONLINE 0 0 0<br> c5t5000C500525C2F91d0s0 ONLINE 0 0 0<br> c5t5000C500525C72B1d0s0 ONLINE 0 0 0<br> c5t5000C500525C9673d0s0 ONLINE 0 0 0<br> c5t5000C500489956C1d0s0 ONLINE 0 0 0<br> c5t5000C500525EB2B9d0s0 ONLINE 0 0 0<br> c5t5000C500525F2297d0s0 ONLINE 0 0 0<br> c5t5000C50045561CEAd0s0 ONLINE 0 0 0<br> c5t5000C50048990BE6d0s0 ONLINE 0 0 0<br> c5t5000C500489947A8d0s0 ONLINE 0 0 0<br> logs<br> mirror-1 ONLINE 0 0 0<br> c1t2d0 ONLINE 0 0 0<br> c1t4d0 ONLINE 0 0 0<br> cache<br> c1t5d0 ONLINE 0 0 0<br><br>errors: No known data errors<br><br> Then I simply have a script that does some writing to the zpool.<br><br> If I run<br><br> zpool iostat -v data1 5<br><br> I get output like this ( see below). Why is there never any I/O to the<br> logs? I understood that these logs would be written first before<br> the data is commited to the zpool. I can't find any evidence that this is<br>happening. Lights on hardware don't blink either to indicate activity. I<br>have verified that the disks used for the ZIL are writable.<br> Why is this not happening? How can I make it so?<br><br> thanx - steve<br><br> root@live-dfs-1:~# zpool iostat -v data1 5<br><br> capacity operations bandwidth<br>pool alloc free read write read write<br>--------------------------- ----- ----- ----- ----- ----- -----<br>data1 9.98T 16.8T 0 3.14K 0 113M<br> raidz2 9.98T 16.8T 0 3.14K 0 113M<br> c5t5000C500525BFB31d0s0 - - 0 146 0 16.6M<br> c5t5000C500525C2F91d0s0 - - 0 147 0 16.6M<br> c5t5000C500525C72B1d0s0 - - 0 146 0 16.6M<br> c5t5000C500525C9673d0s0 - - 0 147 0 16.6M<br> c5t5000C500489956C1d0s0 - - 0 146 0 16.6M<br> c5t5000C500525EB2B9d0s0 - - 0 146 0 16.6M<br> c5t5000C500525F2297d0s0 - - 0 146 0 16.6M<br> c5t5000C50045561CEAd0s0 - - 0 146 0 16.6M<br> c5t5000C50048990BE6d0s0 - - 0 146 0 16.6M<br> c5t5000C500489947A8d0s0 - - 0 146 0 16.6M<br>logs - - - - - -<br> mirror 0 148G 0 0 0 0<br> c1t2d0 - - 0 0 0 0<br> c1t4d0 - - 0 0 0 0<br>cache - - - - - -<br> c1t5d0 111G 7.51M 0 179 0 18.6M<br>--------------------------- ----- ----- ----- ----- ----- -----<br><br><br> capacity operations bandwidth<br>pool alloc free read write read write<br>--------------------------- ----- ----- ----- ----- ----- -----<br>data1 9.99T 16.8T 1 3.56K 10.3K 105M<br> raidz2 9.99T 16.8T 1 3.56K 10.3K 105M<br> c5t5000C500525BFB31d0s0 - - 0 158 1.58K 15.9M<br> c5t5000C500525C2F91d0s0 - - 0 168 2.38K 15.9M<br> c5t5000C500525C72B1d0s0 - - 0 163 2.38K 15.9M<br> c5t5000C500525C9673d0s0 - - 0 154 810 15.9M<br> c5t5000C500489956C1d0s0 - - 0 163 1.58K 15.9M<br> c5t5000C500525EB2B9d0s0 - - 0 161 1.58K 15.9M<br> c5t5000C500525F2297d0s0 - - 0 158 0 15.9M<br> c5t5000C50045561CEAd0s0 - - 0 165 0 15.9M<br> c5t5000C50048990BE6d0s0 - - 0 149 0 15.9M<br> c5t5000C500489947A8d0s0 - - 0 153 0 15.9M<br>logs - - - - - -<br> mirror 0 148G 0 0 0 0<br> c1t2d0 - - 0 0 0 0<br> c1t4d0 - - 0 0 0 0<br>cache - - - - - -<br> c1t5d0 111G 8M 1 260 1.38K 26.0M<br><br><br><br>_______________________________________________<br>OmniOS-discuss mailing list<br><a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>http://lists.omniti.com/mailman/listinfo/omnios-discuss<br></blockquote></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="mailto:Richard.Elling@RichardElling.com">Richard.Elling@RichardElling.com</a><br>+1-760-896-4422<br><br><br></div></span></div></span></div></span></div></span></div>
</div>
<br></div></body></html>`