Open geerlingguy opened 2 years ago
I believe the NFS in Ceph associates itself with cephFS or object gateway (RGW)
Initial steps to setup NFS would be
In your setup, I believe you started off directly (from what I could infer (metadata service for cephFS or rgw service for object gateway were not active) from the video's dashboard) to NFS which might be why you were facing issues.
Also systemctl status ceph-
At the end of the video you had CephFS running, so now the logical step to setup NFS would be to remove any dead/ stale NFS services and recreating it with association to CephFS.
Thanks! I'll have to take a look at this again when I have the server up and running again—right now I have it pulled apart for some other testing :(
I'm having the exact same issue with the nfs
Are the cephFS or RGW services running and respective pools have been created?
You might wanna try
ceph fs volume create <fs name>
(root privileges preferred)
This will create data and metadata pool. After which you can associate NFS to cephFS from dashboard
I do have a pool and the volume... I tried add NFS and I've got the same error reported by @geerlingguy ...
I ended up just doing a kernel mount on all 4 Pi's and because is enough for my use case "having a shared/replicated/highly-available storage across all swarm nodes for docker usage"
Could you please get the systemctl status ceph-<fsid>-nfs.<nfs-id>.service
(if the service has been created, you can view it in Dashoard at Cluster -> Services in the left panel) from the node where the nfs service is placed?
I'm trying to understand if any packages are missing specific to Raspbian or something else entirely
Failed to apply: [Errno 2] No such file or directory: 'ganesha-rados-grace': 'ganesha-rados-grace'
Id to have these packages installed on the the servers:
Could you please try and install nfs-ganesha-rados-grace from the debian repo nfs-ganesha-rados-grace
Same result when trying to launch the service for nfs
sudo apt list |grep ganesha
nfs-ganesha-ceph/stable,now 3.4-1 arm64 [installed]
nfs-ganesha-ceph/stable 3.4-1 armhf
nfs-ganesha-doc/stable,stable 3.4-1 all
nfs-ganesha-gluster/stable 3.4-1 arm64
nfs-ganesha-gluster/stable 3.4-1 armhf
nfs-ganesha-gpfs/stable 3.4-1 arm64
nfs-ganesha-gpfs/stable 3.4-1 armhf
nfs-ganesha-mem/stable 3.4-1 arm64
nfs-ganesha-mem/stable 3.4-1 armhf
nfs-ganesha-mount-9p/stable,stable 3.4-1 all
nfs-ganesha-nullfs/stable 3.4-1 arm64
nfs-ganesha-nullfs/stable 3.4-1 armhf
nfs-ganesha-proxy/stable 3.4-1 arm64
nfs-ganesha-proxy/stable 3.4-1 armhf
nfs-ganesha-rados-grace/stable,now 3.4-1 arm64 [installed]
nfs-ganesha-rados-grace/stable 3.4-1 armhf
nfs-ganesha-rgw/stable 3.4-1 arm64
nfs-ganesha-rgw/stable 3.4-1 armhf
nfs-ganesha-vfs/stable 3.4-1 arm64
nfs-ganesha-vfs/stable 3.4-1 armhf
nfs-ganesha/stable,now 3.4-1 arm64 [installed]
nfs-ganesha/stable 3.4-1 armhf
python3-nfs-ganesha/stable,stable 3.4-1 all
Linux pi001 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux
This is due to arm builds being disabled for nfs-ganesha-stable: https://github.com/ceph/ceph-build/issues/1979
Is there a workaround or is ceph+nfs on arm not possible at the moment?
When I try adding an NFS service to the cluster using the web dashboard, this message pops up in an overlay:
And in the logs:
I even tried installing the dependencies listed on Ceph's NFS documentation page, but that didn't help:
https://github.com/geerlingguy/deskpi-super6c-cluster/blob/dce4ee74d916e260a949c2507934233c719961d0/main.yml#L43-L49