brainy-kilobyte-33711
05/10/2025, 6:02 PMmany-thailand-98649
05/11/2025, 11:57 PMsalmon-city-57654
05/16/2025, 7:08 AMbrainy-kilobyte-33711
05/16/2025, 7:53 AMsalmon-city-57654
05/20/2025, 3:45 PMbrainy-kilobyte-33711
05/27/2025, 4:35 PMallowVolumeExpansion: false
allowedTopologies:
- matchLabelExpressions:
- key: topology.lvm.csi/node
values:
- harvester-node-7
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: test-lvm-sc
parameters:
type: striped
vgName: lvm-test
csi.storage.k8s.io/fstype: xfs
provisioner: lvm.driver.harvesterhci.io
reclaimPolicy: Retain
volumeBindingMode: Immediate
Created a PVC
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: test-lvm-pvc
namespace: default
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2500Gi
storageClassName: test-lvm-sc
volumeMode: Filesystem
It gets created on the node and bound but the LVM is never mounted so I can't point longhorn at it. It only seems to get mounted when a pod uses it (which makes sense).
I can mount it manually on the node but then I need to investigate the persistence options and how it might behave after an upgrade which is what we were trying to avoid.
It would be nice if the harvester node driver supported LVM then we wouldn't need to worry about the persistence of the mount.salmon-city-57654
06/11/2025, 12:18 AMbrainy-kilobyte-33711
06/11/2025, 7:32 AMbrainy-kilobyte-33711
06/11/2025, 7:39 AMSharding
and Single Logical Volume Store Across Multiple Disks
in the roadmap for longhorn v2 data engine GA so will likely wait until then