Linux Server OS on LVM on Software RAID: Best Practices and Considerations

Posted on

Linux Server OS on LVM on Software RAID: Best Practices and Considerations – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, ubuntu-12.04, lvm, software-raid, operating-system.

I am preparing for a minimal Ubuntu Server 12.04 LTS that will simply run libvirt/KVM to host a handful of Ubuntu Server 12.04 LTS guests. On my KVM host I created a RAID 1 comprised of two physical disks. With the resulting volume I used LVM to create space for the root filesystem, swap, and a sizable partition for /var (as this is where my KVM guests will live.)

  • Is it advisable to install the boot volume on a LVM volume that resides on a software RAID?
  • What are best practices?
  • What should be taken into consideration when configuring LVM on a software RAID?

Solution :

mdraid and LVM2 are stable. Modern Linux distributions can boot this setup directly without any issues.

There aren’t too many special considerations.

You will want to ensure grub is installed on each individual disk so that the system can still boot in the event of a disk failure.

You may want to leave some of the volume group free to take advantage of LVM snapshots.

Leave a Reply

Your email address will not be published. Required fields are marked *