2 Ceph Filesystem (CephFS)
3 ------------------------
6 :title: Storage: CephFS
9 Storage pool type: `cephfs`
11 http://ceph.com[Ceph] is a distributed object store and file system designed to
12 provide excellent performance, reliability and scalability. CephFS implements a
13 POSIX-compliant filesystem storage, with the following advantages:
16 * distributed and redundant (striped over multiple OSDs)
17 * snapshot capabilities
19 * no single point of failure
20 * scalable to the exabyte level
21 * kernel and user space implementation available
23 NOTE: For smaller deployments, it is also possible to run Ceph
24 services directly on your {pve} nodes. Recent hardware has plenty
25 of CPU power and RAM, so running storage services and VMs on same node
28 [[storage_cephfs_config]]
32 This backend supports the common storage properties `nodes`,
33 `disable`, `content`, and the following `cephfs` specific properties:
37 List of monitor daemon IPs. Optional, only needed if Ceph is not running on the
42 The local mount point. Optional, defaults to `/mnt/pve/<STORAGE_ID>/`.
46 Ceph user Id. Optional, only needed if Ceph is not running on the PVE cluster.
50 CephFS subdirectory to mount. Optional, defaults to `/`.
54 Access CephFS through FUSE, instead of the kernel client. Optional, defaults
57 .Configuration Example for a external Ceph cluster (`/etc/pve/storage.cfg`)
59 cephfs: cephfs-external
60 monhost 10.1.1.20 10.1.1.21 10.1.1.22
61 path /mnt/pve/cephfs-external
69 If you use `cephx` authentication, you need to copy the secret from your
70 external Ceph cluster to a Proxmox VE host.
72 Create the directory `/etc/pve/priv/ceph` with
74 mkdir /etc/pve/priv/ceph
78 scp <cephserver>:/etc/ceph/cephfs.secret /etc/pve/priv/ceph/<STORAGE_ID>.secret
80 The secret must be named to match your `<STORAGE_ID>`. Copying the
81 secret generally requires root privileges. The file must only contain the
82 secret itself, opposed to the `rbd` backend.
84 If Ceph is installed locally on the PVE cluster, this is done automatically.
89 The `cephfs` backend is a POSIX-compliant filesystem on top of a Ceph cluster.
91 .Storage features for backend `cephfs`
92 [width="100%",cols="m,m,3*d",options="header"]
93 |==============================================================================
94 |Content types |Image formats |Shared |Snapshots |Clones
95 |vztmpl iso backup |none |yes |yes |no
96 |==============================================================================
103 * link:/wiki/Storage[Storage]