On 3/2/21 6:00 PM, Jeff Layton wrote:
v2 support in the kernel is keyed on the ms_mode= mount option, so that
has to be passed in if you're connecting to a v2 port. Until the mount
helpers get support for that option you'll need to specify the address
and port manually if you want to use v2.
I've tried feeding it ms_mode=v2 but I get a "mount error 22 = Invalid
argument", the ms_mode=legacy does work, but fails with the same errors.
That needs different values. See:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=00498b994113a871a556f7ff24a4cf8a00611700
You can try passing in a specific mon address and port, like:
192.168.21.22:3300:/cephfs/dir/
...and then pass in ms_mode=crc or something similar.
That works, as in I don't get a mount error (ms_mode=prefer-crc) and
added the port 3300 explictly, but same error.
That said, what you're doing should be working, so this sounds like a
regression. I presume you're able to mount with earlier kernels? What's
the latest kernel version that you have that works?
Previous one was 4.18 ... elrepo only has 5.4 / 5.11 available now
AFAIK. I'll try to test some ubuntu kernel ppa's as I can choose what
version to use.
I'll keep you posted.
Gr. Stefan
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx