Show Table of Contents
20.33. Dumping Storage Volume Information to an XML File
The
virsh vol-dumpxml vol command takes the volume information, creates an XML file with the contents and outputs it to the settings that are set on the stdout stream. Optionally, you can supply the name of the associated storage pool using the --pool option.
Example 20.94. How to dump the contents of a storage volume
The following example dumps the contents of the storage volume named vol-new into an XML file:
# virsh vol-dumpxml vol-new
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.