storage-pools hier beschreiben...

bestehenden LVM storage-pool zu libvirt hinzufügen

virsh pool-define-as guest_images_lvm logical - - /dev/md2 vg0 /dev/vg0
virsh pool-autostart guest_images_lvm
virsh pool-start guest_images_lvm

Kontrolle / Infos:

virsh pool-list 
virsh pool-info guest_images_lvm
virsh vol-list guest_images_lvm
virsh pool-dumpxml guest_images_lvm > guest_images_lvm.xml

Volume löschen

virsh vol-delete VOLUMENAME --pool guest_images_lvm

neues Verzeichnis für isos hinzufügen

vim storage-iso.xml

<pool type='dir'>
  <name>iso</name>
  <uuid>850daee9-ab72-4a32-b525-2e8a4d282713</uuid>
  <capacity unit='bytes'>19534532608</capacity>
  <allocation unit='bytes'>2065137664</allocation>
  <available unit='bytes'>17469394944</available>
  <source>
  </source>
  <target>
    <path>/virtfs/iso</path>
    <permissions>
      <mode>0711</mode>
      <owner>0</owner>
      <group>0</group>
    </permissions>
  </target>
</pool>

virsh pool-define storage-iso.xml 
virsh pool-autostart iso
virsh pool-start iso

storage-pools (last edited 2016-07-13 21:34:05 by SvenKalinowski)