]> git.proxmox.com Git - pve-docs.git/commitdiff
Add storage plugin CephFS to docs
authorAlwin Antreich <a.antreich@proxmox.com>
Mon, 25 Jun 2018 16:51:09 +0000 (18:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 5 Jul 2018 14:08:13 +0000 (16:08 +0200)
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
pve-storage-cephfs.adoc [new file with mode: 0644]
pvesm.adoc

diff --git a/pve-storage-cephfs.adoc b/pve-storage-cephfs.adoc
new file mode 100644 (file)
index 0000000..59a87b3
--- /dev/null
@@ -0,0 +1,106 @@
+[[storage_cephfs]]
+Ceph Filesystem (CephFS)
+------------------------
+ifdef::wiki[]
+:pve-toplevel:
+:title: Storage: CephFS
+endif::wiki[]
+
+Storage pool type: `cephfs`
+
+http://ceph.com[Ceph] is a distributed object store and file system designed to
+provide excellent performance, reliability and scalability. CephFS implements a
+POSIX-compliant filesystem storage, with the following advantages:
+
+* thin provisioning
+* distributed and redundant (striped over multiple OSDs)
+* snapshot capabilities
+* self healing
+* no single point of failure
+* scalable to the exabyte level
+* kernel and user space implementation available
+
+NOTE: For smaller deployments, it is also possible to run Ceph
+services directly on your {pve} nodes. Recent hardware has plenty
+of CPU power and RAM, so running storage services and VMs on same node
+is possible.
+
+[[storage_cephfs_config]]
+Configuration
+~~~~~~~~~~~~~
+
+This backend supports the common storage properties `nodes`,
+`disable`, `content`, and the following `cephfs` specific properties:
+
+monhost::
+
+List of monitor daemon IPs. Optional, only needed if Ceph is not running on the
+PVE cluster.
+
+path::
+
+The local mount point. Optional, defaults to `/mnt/pve/<STORAGE_ID>/`.
+
+username::
+
+Ceph user Id. Optional, only needed if Ceph is not running on the PVE cluster.
+
+subdir::
+
+CephFS subdirectory to mount. Optional, defaults to `/`.
+
+fuse::
+
+Access CephFS through FUSE, instead of the kernel client. Optional, defaults
+to `0`.
+
+.Configuration Example for a external Ceph cluster (`/etc/pve/storage.cfg`)
+----
+cephfs: cephfs-external
+        monhost 10.1.1.20 10.1.1.21 10.1.1.22
+        path /mnt/pve/cephfs-external
+        content backup
+        username admin
+----
+
+Authentication
+~~~~~~~~~~~~~~
+
+If you use `cephx` authentication, you need to copy the secret from your
+external Ceph cluster to a Proxmox VE host.
+
+Create the directory `/etc/pve/priv/ceph` with
+
+ mkdir /etc/pve/priv/ceph
+
+Then copy the secret
+
+ scp <cephserver>:/etc/ceph/cephfs.secret /etc/pve/priv/ceph/<STORAGE_ID>.secret
+
+The secret must be named to match your `<STORAGE_ID>`. Copying the
+secret generally requires root privileges. The file must only contain the
+secret itself, opposed to the `rbd` backend.
+
+If Ceph is installed locally on the PVE cluster, this is done automatically.
+
+Storage Features
+~~~~~~~~~~~~~~~~
+
+The `cephfs` backend is a POSIX-compliant filesystem on top of a Ceph cluster.
+
+.Storage features for backend `cephfs`
+[width="100%",cols="m,m,3*d",options="header"]
+|==============================================================================
+|Content types     |Image formats  |Shared |Snapshots |Clones
+|vztmpl iso backup |none           |yes    |yes       |no
+|==============================================================================
+
+ifdef::wiki[]
+
+See Also
+~~~~~~~~
+
+* link:/wiki/Storage[Storage]
+
+endif::wiki[]
+
index 1d55d598edfcedd2bcdc3d41bd26a271db2e7392..06c3e76422da58965153f28e82f3a9fc21eb9d62 100644 (file)
@@ -78,6 +78,7 @@ snapshots and clones.
 |iSCSI/kernel   |iscsi       |block |yes   |no       |yes
 |iSCSI/libiscsi |iscsidirect |block |yes   |no       |yes
 |Ceph/RBD       |rbd         |block |yes   |yes      |yes
+|Ceph/CephFS    |cephfs      |file  |yes   |yes      |yes
 |Sheepdog       |sheepdog    |block |yes   |yes      |beta
 |ZFS over iSCSI |zfs         |block |yes   |yes      |yes
 |=========================================================
@@ -405,6 +406,8 @@ include::pve-storage-iscsidirect.adoc[]
 
 include::pve-storage-rbd.adoc[]
 
+include::pve-storage-cephfs.adoc[]
+
 
 
 ifdef::manvolnum[]