Andy Zhang

Results 651 comments of Andy Zhang

would be fixed by this PR: https://github.com/kubernetes/kubernetes/pull/101305

could you share what's the linux kernel version and k8s version when you hit `host is down`? There is autoreconnect in smb kernel driver

4.15 kernel is more than four and a half years old, are you able to upgrade to 5.x kernel? The CSI driver relies on smb kernel driver to do the...

the error is `username specified with no parameter`, have you set `username` in `smbcreds`? like following: ``` kubectl create secret generic smbcreds --from-literal username=USERNAME --from-literal password="PASSWORD" --from-literal mountOptions="dir_mode=0777,file_mode=0777,uid=0,gid=0,mfsymlinks" ```

> Yes, and other mounts without the subDir work properly. Is mountOptions in the secret strictly necessary? That seems to be a new requirement I'm not familiar with @MiddleMan5 mountOptions...

what's the error logs in csi driver controller now?

I think this driver only honors `subDir: "TESTSHARE"` in storage class, it won't honor `volumeAttributes` in `PersistentVolumeClaim`. btw, is this pvc config valid? ```yaml kind: PersistentVolumeClaim apiVersion: v1 metadata: name:...

if you want to create sub dir with pvc annotation, you could try like this: ```yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: test-csi-smb provisioner: smb.csi.k8s.io reclaimPolicy: Delete parameters: source: "//NAS_FILER/"...

with PR #503 `"subDir":"subDirectory-${pvc.metadata.name}"` would be converted to `"subDir":"subDirectory-pvc-w7sbh"` - `subDir` parameter supports following pv/pvc metadata transform > if `subDir` value contains following string, it would transforms into corresponding pv/pvc...