Bug #55724
opencephfs RWX in k8s
0%
Description
our application using an RWX cephfs volume share files between POD in different NODE, and this application do `mount` operation in this volume subdirectory like `/share`,
the `mount` src is an hostpath file, after this operation, we can see the this file in the application NODE's kubelet volume directory `volumes/kubernetes.io~csi/pvc-f1f23430-de13-41ac-966d-4f972e22765e/mount`, but see nothing in other NODE! i have tested RWO local-path volume, ALL POD using this volume could see the `mount` operation effect, could you explain why cephfs volume is this behavior ?
Updated by Venky Shankar almost 2 years ago
- Status changed from New to Need More Info
Hi Zhang,
Could you list the steps you perform and the contents of the mount file you see (`volumes/kubernetes.io~csi/pvc-f1f23430-de13-41ac-966d-4f972e22765e/mount`)?
Cheers,
Venky
Updated by zhang he almost 2 years ago
1. application POD do `mount` in cephfs `/share` directory, equvalent operation `mount t xxx /home/zhanghe/models /share` 1 root root 5333 May 25 07:46 md5.txt
2. in application POD node's volume path, `ls -l `
content :
`-rw-r--r-rw-r--r- 1 root root 41400 May 25 07:43 trans_cminds.mdlrw-r--r- 1 root root 146636 May 25 07:43 trans_kaldi.mdl
`
3. in other NODE, start an help POD, mount the same PV, but see nothing