Get started

nf ceph fs

The nf ceph fs command creates a new CephFS filesystem. CephFS requires at least one MDS daemon to be running (see nf ceph mds).

Each CephFS requires two pools: a metadata pool for directory and inode information, and a data pool for file contents. You can control the placement group count for each pool — lower PG counts work for small clusters, while larger clusters benefit from more PGs.


Usage

Terminal
$ nf ceph fs --name <fs-name> --metadataPool <pool> --dataPool <pool>

Options

nf ceph fs
nf ceph fs

Create a new CephFS filesystem with dedicated metadata and data pools.

FlagDescription
--nameName of the CephFS (required)
--metadataPoolMetadata pool name (required)
--metadataPgMetadata pool placement groups (default: 16)
--dataPoolData pool name (required)
--dataPgData pool placement groups (default: 32)

Terminals

Terminal
$ nf ceph fs --name myfs --metadataPool myfs_meta --dataPool myfs_data
CephFS creation triggered.
Terminal
$ nf ceph fs --name production --metadataPool prod_meta --metadataPg 64 --dataPool prod_data --dataPg 128
CephFS creation triggered.