Using desktop SSD in server

Five years ago before Christmas I bought my first SSD – Crucial MX300 750GB. I have put it into my linux server running some web hosting (running this blog for example), my emails. Second MX300 was put into Linux MD Raid1. Disk were running two years in this setup, then I have migrated into virtualized setup, running ESXi, booted from USB drive. SSD were re-used and running as hw Raid 1 using LSI-9211 card.

Continue reading

Recovering deleted lvm volume

LVM is a logical volume manager for the Linux kernel; it manages disk drives and similar mass-storage devices, in particular large ones. The term “volume” refers to a disk drive or partition thereof.

Every LVM operation makes backup of lvm metadata. Metadata archive stored in directory /etc/lvm/archive/ in easily readable text files. Each operation creates own metadata backup file, with information when it was created. For example:

Continue reading