CephFS on dedicated servers

Ceph turns a group of servers into one self-healing storage cluster, and CephFS presents it as a POSIX file system. Storage machines with many drives and NVMe make capable Ceph nodes.

Which daemons make up a CephFS cluster?

Monitors (MON) keep the cluster map and need a majority to operate, so run three. Managers (MGR) host the dashboard and orchestration. Object storage daemons (OSD) store the data, one per drive. Metadata servers (MDS) handle the file system namespace for CephFS clients. Data and metadata live in separate pools, each with its own replication or erasure coding rule.

DaemonCountPorts
MON3 or 53300 and 6789
MGR2, active and standby6800 to 7300, dashboard 8443
OSDOne per drive6800 to 7300
MDS1 active plus standby6800 to 7300

How do I deploy it?

With cephadm, which runs every daemon in a container and manages them from one place. Bootstrap the first host, add the others over SSH, then let the orchestrator create OSDs on every empty drive and the file system with its MDS daemons.

cephadm bootstrap --mon-ip 10.90.0.1 --cluster-network 10.90.0.0/24
ceph orch host add ceph-2 10.90.0.2 && ceph orch host add ceph-3 10.90.0.3
ceph orch apply osd --all-available-devices
ceph fs volume create projects

How should drives be laid out?

Hard drives for data and NVMe for the BlueStore metadata database and write-ahead log. Putting the DB on NVMe makes small writes and metadata operations several times faster on spinning drives. The CephFS metadata pool should live entirely on NVMe or SSD OSDs, since every file operation touches it. A Storage server with two NVMe drives and many hard drives fits this design: use part of the NVMe for DB volumes and the rest for a small fast pool.

service_type: osd
service_id: hdd_with_nvme_db
placement: { host_pattern: 'ceph-*' }
spec:
  data_devices: { rotational: 1 }
  db_devices: { rotational: 0 }

Replication or erasure coding?

Three replicas for the metadata pool and for small-file workloads; erasure coding, such as 4+2, for large-file data pools where it gives two thirds of raw space as usable space instead of one third. Erasure coding needs at least as many hosts as data plus coding chunks for host-level safety, so a 4+2 profile wants six servers. CephFS can use an erasure-coded data pool once overwrites are enabled on it.

How does traffic between nodes stay safe?

Our servers connect through public ports without a private network, so either run the cluster network over a WireGuard mesh or enable Ceph's messenger v2 secure mode, which encrypts traffic between daemons and clients. Ceph replication sends each write to several nodes, so a 10 Gbps guaranteed port, standard on Storage-3 and Storage-4 models, keeps recovery after a drive failure fast. Keep all nodes in one data centre for low latency.

ceph config set global ms_cluster_mode secure
ceph config set global ms_service_mode secure
ceph config set global ms_client_mode secure

How do clients mount it?

With the kernel client or ceph-fuse, using a CephX key limited to the file system and path they need.

ceph fs authorize projects client.render /render rw > /etc/ceph/ceph.client.render.keyring
mount -t ceph render@.projects=/render /mnt/render -o mon_addr=10.90.0.1:3300

Which machines fit?

ClusterMachinesRaw capacity each
Starter, replicated3 x STORAGE-2 202649.92 TB
Medium, replicated or EC4 to 6 x STORAGE-3 2026386 TB
Large, erasure coded6 x STORAGE-4 2026578 TB

STORAGE-3 2026 combines 16 cores, 128 GB DDR5 and 386 TB of raw space for $1,468.80 a month; plan about 4 to 8 GB of memory per OSD. Proxmox VE also integrates Ceph, see Proxmox VE servers. Compare with GlusterFS storage and Lustre file systems, and keep separate backups as Backup and archive storage explains.

Machines for Ceph clusters

Lowest monthly price of each model across its data centres; the model page shows the price in every location.

ModelProcessorCoresMemoryDrivesPortPer month
STORAGE-2 2024AMD EPYC 4344P832 GB2x 960 GB SSD NVMe + 2x 22 TB HDD SAS3 Gbps unmetered$187.80
STORAGE-2 2026AMD EPYC 4345P832 GB2x 960 GB SSD NVMe + 2x 24 TB HDD SAS3 Gbps unmetered$273.00
STORAGE-3 2024Intel Xeon Gold 6554S36128 GB2x 960 GB SSD NVMe + 24x 22 TB HDD SAS10 Gbps unmetered$1,037.40
STORAGE-3 2026AMD EPYC 913516128 GB2x 1 TB SSD NVMe + 16x 24 TB HDD SAS10 Gbps unmetered$1,468.80
STORAGE-4 2026AMD EPYC 935532256 GB2x 1 TB SSD NVMe + 24x 24 TB HDD SAS10 Gbps unmetered$2,169.00
ENTERPRISE-a2 2026AMD EPYC TURIN 925524128 GB2x 1.92 TB SSD NVMe5 Gbps unmetered$446.40

Three Storage servers start a cluster; six allow erasure coding with host-level safety.

See all servers and prices

Related pages

GlusterFS storage

Build replicated or dispersed GlusterFS volumes on Storage servers: bricks on XFS, replica 3 with arbiter, ports per brick, healing and project status.

Read more

Lustre file systems

Understand Lustre on rented bare metal: MGS, MDT and OST roles, LNet over TCP, ldiskfs or ZFS targets, striping and when a smaller design fits.

Read more

Proxmox VE servers

Turn one rented machine into a private virtualisation host with Proxmox VE 9: VMs and containers, ZFS, networking with one IPv4, backups and sizing.

Read more

Storage servers

High capacity hard disk servers from 44 TB to 576 TB raw.

from $109.80 a monthRead more

Questions and answers

How many servers does CephFS need?

At least three, for three monitors and three data replicas. Erasure coding with a 4+2 profile needs six for host-level safety.

Where should the Ceph BlueStore DB go?

On NVMe, with data on hard drives. It makes small writes and metadata operations much faster.

How is Ceph traffic protected without a private network?

Use messenger v2 secure mode to encrypt traffic between daemons and clients, or run the cluster network over WireGuard.

What RAM should each Ceph storage node have?

Plan about 4 to 8 GB per OSD, plus memory for monitor, manager and MDS daemons.

How do I deploy Ceph?

With cephadm: bootstrap the first host, add the others, apply an OSD specification and create the file system volume.