Project

General

Profile

Actions

Bug #51191

open

Cannot Mount CephFS No Timeout, mount error 5 = Input/output error

Added by Brian Rogers almost 3 years ago. Updated almost 3 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS, ceph-fuse, libcephfs
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On most hosts, mounting the CephFS via the kernel or ceph-fuse will not succeed. On one host, a Raspberry PI 4, it did mount. However, immediately after mounting, a simple cp filea.txt /cephfs/filea.txt fails. Creating a directory did work, but the mkdir /cephfs/test hangs.

Ceph mon stat

e30: 3 mons at {b=[v2:10.102.28.116:3300/0,v1:10.102.28.116:6789/0],n=[v2:10.101.151.140:3300/0,v1:10.101.151.140:6789/0],p=[v2:10.102.247.49:3300/0,v1:10.102.247.49:6789/0]}, election epoch 722, leader 0 b, quorum 0,1,2 b,n,p

Dmesg output

[45567.875725] Key type ceph registered
[45567.878545] libceph: loaded (mon/osd proto 15/24)
[45567.885258] FS-Cache: Netfs 'ceph' registered for caching
[45567.885263] ceph: loaded (mds proto 32)
[45567.903786] libceph: mon0 (1)10.102.28.116:6789 session established
[45567.904552] libceph: mon0 (1)10.102.28.116:6789 socket closed (con state OPEN)
[45567.904566] libceph: mon0 (1)10.102.28.116:6789 session lost, hunting for new mon
[45567.908889] libceph: mon1 (1)10.102.28.116:6789 session established
[45567.909875] libceph: client7984614 fsid 5d44c1b2-3fa7-42a1-827b-c4fb1b4a8e76
[46597.917058] libceph: mon2 (1)10.102.247.49:6789 session established
[46597.918225] libceph: mon2 (1)10.102.247.49:6789 socket closed (con state OPEN)
[46597.918236] libceph: mon2 (1)10.102.247.49:6789 session lost, hunting for new mon
[46597.921514] libceph: mon1 (1)10.102.28.116:6789 session established

Attempt to mount CephFS via ceph-fuse

sudo ceph-fuse -d -f -s -m 10.102.28.116,10.101.151.140,10.102.247.49 /cephfs --keyring /etc/ceph/ceph.client.test.keyring --name client.test

ceph-fuse[9754]: starting ceph client
2021-05-26T07:46:11.944-0700 7f34ab943100  0 ceph version 16.2.4 (3cbe25cde3cfa028984618ad32de9edc4c1eaed0) pacific (stable), process ceph-fuse, pid 9754
2021-05-26T07:46:11.944-0700 7f34ab943100 -1 init, newargv = 0x55b11a825eb0 newargc=17

Actions

Also available in: Atom PDF