Programmers' Pain
24Nov/122

There has been some progress…

A snapshot taken of the main technical compartment somewhere in the midle of getting some wiring work done

A snapshot taken of the main technical compartment somewhere in the midle of getting some wiring work done

Eight months.. wow! Quite some time has passed since I've decided to switch my more or less working 512 RGB LED coffee table to the newer Rainbowduino V3 controllers to drive those LEDs. At this point I couldn't really anticipate that getting a working firmware for my needs up and running would be that time consuming. Luckily I was able to solve this problem nearly two month ago so that it was time again to focus on the table and get the remaining hardware tasks sorted out. If you want to find out what has happened the last two months concerning my coffee table project than feel free to continue reading this blog post 🙂

12Nov/120

Howto setup an encrypted RAID1 array using external USB 3.0 disks

RAID1 setup using Linux software raid and LUKS encryption

RAID1 setup using Linux software raid and LUKS encryption

After one of my last blog posts dealt with modifying my two Sharkoon SATA Quickport XT USB3.0 docking stations I did spend some time figuring out how I can use them to set up multiple RAID1 volumes that should be encrypted using the LUKS environment of recent Linux distributions. Also I was searching for a mechanism to clearly map every involved disk to an unique raid volume so that I don't end up with a generic mount point like /mnt/raid1/ that would just show the content of the currently docked disks - instead every RAID1 volume should have it's own dedicated mount point. The solution I've came up with uses UDEV rules to identify the disks, mdadm to map two disks to a single software-RAID1 volume, cryptsetup to encrypt the raid volume and some smaller, self-written helper scripts that do simplify the usage of those external RAID1 volumes. How it all works and how you can set up such an environment on your own Linux machine: just click 'continue reading' 🙂

Tagged as:
Continue reading