<div dir="ltr"><div style="font-size:14px">(resending as i forgot to send to users@...)</div><div style="font-size:14px"><br></div><div style="font-size:14px"># hammer -v -f ${DEV} blockmap</div><div style="font-size:14px"># hammer -v -f ${DEV} checkmap</div><div style="font-size:14px"># hammer -v -f ${DEV} show</div><div style="font-size:14px"><br></div><div style="font-size:14px">These three do some validation from different point of view.</div><div style="font-size:14px">If the last two lines of each output says 0 error, then no error was found at least by what these 3 commands test for.</div><div style="font-size:14px"><br></div><div style="font-size:14px">Note that there seems to be a bug in hammer where a valid filesystem would still show ^B in hammer show output. I usually run some test scripts (that contain there 3 commands) before I commit something, but I see ^B in hammer show every once in a while. It could be that the way hammer show tests the filesystem is missing something and results in showing errors that aren't really errors. This occurred at least back in DragonFly 4.0 era in 2014, and it still does on 4.4. It has been on my todo list for a long time.</div><div style="font-size:14px"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-22 23:59 GMT+09:00 PeerCorps Trust Fund <span dir="ltr"><<a href="mailto:ipc@peercorpstrust.org" target="_blank">ipc@peercorpstrust.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
In ZFS, the command "zpool status" gives a succinct overview of the status of mounted file systems. In particular, whether there might be checksum errors on files or other data structures.<br>
<br>
NAME STATE READ WRITE CKSUM<br>
tank ONLINE 0 0 0<br>
ada0p2 ONLINE 0 0 0<br>
<br>
In HAMMER the "show" command provides an extremely detailed output of all data structures and CRC verifications.<br>
<br>
I've used the command:<br>
<br>
hammer -f /dev/serno/disk-serial-number show |grep B------<br>
<br>
On a mounted disk and the output was clean (nothing) after running for some time with noted disk activity. Does this mean that all CRCs are valid? Are there other commands in addition to "show" that allow for validation and examination of data structures on HAMMER volumes?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mike<br>
<br>
</font></span></blockquote></div><br></div>