Create and delete exports for nfs ganesha with mgr volume #32297
Create and delete exports for nfs ganesha with mgr volume #32297sebastian-philipp merged 31 commits intoceph:masterfrom
Conversation
d748fc2 to
b80ad83
Compare
|
Rebased |
|
jenkins retest this please |
b80ad83 to
164f44f
Compare
|
Added command to delete export. |
|
Please add this tracker ticket: https://tracker.ceph.com/issues/44193 |
164f44f to
b2f250d
Compare
Done. |
|
jenkins render docs |
|
It can create single cluster and export. For more than one export and cluster, it requires some modifications. |
|
jenkins render docs |
b2f250d to
b5afec1
Compare
|
jenkins render docs |
|
Doc render available at http://docs.ceph.com/ceph-prs/32297/ |
b5afec1 to
ace77b7
Compare
|
jenkins render docs |
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
945616b to
e3da102
Compare
|
Fixed spacing issue in doc. |
|
jenkins render docs |
jtlayton
left a comment
There was a problem hiding this comment.
This looks usable now to me, and I think we'll want to go ahead and merge it and then sort out the remaining details afterward. Since the bulk of this is mgr code, I think we might need to get someone involved in that code to rubber-stamp this. @sebastian-philipp : who would be best to give this a look before merge?
As long as Patrick is on leave: you and Mike. both approved it. let's get this in. |
|
jenkins render docs |
|
jenkins retest this please |
1 similar comment
|
jenkins retest this please |
|
Looks good. @varshar16 is going to run one more testsuite against it, and we'll merge soon afterward. |
which ones? For cephadm, I'm typically running |
I am just running fs volume tests. |
|
Doc render available at http://docs.ceph.com/ceph-prs/32297/ |
|
@jtlayton the tests have passed. |
$ ceph nfs cluster create <type=cephfs> [--size=1] <clusterid>This creates an nfs cluster.
clusterid: It is cluster name
size: Cluster size
$ ceph nfs export create <type=cephfs> <fsname> <binding> <clusterid> [--readonly] [--path=/path/in/cephfs]This command creates cephfs exports for nfs-ganesha. Here binding is the pseudo root name.
Using vstart both ganesha daemons and exports are created:
MDS=1 MON=1 OSD=3 NFS=1 ../src/vstart.sh -n -dAfter vstart runs successfully, mount cephfs based on Ganesha IP address and port in ceph.conf.
mount -t nfs -o port=44581 192.168.1.38:/cephfs /mntNote: mgr should be enabled and vstart can create multiple clusters each with single export.
This patch is based on this PR #31527.
Fixes: https://tracker.ceph.com/issues/44193
Show available Jenkins commands
jenkins retest this pleasejenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox