From b4fbdf9bdc77a450a13da55f5828a05f7e307454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=98eho=C5=99?= Date: Sat, 18 May 2024 09:35:37 +0200 Subject: [PATCH] feat(openebs): set rthe ecordsize to 32kB for the local-database storage class --- .../main/apps/storage/openebs/app/local-database-sc.yaml | 3 ++- .../storage/apps/storage/openebs/app/local-database-sc.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kubernetes/main/apps/storage/openebs/app/local-database-sc.yaml b/kubernetes/main/apps/storage/openebs/app/local-database-sc.yaml index 1e7542b9..92adc723 100644 --- a/kubernetes/main/apps/storage/openebs/app/local-database-sc.yaml +++ b/kubernetes/main/apps/storage/openebs/app/local-database-sc.yaml @@ -7,7 +7,8 @@ allowVolumeExpansion: true parameters: fstype: zfs poolname: zroot/srv/database - recordsize: 16k + # zfs set atime=off zroot/srv/database + recordsize: 32k compresion: lz4 dedup: off thinprovision: yes diff --git a/kubernetes/storage/apps/storage/openebs/app/local-database-sc.yaml b/kubernetes/storage/apps/storage/openebs/app/local-database-sc.yaml index 1e7542b9..92adc723 100644 --- a/kubernetes/storage/apps/storage/openebs/app/local-database-sc.yaml +++ b/kubernetes/storage/apps/storage/openebs/app/local-database-sc.yaml @@ -7,7 +7,8 @@ allowVolumeExpansion: true parameters: fstype: zfs poolname: zroot/srv/database - recordsize: 16k + # zfs set atime=off zroot/srv/database + recordsize: 32k compresion: lz4 dedup: off thinprovision: yes