From 99a39a47c1b89d107f594e5ca2289e72cf731310 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Mon, 21 Oct 2024 08:13:14 +0200 Subject: [PATCH 1/4] update --- technology/linux/filesystems/Ceph.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/technology/linux/filesystems/Ceph.md b/technology/linux/filesystems/Ceph.md index ec3b74f..b606b88 100644 --- a/technology/linux/filesystems/Ceph.md +++ b/technology/linux/filesystems/Ceph.md @@ -59,3 +59,8 @@ ceph status #todo -> https://docs.ceph.com/en/latest/cephadm/host-management/ +## Mount + +`mount -t ceph :/ /mnt -o name=admin,secret=` + +Secret can be found in the keyring at `/etc/ceph` From 644e362fd2408d983182e7009ee71b369ca533b9 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Fri, 25 Oct 2024 00:12:08 +0200 Subject: [PATCH 2/4] update --- technology/linux/filesystems/Ceph.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/technology/linux/filesystems/Ceph.md b/technology/linux/filesystems/Ceph.md index b606b88..f86b74f 100644 --- a/technology/linux/filesystems/Ceph.md +++ b/technology/linux/filesystems/Ceph.md @@ -58,6 +58,12 @@ 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 +``` + ## Mount From 0cffb19a8ed0047d841b3fcc1a6d03fb434a6296 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Wed, 30 Oct 2024 01:43:29 +0100 Subject: [PATCH 3/4] update --- technology/linux/filesystems/Ceph.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/technology/linux/filesystems/Ceph.md b/technology/linux/filesystems/Ceph.md index f86b74f..9787d41 100644 --- a/technology/linux/filesystems/Ceph.md +++ b/technology/linux/filesystems/Ceph.md @@ -70,3 +70,12 @@ ceph orch host add --label _admin `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` From 760800f50aab667fe08410e582b3b226d73cbd45 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Mon, 2 Dec 2024 13:25:21 +0100 Subject: [PATCH 4/4] update --- technology/linux/filesystems/Ceph.md | 30 ++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/technology/linux/filesystems/Ceph.md b/technology/linux/filesystems/Ceph.md index 9787d41..25f9c86 100644 --- a/technology/linux/filesystems/Ceph.md +++ b/technology/linux/filesystems/Ceph.md @@ -64,14 +64,34 @@ Add a new host: 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/ -## Mount +## 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 +### Snapshots Ceph can take directory scoped snapshots of the filesystem. Snapshots of the directory will be stored in `.snap`. @@ -79,3 +99,9 @@ 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/