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

Issue with volumes on RKE2

Open cristianrat opened this issue 2 years ago • 0 comments

Hi,

In short, on RKE2, I am getting this MountVolume.MountDevice failed for volume "pvc-548f3d41-8ebc-4785-9f35-29af6b50d7ad" : rpc error: code = Internal desc = failed to stage volume: format of disk "/dev/disk/by-id/scsi-0HC_Volume_20768813" failed: type:("ext4") target:("/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-548f3d41-8ebc-4785-9f35-29af6b50d7ad/globalmount") options:("defaults") errcode:(exit status 1) output:(mke2fs 1.45.7 (28-Jan-2021) The file /dev/disk/by-id/scsi-0HC_Volume_20768813 does not exist and no size was specified. )

It fails to mount some (most) volumes, but was successful with a few others - first setup was ok, after deleting an app and recreating (or creating new ones), no new volumes can be mounted. This is not the first time I get this, at first I thought I was using it wrong, but after setting up 3-4 clusters, with various versions and from the same code, it can't be me Or perhaps I am using the wrong version or k8s?

cristianrat avatar Jun 27 '22 06:06 cristianrat