Questo contenuto non è disponibile nella lingua selezionata.
14.11.2.3. Creating and starting a storage pool from raw parameters
pool-create-as name --print-xml type source-host source-path source-dev source-name <target> --source-format format
# pool-create-as name --print-xml type source-host source-path source-dev source-name <target> --source-format format
This command creates and starts a pool object name from the raw parameters given.
If
--print-xml is specified, then it prints the XML of the storage pool object without creating the pool. Otherwise, the pool requires a type in order to be built. For all storage pool commands which require a type, the pool types must be separated by comma. The valid pool types include: dir, fs, netfs, logical, disk, iscsi, scsi, mpath, rbd, and sheepdog.
In contrast, the following command creates, but does not start, a pool object name from the raw parameters given:
pool-define-as name --print-xml type source-host source-path source-dev source-name <target> --source-format format
# pool-define-as name --print-xml type source-host source-path source-dev source-name <target> --source-format format
If
--print-xml is specified, then it prints the XML of the pool object without defining the pool. Otherwise, the pool has to have a specified type. For all storage pool commands which require a type, the pool types must be separated by comma. The valid pool types include: dir, fs, netfs, logical, disk, iscsi, scsi, mpath, rbd, and sheepdog.
The
pool-start pool-or-uuid starts the specified storage pool, which was previously defined but inactive.