Virsh pool-define-as: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * virsh =Overview=")
 
Line 4: Line 4:


=Overview=
=Overview=
<pre>
virsh pool-define-as <name> <type> --source-dev <source-dev> --target <target>
</pre>
where:
====name===
====type====
can be one of: "dir", "disk", "fs", "logical", "iscsi", "zfs", "sheepdog", "gluster", "netfs", "ceph", "rbd",
====-source-dev====
====-target====
Examples:
<pre>
virsh pool-define-as main-storage-pool fs --source-dev /dev/sda7 --target /main-storage-pool
</pre>

Revision as of 15:16, 26 June 2017

Internal

Overview

virsh pool-define-as <name> <type> --source-dev <source-dev> --target <target>

where:

=name

type

can be one of: "dir", "disk", "fs", "logical", "iscsi", "zfs", "sheepdog", "gluster", "netfs", "ceph", "rbd",

-source-dev

-target

Examples:

virsh pool-define-as main-storage-pool fs --source-dev /dev/sda7 --target /main-storage-pool