diff --git a/technology/linux/filesystems/Ceph.md b/technology/linux/filesystems/Ceph.md index ec3b74f..25f9c86 100644 --- a/technology/linux/filesystems/Ceph.md +++ b/technology/linux/filesystems/Ceph.md @@ -58,4 +58,50 @@ ceph status ## Host Management #todo -> https://docs.ceph.com/en/latest/cephadm/host-management/ +Add a new host: +```shell +# Add new node with admin label +ceph orch host add --label _admin +``` +## OSD Managemenent +#todo -> https://docs.ceph.com/en/reef/mgr/diskprediction +#todo -> https://docs.ceph.com/en/reef/rados/operations/add-or-rm-osds/ + +## User Management +#todo -> https://docs.ceph.com/en/reef/rados/operations/user-management/ + +## Pools +#todo -> https://docs.ceph.com/en/reef/rados/operations/pools/ + +### Replicated + +### Erasure Coding +#todo -> https://docs.ceph.com/en/reef/rados/operations/erasure-code/ + +### CRUSH Maps +#todo -> https://docs.ceph.com/en/reef/rados/operations/crush-map/ + +## CephFS +#todo -> https://docs.ceph.com/en/reef/cephfs/# + +### Mount + +`mount -t ceph :/ /mnt -o name=admin,secret=` + +Secret can be found in the keyring at `/etc/ceph` + +### Snapshots +Ceph can take directory scoped snapshots of the filesystem. + +Snapshots of the directory will be stored in `.snap`. + +**Create a new snapshot**: `mkdir .snap/snap_name` + +**Remove a snapshot**: `rmdir .snap/snap_name` + +## Block Device (RBD) +#todo -> https://docs.ceph.com/en/reef/rbd/ + +## Object Gateway (S3) +#todo -> https://docs.ceph.com/en/reef/radosgw/