[libvirt-users] virsh and multi source-dev

Humble Chirammal hchiramm at redhat.com
Tue Nov 19 10:06:35 UTC 2013



----- Original Message -----
| From: "Matthieu Simonin" <matthieu.simonin at inria.fr>
| To: libvirt-users at redhat.com
| Sent: Tuesday, November 19, 2013 3:22:56 PM
| Subject: [libvirt-users] 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 at redhat.com
| https://www.redhat.com/mailman/listinfo/libvirt-users
| 




More information about the libvirt-users mailing list