Skip to content

Commit 76ced70

Browse files
authored
Add mkfsParams: "-i nrext64=0" to StorageClass (#1155)
1 parent 0b8b251 commit 76ced70

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

modules/deploy/partials/kubernetes/guides/create-storageclass.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ XFS (dm-0): Superblock has unknown incompatible features (0x20) enabled.
4545
. Create the StorageClass:
4646
+
4747
.`csi-driver-lvm-striped-xfs.yaml`
48-
[,yaml,lines=5-8+10-11]
48+
[,yaml,lines=5-8+10-12]
4949
----
5050
apiVersion: storage.k8s.io/v1
5151
kind: StorageClass
@@ -58,6 +58,7 @@ allowVolumeExpansion: true
5858
parameters:
5959
type: "striped"
6060
csi.storage.k8s.io/fstype: xfs
61+
mkfsParams: "-i nrext64=0"
6162
----
6263
+
6364
- `provisioner`: The LVM CSI driver responsible for provisioning the volume.
@@ -66,6 +67,7 @@ parameters:
6667
- `allowVolumeExpansion`: Allows the volume to be expanded after it has been provisioned.
6768
- `parameters.type`: Combines multiple physical volumes to create a single logical volume. In a striped setup, data is spread across the physical volumes in a way that distributes the I/O load evenly, improving performance by allowing parallel disk I/O operations.
6869
- `parameters.csi.storage.k8s.io/fstype`: Formats the volumes with the XFS file system. Redpanda Data recommends XFS for its enhanced performance with Redpanda workloads.
70+
- `parameters.mkfsParams`: Disables the nrext64 feature to ensure compatibility with older kernels.
6971

7072
. Apply the StorageClass:
7173
+

0 commit comments

Comments
 (0)