knowledge base

Contains content that may hopefully be applied to recurring or at least similarly occuring problems in the future.

RAID6 using Linux Logical Volume Manager

  • Posted on: 15 November 2019
  • By: hapebe

Build a RAID6 LVM volume, then test failure and replacement of one (or two) of the drives

While learning about different RAID levels and their configurations, I wanted to mess with the RAID abilities of the Linux Logical Volume Manager (LVM), in my case using the Debian lvm2 package in SparkyLinux on a virtual machine setup using VirtualBox.

Keeping VirtualBox hard disk images (VDI) nice and small

  • Posted on: 23 March 2016
  • By: hapebe

While moving some legacy web apps from a real Windows server (headed for retirement, to be somewhat euphemestic about it) to a virtual machine, I encountered the need to make back-ups of this whole VM - for the sake of simplicity, copying / compressing the whole disk images and the virtual machine definition file. Now here comes the issue: Churn on the VDI hard disk causes it to become bigger than necessary, and now I'm trying to reduce it back to the max.