Ce contenu n'est pas disponible dans la langue sélectionnée.

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-name <target> --source-format format
Copy to Clipboard Toggle word wrap
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-name <target> --source-format format
Copy to Clipboard Toggle word wrap
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.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat