<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>tips &amp;mdash; alan</title>
    <link>https://www.franzoni.eu/alan/tag:tips</link>
    <description>Alan&#39;s musings</description>
    <language>en</language>
    <pubDate>Tue, 17 Nov 2026 00:40:55 +0000</pubDate>
    <item>
      <title>badblocks: test your mass storage!</title>
      <link>https://www.franzoni.eu/alan/badblocks-test-your-mass-storage-2</link>
      <description>&lt;![CDATA[Are you unsure whether your mass storage works properly? Do you suspect it&#39;s faulty somewhere?&#xA;&#xA;Verify it with a nifty tool, included in most Linux distros and in macOS if you install the ext2fs tools:&#xA;&#xA;sudo badblocks -swv -t random -b 4096 -c 2048 DEVICE&#xA;&#xA;It will perform a read-write test of your mass storage device, and tell you what&#39;s wrong.&#xA;&#xA;WARNING: everything will be deleted during the test! Make sure you&#39;ve already backupped your data!&#xA;&#xA;#MostlyUnixish #tips #bash&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Are you unsure whether your mass storage works properly? Do you suspect it&#39;s faulty somewhere?</p>

<p>Verify it with a nifty tool, included in most Linux distros and in macOS if you install the ext2fs tools:</p>

<pre><code>sudo badblocks -swv -t random -b 4096 -c 2048 &lt;DEVICE&gt;
</code></pre>

<p>It will perform a read-write test of your mass storage device, and tell you what&#39;s wrong.</p>

<p><strong>WARNING:</strong> everything will be deleted during the test! Make sure you&#39;ve already backupped your data!</p>

<p><a href="/alan/tag:MostlyUnixish" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MostlyUnixish</span></a> <a href="/alan/tag:tips" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tips</span></a> <a href="/alan/tag:bash" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">bash</span></a></p>
]]></content:encoded>
      <guid>https://www.franzoni.eu/alan/badblocks-test-your-mass-storage-2</guid>
      <pubDate>Mon, 26 Sep 2016 10:29:58 +0000</pubDate>
    </item>
  </channel>
</rss>