14.12.6. Uploading and Downloading Storage Volumes
This section will instruct how to upload and download information to and from storage volumes.
188.8.131.52. Uploading contents to a storage volume
vol-uploadcommand uploads the contents of specified local-file to a storage volume. The command requires
--length bytesvol-name-or-key-or-path local-file
--pool pool-or-uuidwhich 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
--offsetoption is the position in the storage volume at which to start writing the data.
--length lengthdictates an upper limit for the amount of data to be uploaded. An error will occur if the local-file is greater than the specified