openebs / zfs-localpv

Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend ZFS data storage stack.
https://openebs.io
Apache License 2.0
418 stars 102 forks source link

ZFS mount point configuration #498

Open immens opened 7 months ago

immens commented 7 months ago

Describe the problem/challenge you have For bare metal installations (e.g. home server) with only 1 node it will be great to have ability to mount datasets automatically (data access, backups, etc)

Describe the solution you'd like

NAME                                                       USED  AVAIL  REFER  MOUNTPOINT
zfast                                                     72.7M   231G    96K  none
zfast/data                                                15.5M   231G  15.4M  /storage/fast
zfast/data/k8s                                              96K   231G    96K  /storage/fast/k8s
zfast/data/k8s/pvc-19aeff59-85b2-46de-9431-d3ec85fb12ca    100K  5.00G   100K  legacy

In setups like this one, PVC's dataset can be automatically mounted e.g. <parent's mount point>/pvc-<PVC's name>-<some hash or uuid>. Maybe somehow correlating with shared prop

Environment:

hrudaya21 commented 7 months ago

@immens Currently it is not supported in the product. Team is handsfull with other openEBS engine. It would be great, if you can contribute for this feature to the community.