lvm-localpv icon indicating copy to clipboard operation
lvm-localpv copied to clipboard

Extra mkfs options

Open mhkarimi1383 opened this issue 1 year ago • 3 comments

Describe the problem/challenge you have

I want to use lvm-localpv withing MinIO and some other applications with high number of Inode usage and sometimes I need to inject extra params into mkfs command

Describe the solution you'd like

Adding mkfsOptions just like mountOptions

Anything else you would like to add: I wanted to add this feature as a PR but I don't know where to change the code to add this (I mean connecting parameters struct into formatAndMountSensitive function

(line #358 of pkg/lvm/mount.go)

Environment:

  • LVM Driver version
  • Kubernetes version (use kubectl version): 1.28
  • Kubernetes installer & version: Kubespray
  • Cloud provider or hardware configuration: Self Hosted
  • OS (e.g. from /etc/os-release): debian bookworm

mhkarimi1383 avatar Apr 18 '24 09:04 mhkarimi1383

Scoping this for v4.3. Any takers from the community will be appreciated.

avishnu avatar Sep 19 '24 11:09 avishnu

@avishnu I will do it

mhkarimi1383 avatar Sep 19 '24 11:09 mhkarimi1383

Added in https://github.com/openebs/lvm-localpv/pull/335

mhkarimi1383 avatar Sep 19 '24 12:09 mhkarimi1383