CephFS Mount Question

gdi2k

Active Member
Aug 13, 2016
83
1
28
I would like to get CephFS working (I have already been using RBD for quite some time with great success).

I've followed the guidance in the wiki to set up CephFS, and things seem fine.

I then tried to mount it on a Ubuntu 18.04 client VM, like:

Code:
root@server2:~# mount -t ceph 10.32.32.3:6789:/ /media/cephfs -o name=cephfs,secret=XXXXXXXXXXXXXXXXXXXXXX
mount error 110 = Connection timed out

dmesg shows:
Code:
[162518.366245] libceph: loaded (mon/osd proto 15/24)
[162518.378000] FS-Cache: Netfs 'ceph' registered for caching
[162518.378011] ceph: loaded (mds proto 32)
[162518.396567] libceph: mon0 10.32.32.1:6789 socket error on read
[162519.157343] libceph: mon0 10.32.32.1:6789 socket error on read
[162520.149407] libceph: mon0 10.32.32.1:6789 socket error on read
[162522.165390] libceph: mon0 10.32.32.1:6789 socket error on write
[162522.201367] libceph: mon0 10.32.32.1:6789 socket error on write
[162523.157475] libceph: mon0 10.32.32.1:6789 socket error on write
[162524.149132] libceph: mon0 10.32.32.1:6789 socket error on read
[162525.269416] libceph: mon0 10.32.32.1:6789 socket error on read
[162526.168917] libceph: mon0 10.32.32.1:6789 socket error on read
[162527.157306] libceph: mon0 10.32.32.1:6789 socket closed (con state CONNECTING)
[162528.341128] libceph: mon0 10.32.32.1:6789 socket error on write
[162529.173108] libceph: mon0 10.32.32.1:6789 socket error on write
[162530.165140] libceph: mon0 10.32.32.1:6789 socket error on read
[162531.157371] libceph: mon0 10.32.32.1:6789 socket error on write
[162532.149305] libceph: mon0 10.32.32.1:6789 socket error on write
[162533.173255] libceph: mon0 10.32.32.1:6789 socket error on read
[162534.229119] libceph: mon0 10.32.32.1:6789 socket closed (con state CONNECTING)
[162535.157144] libceph: mon0 10.32.32.1:6789 socket error on write
[162536.149148] libceph: mon0 10.32.32.1:6789 socket closed (con state CONNECTING)
[162537.301261] libceph: mon0 10.32.32.1:6789 socket error on read
[162538.165318] libceph: mon0 10.32.32.1:6789 socket error on read
[162539.157079] libceph: mon0 10.32.32.1:6789 socket error on read
[162540.373401] libceph: mon0 10.32.32.1:6789 socket error on write

Any idea what could be going wrong?
 
162518.396567] libceph: mon0 10.32.32.1:6789 socket error on read
The VM doesn't seem to have access to the Ceph cluster.
 
You're absolutely right. It took me a couple of days to remember that ceph is set up to use a completely different network to the rest of proxmox. Makes total sense now. Will test tomorrow...

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!