Forrest logo
back to the ceph tool

ceph:tldr:710d6

ceph: Create a storage pool.
$ ceph osd pool create ${pool_name} ${page_number}
try on your machine

The command "ceph osd pool create ${pool_name} ${pg_number}" is used to create a new Ceph storage pool with a specified name and number of placement groups.

Here's a breakdown of the command:

  • "ceph osd pool create": This is the Ceph command used to create a new pool.
  • "${pool_name}": This is a placeholder for the desired name of the pool. You need to replace "${pool_name}" with the actual name you want to use for the pool. For example, if you want to create a pool named "my_pool", you would replace "${pool_name}" with "my_pool".
  • "${pg_number}": This is a placeholder for the desired number of placement groups (PGs) for the pool. PGs in Ceph are used for data distribution and parallelism. You need to replace "${pg_number}" with the actual number of PGs you want to assign to the pool. For example, if you want to create a pool with 64 PGs, you would replace "${pg_number}" with "64".

By executing this command with the appropriate values, you will create a new Ceph storage pool with the specified name and number of placement groups.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ceph tool