<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I was just about to link some similar information.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><a href="https://www.thomas-krenn.com/en/wiki/Perform_a_SSD_Secure_Erase">https://www.thomas-krenn.com/en/wiki/Perform_a_SSD_Secure_Erase</a><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><a href="https://grok.lsu.edu/article.aspx?articleid=16716">https://grok.lsu.edu/article.aspx?articleid=16716</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 29, 2022 at 8:15 PM Michael Butash via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>SSD/NVME usually have secure wipe functions in the controller for this not to destroy the flash with shred or like. From my notes:<br></div><div><br></div><div>## if SSD</div><div><br></div><div>## if you need to wipe the disks, use a security erase on them<br>## you will sometimes need to unfreeze drives, a suspend and awaken works<br><br>sudo hdparm -I /dev/sda | grep froz<br>sudo hdparm -I /dev/sdb | grep froz<br><br>## make sure these are the right disks, they will be wiped.<br><br>hdparm --user-master u --security-set-pass PasSWorD /dev/sda<br>hdparm --user-master u --security-erase PasSWorD /dev/sda<br><br>hdparm --user-master u --security-set-pass PasSWorD /dev/sdb<br>hdparm --user-master u --security-erase PasSWorD /dev/sdb</div><div><br></div><div>## if NVME/M.2</div><div><br></div><div>## confirm nvme-cli is available<br><br>which nvme <br><br>## confirm secure erase mode, should be 0x1 <br><br>nvme id-ctrl -H /dev/$nvme-disk0$ | egrep 'Crypto Erase' <br>nvme id-ctrl -H /dev/$nvme-disk1$ | egrep 'Crypto Erase' <br><br>nvme format -s1f /dev/$nvme-disk0$ <br>nvme format -s1f /dev/$nvme-disk1$ <br></div><div><br></div><div>-mb</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 29, 2022 at 3:05 PM Retro64XYZ via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Don't do that to an SSD.<br>
</p>
<div>On 8/29/22 14:47, Michael via
PLUG-discuss wrote:<br>
</div>
<blockquote type="cite">
To delete everything would I type
<div dir="auto">sudo shred /dev/sda </div>
<div dir="auto">From a live disk?</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>---------------------------------------------------
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
</blockquote>
</div>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>