Versioning of tables in MySQL

In this article we will see how we can create tables in MySQL in such a way that several versions of the same table are stored in the database and we can choose which one we want to currently use. This may be useful in situations where we have inserted data into a table and […]

Increasing the size of an LVM volume

In a previous article we looked at LVM. This short article describes how to grow an existing volume by adding an extra disk to the system. Specifically, we use a XenServer guest VM with CentOS installed. The first disk of a XenServer guest VM is called xvda, the second disk (the one we added) is […]

An introduction to Logical Volume Management (LVM)

Logical Volume Management (LVM) is a method of allocating space on mass storage devices that is more flexible than conventional partitioning schemes. To understand how LVM works we will first take a look at some terminology: PV: Physical Volume. This can be an entire harddisk, a partition on a harddisk, a RAID device (software or […]

A Linux NAS setup with software RAID and incremental backup

Characteristics I wanted to make my own Network Attached Storage (NAS) device with the following characteristics: It should have lots of disk space and new disk space should be easy to add. The primary storage should be redundant: if one disk fails, the data should still be there. Important data on the primary storage should […]