[libvirt] Storage LVM volume mounted with filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm quite new to libvirt, and i have a question regarding the storage
capabilities in libvirt. I have reading the documentation but i
couldn't figure it out if its possible to specify in the LVM volume
xml description that i want the new volume to be mounted with a
filesystem.

I'm using libvirt-0.4.4

My current volume xml is:
<volume type="fs">
<name>sl5-root</name>
<allocation>0</allocation>
<capacity>5000000000</capacity>
<target>
  <path>/tmp/sl5</path>
  <permissions>
    <owner>0744</owner>
    <group>0744</group>
    <mode>0744</mode>
    <label>virt_image_t</label>
  </permissions>
</target>
</volume>

/tmp/sl5 is a ext3 filesystem that i would like to see mounted in the
newly create lvm volume.

My pool xml:
<pool type="logical">
<name>vg1</name>
<target>
  <path>/dev/vg1</path>
</target>
</pool>

Thanks
Ricardo

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]