Skip to content

Extra mkfs options #296

Open
Open
@mhkarimi1383

Description

@mhkarimi1383

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 L358 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

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomerskind/featureCategorizes issue or PR as related to a new featurekind/improvementCategorizes issue or PR as related to improving upon a current feature

Type

No type

Projects

  • Status

    In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions