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 Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
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_NAMECreating 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 lsListing Ceph File System subvolumes.
Syntax
ceph fs subvolume ls VOLUME_NAMEListing Ceph File System subvolume groups.
Syntax
ceph fs subvolumegroup ls VOLUME_NAMEViewing information about a Ceph File system volume.
Syntax
ceph fs volume info VOLUME_NAMERemoving 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_NAMERemoving 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 Copy linkLink copied to clipboard!
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.