<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Howto on Chris J Arges</title><link>https://chrisarges.net/tags/howto/</link><description>Recent content in Howto on Chris J Arges</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 31 Oct 2014 13:53:00 -0700</lastBuildDate><atom:link href="https://chrisarges.net/tags/howto/index.xml" rel="self" type="application/rss+xml"/><item><title>getting kernel crashdumps for hung machines</title><link>https://chrisarges.net/posts/2014-10-31-getting-kernel-crashdumps-for-hung/</link><pubDate>Fri, 31 Oct 2014 13:53:00 -0700</pubDate><guid>https://chrisarges.net/posts/2014-10-31-getting-kernel-crashdumps-for-hung/</guid><description>&lt;p&gt;Debugging hung machines can be a bit tricky. Here I&amp;rsquo;ll document methods to&#10;trigger a crashdump when these hangs occur. What exactly does it mean when a&#10;machine &amp;lsquo;hangs&amp;rsquo; or &amp;lsquo;freezes-up&amp;rsquo;? More information can be found in the kernel&#10;&lt;a href="https://www.kernel.org/doc/Documentation/lockup-watchdogs.txt"&gt;documentation&lt;/a&gt;, but overall there are really a few types of hangs.&lt;/p&gt;&#10;&lt;p&gt;A &amp;ldquo;Soft Lock-Up&amp;rdquo; is when the kernel loops in kernel mode for a duration without&#10;giving tasks a chance to run. A &amp;ldquo;Hard Lock-Up&amp;rdquo; is when the kernel loops in kernel&#10;mode for a duration without letting other interrupts run. In addition a&#10;&amp;ldquo;Hung Task&amp;rdquo; is when a userspace task has been blocking for a duration.&lt;/p&gt;</description></item><item><title>setup an external drives as raid1</title><link>https://chrisarges.net/posts/2013-12-16-setup-external-drives-as-raid1/</link><pubDate>Mon, 16 Dec 2013 14:37:00 -0800</pubDate><guid>https://chrisarges.net/posts/2013-12-16-setup-external-drives-as-raid1/</guid><description>&lt;p&gt;I purchased a cheap two drive USB enclosure in order to setup an external drive&#10;that had RAID-1 so I could backup photos and recordings.&lt;/p&gt;&#10;&lt;p&gt;First, I formatted both drives. Then I ran extended smart self-tests to ensure&#10;I had decent drives. With RAID-1 and two drives I can only tolerate 1 drive&#10;failure.&lt;/p&gt;&#10;&lt;p&gt;Next ensure mdadm is installed: &lt;code&gt;sudo apt-get install mdadm&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;Determine which dev devices the disks show up as. Next, create the raid device&#10;pointing at the correct dev directory.&lt;/p&gt;</description></item></channel></rss>