Ajout info sur libvirt stockage
This commit is contained in:
parent
49676800d3
commit
b08ce79916
51
HowtoKVM.md
51
HowtoKVM.md
|
@ -179,6 +179,53 @@ Vous pouvez écrire votre propre fichier de définition XML puis l'injecter :
|
|||
|
||||
## Stockage
|
||||
|
||||
Les stockages disponibles doivent être visibles par libvirt :
|
||||
|
||||
~~~
|
||||
# virsh pool-list --all
|
||||
|
||||
# virsh help pool
|
||||
Storage Pool (help keyword 'pool'):
|
||||
find-storage-pool-sources-as find potential storage pool sources
|
||||
find-storage-pool-sources discover potential storage pool sources
|
||||
pool-autostart autostart a pool
|
||||
pool-build build a pool
|
||||
pool-create-as create a pool from a set of args
|
||||
pool-create create a pool from an XML file
|
||||
pool-define-as define a pool from a set of args
|
||||
pool-define define (but don't start) a pool from an XML file
|
||||
pool-delete delete a pool
|
||||
pool-destroy destroy (stop) a pool
|
||||
pool-dumpxml pool information in XML
|
||||
pool-edit edit XML configuration for a storage pool
|
||||
pool-info storage pool information
|
||||
pool-list list pools
|
||||
pool-name convert a pool UUID to pool name
|
||||
pool-refresh refresh a pool
|
||||
pool-start start a (previously defined) inactive pool
|
||||
pool-undefine undefine an inactive pool
|
||||
pool-uuid convert a pool name to pool UUID
|
||||
|
||||
# virsh help volume
|
||||
Storage Volume (help keyword 'volume'):
|
||||
vol-clone clone a volume.
|
||||
vol-create-as create a volume from a set of args
|
||||
vol-create create a vol from an XML file
|
||||
vol-create-from create a vol, using another volume as input
|
||||
vol-delete delete a vol
|
||||
vol-download download volume contents to a file
|
||||
vol-dumpxml vol information in XML
|
||||
vol-info storage vol information
|
||||
vol-key returns the volume key for a given volume name or path
|
||||
vol-list list vols
|
||||
vol-name returns the volume name for a given volume key or path
|
||||
vol-path returns the volume path for a given volume name or key
|
||||
vol-pool returns the storage pool for a given volume key or path
|
||||
vol-resize resize a vol
|
||||
vol-upload upload file contents to a volume
|
||||
vol-wipe wipe a vol
|
||||
~~~
|
||||
|
||||
### Volumes DRBD/LVM
|
||||
|
||||
TODO
|
||||
|
@ -355,6 +402,8 @@ loop deleted : /dev/loop0
|
|||
|
||||
## Réseau
|
||||
|
||||
Les interfaces réseau en place doivent être visibles par libvirt :
|
||||
|
||||
~~~
|
||||
# virsh iface-list --all
|
||||
# virsh net-list --all
|
||||
|
@ -473,7 +522,7 @@ Et l'on peut configurer avec un réseau NAT avec _virt-manager_ ou `virsh net-cr
|
|||
|
||||
~~~{.xml}
|
||||
<network connections='1'>
|
||||
<name>reseau1</name>
|
||||
<name>nat0</name>
|
||||
<uuid>f94578a3-3b7f-4c60-a441-d1f86920fb59</uuid>
|
||||
<forward dev='eth0' mode='nat'>
|
||||
<nat>
|
||||
|
|
Loading…
Reference in New Issue