[ceph-users] Re: ceph recipe for nfs exports

2024-04-29 Thread Robert Sander
On 4/29/24 17:21, Roberto Maggi @ Debian wrote: I can mount it correctly, but when I try to write or touch any file in it, it returns me "Permission denied" Works as expected. You have set squash to all, now every NFS client is mapped to nobody on the server. But only root is able to write

[ceph-users] Re: ceph recipe for nfs exports

2024-04-29 Thread Roberto Maggi @ Debian
Hi you all, I did the changes suggested but the situation is still the same, I set the squash to "all", since I want only "nobody:nogroup" ids but I can't understand where the path should point. If I understood it well, I pass a far disks ( unpartitioined and so unformatted ) to the osd da

[ceph-users] Re: ceph recipe for nfs exports

2024-04-25 Thread P Wagner-Beccard
I'm not using Ceph Ganesha but GPFS Ganesha, so YMMV > ceph nfs export create cephfs --cluster-id nfs-cephfs --pseudo-path /mnt > --fsname vol1 > --> nfs mount > mount -t nfs -o nfsvers=4.1,proto=tcp 192.168.7.80:/mnt /mnt/ceph > > - Although I can mount the export I can't write on it You created

[ceph-users] Re: ceph recipe for nfs exports

2024-04-25 Thread Roberto Maggi @ Debian
first of all thanks to all! Al supposed by Robert Sander, I get "permission denied" but even writing with root privileges I get the same error. As soon as I can I'll test your suggestions and update the thread. Thanks again On 4/24/24 16:05, Adam King wrote: - Although I can mount th

[ceph-users] Re: ceph recipe for nfs exports

2024-04-25 Thread Robert Sander
Hi, On 4/24/24 09:39, Roberto Maggi @ Debian wrote: ceph orch host add cephstage01 10.20.20.81 --labels _admin,mon,mgr,prometheus,grafana ceph orch host add cephstage02 10.20.20.82 --labels _admin,mon,mgr,prometheus,grafana ceph orch host add cephstage03 10.20.20.83 --labels _admin,mon,mgr,p

[ceph-users] Re: ceph recipe for nfs exports

2024-04-24 Thread Ceph . io
Wow, you made it farther than I did. I got it installed, added hosts, then NOTHING. It showed there were physical disks on the hosts but wouldn't create the OSDs. Command was accepted, but NOTHING happened. No output, no error, no NOTHING. I fought with it for over a week and finally gave u

[ceph-users] Re: ceph recipe for nfs exports

2024-04-24 Thread Adam King
> > - Although I can mount the export I can't write on it > > What error are you getting trying to do the write? The way you set things up doesn't look to different than one of our integration tests for ingress over nfs ( https://github.com/ceph/ceph/blob/main/qa/suites/orch/cephadm/smoke-roleless/