LVM striping at KVM creation

2 posts / 0 new
Last post
#1 Sat, 01/06/2018 - 10:32
shamen123

LVM striping at KVM creation

Hi folks, Forgive me but I cant find out how to do this anywhere. Perhaps I am being blind. my KVM guests use LV's directly on the host system.

In webmin, when a new LV is created manually, you can chose to stripe the volume across the available physical drives (LV creation option : "physical volumes to stripe across"). This is so one logical volume stripes across multiple physical disks and spreads the IO across the available drives

However, in cloudmin when creating a new KVM - all you can select is the default volume group that the LV is created in. Meaning that, when a KVM is created, the logical volume that is created is "linear".

Is there any way to change the default KVM creation routine to have the new KVM guest volume created striped across multiple drives?

Sun, 01/07/2018 - 21:15
scotwnw

2 ways to accomplish same thing with what is currently supported.

  1. Raid the disks, then LVM on top. LVM will only see 1 disk but raid will stripe, duplicate underneath.

  2. Create the LVM volume manually, mount as a file system, have couldmin use that folder as storage. This way leaves the machine images ub-snapshot'able.

Topic locked