----- Original Message ----- | From: "Matthieu Simonin" <matthieu.simonin@xxxxxxxx> | To: libvirt-users@xxxxxxxxxx | Sent: Tuesday, November 19, 2013 3:22:56 PM | Subject: virsh and multi source-dev | | Hi, | | I'm using LVM based storage pools and I'm wondering | if there is a way to specify several source-dev on the command line | for creating a volume group spread over several devices : | | one device /dev/sdc1 is ok: | * virsh pool-define-as --name lvmpool --type logical --source-dev /dev/sdc1 | --source-name vg --target /dev/vg | | I would like something like (but sadly doesn't work): | ? virsh pool-define-as --name lvmpool --type logical --source-dev /dev/sdc1 | --source-dev /dev/sdb1 --source-name vg --target /dev/vg ? | | Can you define a pool xml as shown below and define it from there ? ex: <pool type="logical"> <name>HostVG</name> <source> <device path="/dev/sda1"/> <device path="/dev/sdb1"/> <device path="/dev/sdc1"/> </source> <target> <path>/dev/HostVG</path> </target> </pool> --Humble | | _______________________________________________ | libvirt-users mailing list | libvirt-users@xxxxxxxxxx | https://www.redhat.com/mailman/listinfo/libvirt-users | _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users