Skip to content

Instantly share code, notes, and snippets.

@VTacius
Last active April 19, 2016 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VTacius/293c0fbec17ecffa840b to your computer and use it in GitHub Desktop.
Save VTacius/293c0fbec17ecffa840b to your computer and use it in GitHub Desktop.
Definir un pool de almacenamiento sobre un Grupo de Volumenes con virsh

Define el pool en virtual.xml

<pool type="logical">
<name>virtual</name>
<target>
<path>/dev/virtual</path>
</target>
</pool>

Que también puede ser definido de la siguiente forma: $ virsh pool-define-as virtual logical /dev/virtual/

Por medio de:

$ virsh pool-define virtual.xml

En CentOS, será necesario iniciar el pool.

$ virsh pool-start virtual

Y marcarlo para que inicie con el sistema

$ virsh pool-autostart virtual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment