Questo contenuto non è disponibile nella lingua selezionata.

20.34. Listing Volume Information


The virsh vol-info vol command lists basic information about the given storage volume. You must supply either the storage volume name, key, or path. The command also accepts the option --pool, where you can specify the storage pool that is associated with the storage volume. You can either supply the pool name, or the UUID.

Example 20.94. How to view information about a storage volume

The following example retrieves information about the storage volume named vol-new. When you run this command you should change the name of the storage volume to the name of your storage volume:
# virsh vol-info vol-newvirsh vol-info vol-new
Copy to Clipboard Toggle word wrap
The virsh vol-list pool command lists all of volumes that are associated to a given storage pool. This command requires a name or UUID of the storage pool. The --details option instructs virsh to additionally display volume type and capacity related information where available.

Example 20.95. How to display the storage pools that are associated with a storage volume

The following example lists all storage volumes that are associated with the storage pool vdisk:
# virsh vol-list vdiskvirsh vol-list vdisk
Copy to Clipboard Toggle word wrap
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat