mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
Merge pull request #55 from nak3/nonempty
Add nonempty option to ceph-fuse to support ReadWriteMany
This commit is contained in:
commit
4331960ab3
@ -40,6 +40,7 @@ func mountFuse(mountPoint string, cr *credentials, volOptions *volumeOptions, vo
|
|||||||
"-n", cephEntityClientPrefix + cr.id,
|
"-n", cephEntityClientPrefix + cr.id,
|
||||||
"--keyring", getCephKeyringPath(volUuid, cr.id),
|
"--keyring", getCephKeyringPath(volUuid, cr.id),
|
||||||
"-r", volOptions.RootPath,
|
"-r", volOptions.RootPath,
|
||||||
|
"-o", "nonempty",
|
||||||
}
|
}
|
||||||
|
|
||||||
out, err := execCommand("ceph-fuse", args[:]...)
|
out, err := execCommand("ceph-fuse", args[:]...)
|
||||||
|
Loading…
Reference in New Issue
Block a user