csi-driver icon indicating copy to clipboard operation
csi-driver copied to clipboard

Support snapshots for btrfs volumes

Open mzhaase opened this issue 1 year ago • 1 comments

TL;DR

Since btrfs is a supported filesystem for hcloud volumes, it should also be possible to implement PVC snapshots using btrfs snapshots.

Expected behavior

VolumeSnapshot resources should be supported for hcloud volumes for storage classes which define csi.storage.k8s.io/fsType: btrfs

mzhaase avatar Aug 19 '24 13:08 mzhaase

Hello @mzhaase,

in my opinion this is not the responsibility of the csi-driver. In an ideal world you could wrap the csi-driver in some way, where we only handle the block device and the wrapping tool would handle the file system and any file system specific features.

If the API adds support for Snapshots we will too, but we will not add user space snapshots here.

See https://github.com/hetznercloud/csi-driver/issues/285 for a previous topic on this (though with LVM Snapshots instead of btrfs).

apricote avatar Aug 30 '24 14:08 apricote

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

github-actions[bot] avatar Nov 29 '24 13:11 github-actions[bot]