Archive for July, 2019

MD127? How to Rename a RAID Array with mdadm

📅 July 26, 2019
“What? My RAID array device is named /dev/md127? How do I change it to /dev/md2?”

If you have used software RAID on Linux with mdadm, then you will have probably have noticed that a second RAID array created will often receive the device name /dev/md127 instead of something more logical like /dev/md1 or /dev/md2 for consistency.

This article shows how to change the default /dev/md127 into /dev/md2 (or whatever you prefer) for a name that makes better sense.

Read the rest of this entry »

, ,

Leave a comment

More SATA Ports for Linux

📅 July 24, 2019
“Oops! My motherboard ran out of SATA ports. How can I add more?”

This was indeed my predicament after all eight SATA-III ports on my motherboard were used by hard drives, and I needed to connect more hard drives to the same system. (RAID in Linux is super cool!)

Is there a way to increase the SATA port count beyond the motherboard limitations?

Yes, and it involved using an inexpensive SATA controller card. I bought one for myself, and it has been working brilliantly in Linux. Here are my thoughts.

Read the rest of this entry »

, ,

Leave a comment

Get WOTD from Subject Line in Multiple Thunderbird Emails – Part 2

📅 July 8, 2019
In the previous lesson, we explored regular expressions to create a Bash one-liner to extract words from Thunderbird email subject lines.

While it worked well for a simple task, residue was not filtered, and this required manual editing.

Can we improve it further to handle inconsistencies and reduce the manual edits? Yes! This article demonstrates using sed and regular expressions to eliminate any manual editing.

Read the rest of this entry »

, ,

Leave a comment

Get WOTD from Subject Line in Multiple Thunderbird Emails

📅 July 3, 2019
Do you use the Thunderbird email client for your emails? Do you want to grab words from a large list of subject lines?

There are times when we might want to get a single word from each subject line in a collection of emails. Sure, we could look and type by hand into a text file, but that is too tedious. Let’s use a computer to perform the task using Bash!

This article describes how to create a Bash one-liner that will grab a word from each subject line of each Thunderbird email and store the sorted result into a text file.

Read the rest of this entry »

, ,

Leave a comment