Chapter 4. File storage


Ceph File System (CephFS) is a file system compatible with POSIX standards that is built on top of Ceph’s distributed object store, called RADOS (Reliable Autonomic Distributed Object Storage).

Ceph File System

CephFS provides file access to a Red Hat Ceph Storage cluster and uses the POSIX semantics wherever possible.

4.1. File storage common workloads

The most common workload for using CephFS is for data security.

For more information about securing your data by using CephFS, see Ceph File System.

4.2. Getting started with file storage

This section lists the relevant tasks required for working with file storage.

Limitations

To know about the limitations and POSIX standards to consider when working with Ceph File System, see Ceph File System limitations and the POSIX standards.

Setting up the Ceph File System

Use the following procedures to setup a Ceph File System.

Basic CephFS CLI commands

This information is for a quick reference of basic CephFS CLI commands. For a full list and more detailed information about each command, see Management of Ceph File System volumes, sub-volume groups, and sub-volumes.

  • Creating a Ceph File System volume.

    Syntax

    ceph fs volume create VOLUME_NAME

  • Creating a File System subvolume.

    Syntax

    ceph fs subvolume create VOLUME_NAME SUBVOLUME_NAME [--size SIZE_IN_BYTES --group_name SUBVOLUME_GROUP_NAME --pool_layout DATA_POOL_NAME --uid UID --gid GID --mode OCTAL_MODE] [--namespace-isolated]

  • Creating a File System subvolume group.

    Syntax

    ceph fs subvolumegroup create VOLUME_NAME GROUP_NAME [--pool_layout DATA_POOL_NAME --uid UID --gid GID --mode OCTAL_MODE]

  • Listing Ceph File System volumes.

    Syntax

    ceph fs volume ls

  • Listing Ceph File System subvolumes.

    Syntax

    ceph fs subvolume ls VOLUME_NAME

  • Listing Ceph File System subvolume groups.

    Syntax

    ceph fs subvolumegroup ls VOLUME_NAME

  • Viewing information about a Ceph File system volume.

    Syntax

    ceph fs volume info VOLUME_NAME

  • Removing a Ceph File System volume.

    Syntax

    ceph fs volume rm VOLUME_NAME [--yes-i-really-mean-it]

  • Removing a file system subvolume.

    Syntax

    ceph fs subvolume rm VOLUME_NAME SUBVOLUME_NAME

  • Removing a file system subvolume group.

    Syntax

    ceph fs subvolumegroup rm VOLUME_NAME GROUP_NAME [--force]

  • Creating a snapshot of a file system subvolume.

    Syntax

    ceph fs subvolume snapshot create VOLUME_NAME SUBVOLUME_NAME SNAP_NAME [--group_name GROUP_NAME]

4.3. Deploying the Ceph File System

Understand the basic deployment procedures for Ceph File System.

Detailed deployment instructions for Ceph File System is found in Deployment of the Ceph File System.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top