Re: cephfs mount fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I've just found the solution. It was my fault with the permissions...

On 2022. 09. 30. 16:02, Daniel Kovacs wrote:
Hello!

I have a client with Ubuntu 22.04 where I'd like to mount a cephfs volume. I got error: mount error 1 = Operation not permitted

When I run mount command in verbose mode I see an extra field (key) in mount options. As I see this field is exactly same value as name field. What's this field? I think that causes thet permission problems during the mount.

Here is an example, when I run this command: mount -t ceph 10.0.12.1:6789,10.0.12.2:6789,10.0.12.3:6789:/volumes/_nogroup/web/94bbf1a8-aae2-420d-8f9f-6a6166fbc4b7 -o name=client1,key=<supersecret> /mountpoint

In verbose mode I see:

mount.ceph: resolved to: "10.0.12.1,10.0.12.2,10.0.12.3"
mount.ceph: trying mount with new device syntax: client1@03fb1551-6ed2-43c7-bba4-e8137c204b4d.inclust_ssd=/volumes/_nogroup/web/94bbf1a8-aae2-420d-8f9f-6a6166fbc4b7 mount.ceph: options "name=client1,key=client1,mon_addr=10.0.12.1/10.0.12.2/10.0.12.3" will pass to kernel mount.ceph: trying mount with old device syntax: 10.0.12.1,10.0.12.2,10.0.12.3:/volumes/_nogroup/web/94bbf1a8-aae2-420d-8f9f-6a6166fbc4b7 mount.ceph: options "name=client1,key=client1,mds_namespace=inclust_ssd,fsid=03fb1551-6ed2-43c7-bba4-e8137c204b4d" will pass to kernel
mount error 1 = Operation not permitted

ceph-common, libcephfs2 version is 17.2.0-0ubuntu0.22.04.1


I tried to find something in google and the mount.ceph manpage about key option but no luck.


When I run the same command in an another machine it works fine...



_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux