metal-stack / csi-driver-lvm

MIT License
121 stars 26 forks source link

Support specific disk names for block device #15

Closed leanenkaa closed 4 years ago

leanenkaa commented 4 years ago

Use almost the same logic as for LVM, specify disk name (/dev/sda) to be used for block device PVC. So we can use the whole disk(/dev/sda) as a block device for some pods.

mwennrich commented 4 years ago

The whole point of this driver is to use logical volumes, not raw disks. Besides that, if you want to use a whole disk as block device in a pod, it's probably easier to hostpath-mount /dev into the pod and use that device directly.

leanenkaa commented 4 years ago

By the way this driver support block devices and what I suggest to add options to mount those devices as folders in pod and to specify the same as for LVM which physical drive we want to use.