[pve-devel] [PATCH Storage] LVM Striping

Martin Lablans code at martin.lablans.de
Wed Jul 26 20:44:49 CEST 2017


Dear all,

this patch will change the LVM storage plugin to create striped rather
than linear logical volumes, which can multiply the throughput for 
volume groups backed by several controllers or network paths.

The number of stripes is set equal to the number of physical volumes in 
the volume group (which is determined using vgs). If this number is 1 
(one), linear volumes are used as before.

This will affect only newly created containers. If existing containers 
are to be striped, they need to be re-created (e.g. via backup/restore).

See also 
https://forum.proxmox.com/threads/pve-lvm-striping-on-iscsi-storage-with-multipath.6981

This is my first time writing perl, so I'd appreciate a critical review 
of my code.

Kind regards,
Martin

Martin Lablans (1):
   Newly created LVM volumes are now created with a number of stripes
     equal to the number of physical volumes in a volume group.

  PVE/Storage/LVMPlugin.pm | 19 ++++++++++++++++++-
  1 file changed, 18 insertions(+), 1 deletion(-)

-- 
2.7.4



More information about the pve-devel mailing list