worried-state-78253
06/19/2025, 11:57 AMyaml
kind: StorageClass
apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
metadata:
name: ssd-rwx
provisioner: <http://driver.longhorn.io|driver.longhorn.io>
allowVolumeExpansion: true
reclaimPolicy: Delete
volumeBindingMode: Immediate
parameters:
numberOfReplicas: "3"
diskSelector: ssd
staleReplicaTimeout: "2880"
fromBackup: ""
fsType: "ext4"
nfsOptions: "vers=4.2,noresvport,softerr,timeo=600,retrans=5"
SSD just selectes the right disks, so I have a disk with the label "ssd" and it is available in the UI.
In the target cluster I added the storage clas to match using the UI, YAML as follows -
yaml
apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
kind: StorageClass
metadata:
name: ssd-rwx
fields:
- ssd-rwx
- <http://driver.harvesterhci.io|driver.harvesterhci.io>
- Delete
- Immediate
- false
- 54m
allowVolumeExpansion: false
parameters:
hostStorageClass: ssd-rwx
provisioner: <http://driver.harvesterhci.io|driver.harvesterhci.io>
reclaimPolicy: Delete
volumeBindingMode: Immediate
__clone: true
I can create PVC's using this storage class as RWX - however when I try to mount them in a pod, I get the following error:
plaintext
MountVolume.MountDevice failed for volume "pvc-33157c69-b802-4bb5-9d13-ae00b0b4be76" : rpc error: code = DeadlineExceeded desc = context deadline exceeded
The cluster nodes appear to have nfs-client installed - from one of the nodes -
bash
cluster-3-worker-bwjtp-7qxmw:/ # nfsstat -c
Client rpc stats:
calls retrans authrefrsh
1978 0 1978
Client nfs v4:
null read write commit open
9 0% 6 0% 0 0% 0 0% 4 0%
open_conf open_noat open_dgrd close setattr
0 0% 5 0% 0 0% 9 0% 4 0%
fsinfo renew setclntid confirm lock
28 1% 0 0% 0 0% 0 0% 0 0%
lockt locku access getattr lookup
0 0% 0 0% 28 1% 116 5% 30 1%
lookup_root remove rename link symlink
7 0% 2 0% 0 0% 0 0% 0 0%
create pathconf statfs readlink readdir
0 0% 21 1% 1561 78% 0 0% 20 1%
server_caps delegreturn getacl setacl fs_locations
49 2% 5 0% 0 0% 0 0% 0 0%
rel_lkowner secinfo fsid_present exchange_id create_session
0 0% 0 0% 0 0% 2 0% 1 0%
destroy_session sequence get_lease_time reclaim_comp layoutget
0 0% 63 3% 0 0% 1 0% 0 0%
getdevinfo layoutcommit layoutreturn secinfo_no test_stateid
0 0% 0 0% 0 0% 7 0% 0 0%
free_stateid getdevicelist bind_conn_to_ses destroy_clientid seek
0 0% 0 0% 0 0% 0 0% 0 0%
allocate deallocate layoutstats clone
0 0% 0 0% 0 0% 0 0%
I see that on github you mention updating the CSI driver to the version on teh repo - "Upgrade csi-driver from 0.1.18 to 0.1.19 (with 0.2.0 image)" however the version provisoined by harvester seems to be newer than this so should version 0.1.2300 work?
The issue is closed so just posting here, hoping to get some clarity on this as cant install NueVector without RWX support. Issue said milestone was 1.4.0 so have I missed something.
@salmon-city-57654's verfy steps are the ones I was following - but I feel like I'm hitting a dead end... Are the versions I'm using supported, or have I missed something?brainy-kilobyte-33711
06/19/2025, 12:41 PMworried-state-78253
06/19/2025, 1:00 PMworried-state-78253
06/19/2025, 1:01 PMbrainy-kilobyte-33711
06/19/2025, 1:03 PMbrainy-kilobyte-33711
06/19/2025, 1:04 PMbrainy-kilobyte-33711
06/19/2025, 1:05 PMworried-state-78253
06/19/2025, 1:06 PMworried-state-78253
06/19/2025, 1:07 PMbrainy-kilobyte-33711
06/19/2025, 1:10 PMworried-state-78253
06/19/2025, 1:10 PMworried-state-78253
06/19/2025, 1:14 PMworried-state-78253
06/19/2025, 1:15 PMworried-state-78253
06/19/2025, 1:15 PMbrainy-kilobyte-33711
06/19/2025, 1:15 PMbrainy-kilobyte-33711
06/19/2025, 1:15 PMworried-state-78253
06/19/2025, 1:16 PMbrainy-kilobyte-33711
06/19/2025, 1:26 PMworried-state-78253
06/19/2025, 1:26 PMbrainy-kilobyte-33711
06/19/2025, 1:27 PMbrainy-kilobyte-33711
06/19/2025, 1:29 PMbrainy-kilobyte-33711
06/19/2025, 1:29 PM2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 0e:45:ec:4d:d6:bd brd ff:ff:ff:ff:ff:ff
altname enp1s0
inet 10.150.2.27/23 brd 10.150.3.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 0e:24:21:55:26:36 brd ff:ff:ff:ff:ff:ff
altname enp2s0
inet 10.150.11.1/22 brd 10.150.11.255 scope global noprefixroute eth1
valid_lft forever preferred_lft forever
worried-state-78253
06/19/2025, 1:30 PMbrainy-kilobyte-33711
06/19/2025, 1:30 PMworried-state-78253
06/19/2025, 1:32 PMworried-state-78253
06/19/2025, 1:33 PMworried-state-78253
06/19/2025, 1:34 PMworried-state-78253
06/19/2025, 1:35 PMbrainy-kilobyte-33711
06/19/2025, 1:36 PMbrainy-kilobyte-33711
06/19/2025, 1:37 PMworried-state-78253
06/19/2025, 1:38 PMworried-state-78253
06/19/2025, 1:43 PMbrainy-kilobyte-33711
06/19/2025, 1:48 PMworried-state-78253
06/19/2025, 1:49 PMbrainy-kilobyte-33711
06/19/2025, 1:49 PMworried-state-78253
06/19/2025, 1:52 PMworried-state-78253
06/19/2025, 1:53 PM