<div dir="auto">I've used wipefs before. <div dir="auto"><br></div><div dir="auto"><a href="http://manpages.courier-mta.org/htmlman8/wipefs.8.html">http://manpages.courier-mta.org/htmlman8/wipefs.8.html</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 9, 2018 6:01 PM, "David L. Willson" <<a href="mailto:DLWillson@thegeek.nu">DLWillson@thegeek.nu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000">This was hard enough to find that I want to stick in my journal. Hello, journal.<br><br>```<br># wait for /dev/sdc to become available<br>while ! blockdev --getsz /dev/sdc; do sleep 5; done<br># erase the tail - gets the RAID config<br>dd bs=512 if=/dev/zero of=/dev/sdc count=2048 seek=$(( $( blockdev --getsz /dev/sdc ) - 2048))<br># erase the head - gets the partition table<br>dd bs=512 if=/dev/zero of=/dev/sdc count=1024<br># cleanly disconnects<br>eject /dev/sdc<br>```<br><br><div><span name="x"></span>--<br>David L. Willson<br>Teacher, Engineer, Evangelist<br>COA LFCS CCAH RHCE CLP<br>Mobile 720-333-LANS(5267)<br><a href="http://sofree.us" target="_blank">http://sofree.us</a><br><br>This is a good time for a r3VOLution.<span name="x"></span><br></div><br></div></div><br>______________________________<wbr>_________________<br>
SFS mailing list<br>
<a href="mailto:SFS@lists.sofree.us">SFS@lists.sofree.us</a><br>
<a href="http://lists.sofree.us/cgi-bin/mailman/listinfo/sfs" rel="noreferrer" target="_blank">http://lists.sofree.us/cgi-<wbr>bin/mailman/listinfo/sfs</a><br>
<br></blockquote></div></div>