Ce contenu n'est pas disponible dans la langue sélectionnée.
14.12.6. Uploading and Downloading Storage Volumes
This section will instruct how to upload and download information to and from storage volumes.
14.12.6.1. Uploading contents to a storage volume
The
vol-upload --pool pool-or-uuid
--offset bytes
--length bytes
vol-name-or-key-or-path local-file
command uploads the contents of specified local-file to a storage volume. The command requires --pool pool-or-uuid
which is the name or UUID of the storage pool the volume is in. It also requires vol-name-or-key-or-path which is the name or key or path of the volume to wipe. The --offset
option is the position in the storage volume at which to start writing the data. --length length
dictates an upper limit for the amount of data to be uploaded. An error will occur if the local-file is greater than the specified --length
.