From cd926f856a497d3945b0d423850867c3c8c9a480 Mon Sep 17 00:00:00 2001 From: Milan <milan.danecek@gmail.com> Date: Sat, 26 Aug 2023 16:30:38 +0200 Subject: [PATCH] FAQ --- faq.md | 8 ++++++++ mkdocs.yml | 2 +- object-storage/rbd-setup.md | 5 ++++- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 faq.md diff --git a/faq.md b/faq.md new file mode 100644 index 0000000..906193e --- /dev/null +++ b/faq.md @@ -0,0 +1,8 @@ +--- +languages: + - en + - cs +--- + +# FAQ - Frequently Asked Questions +Frequently asked questions can be found in the [Data Storage documentation](FAQ - Frequently Asked Questions). diff --git a/mkdocs.yml b/mkdocs.yml index bf7a5c5..799b01e 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -10,4 +10,4 @@ nav: - RBD Service: - RBD Overview: object-storage/rbd-service.md - RBD Setup: object-storage/rbd-setup.md - - FAQ: faq.md + - FAQ: faq.md diff --git a/object-storage/rbd-setup.md b/object-storage/rbd-setup.md index 4254e48..dd032be 100644 --- a/object-storage/rbd-setup.md +++ b/object-storage/rbd-setup.md @@ -166,8 +166,11 @@ Volume unmapping. To get better performance choose appropriate size of `read_ahead` cache depends on your size of memory. Example for 8GB:<br/> + echo 8388608 > /sys/block/rbd0/queue/read_ahead_kb + Example for 512MB:<br/> + echo 524288 > /sys/block/rbd0/queue/read_ahead_kb To apply changes you have to unmap image and map it again. @@ -233,7 +236,7 @@ This command should execute if the dependencies are set correctly `umount`, LUKS (alternatively `systemctl stop ceph-rbdmap.service`) -### Resize +### Image resize When resizing an encrypted image, you need to follow the order and the main one is the line with cryptsetup `--verbose resize image_name`. rbd resize rbd_pool_name/image_name --size 200T -- GitLab