cephfs: one cause of mount error 5 = Input/output error

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

 



Hi,

I've found that a cause of Input/output error when I mount the cephfs,
however, I'm not sure which part should be improved ( perhaps me ),
but this error would occur when your client has more than 1 network address.

Environment setting:
Ceph mon
  listen on 192.168.10.1:6789

Ceph client
  use private ip: 192.168.100.11
  public ip: 140.113.98.244

---------------------------------------------------

<< ceph client node >>
# ip r
192.168.10.0/24 dev eth0 scope link

# mount -t ceph 192.168.10.1:/ /mnt/ceph -o name=admin,secret=<adminscret>
mount error 5 = Input/output error

# netstat -ntu
tcp        0      0 140.113.98.244:57667    192.168.10.1:6789       ESTABLISHED

<< ceph mon node >>
# tail mon.log
Aug  2 21:53:57 ceph1 ceph-mon: 2012-08-02 21:53:57.348598
7f19d62cc700  0 mon.0@0(leader) e5 handle_command mon_command(status v
0) v1
Aug  2 21:54:59 ceph1 ceph-mon: 2012-08-02 21:54:59.277523
7f19d31a9700  0 -- 192.168.10.1:6789/0 >> 140.113.98.244:0/1892356839
pipe(0x299a000 sd=33 pgs=0 cs=0 l=0).accept peer addr is really
140.113.98.244:0/1892356839 (socket is 140.113.98.244:57667/0)

---------------------------------------------------
Another successful tries

<< ceph client node >>
# ip r
192.168.10.0/24 dev eth0 proto kernel  scope link  src 192.168.100.11

# mount -t ceph 192.168.10.1:/ /mnt/ceph -o name=admin,secret=<adminscret>
Ok

# netstat -ntu
tcp        0      0 192.168.100.11:40545    192.168.10.1:6789       ESTABLISHED

<< ceph mon node >>
# tail mon.log
Aug  2 22:00:51 ceph1 ceph-mon: 2012-08-02 22:00:51.456517
7f19d31a9700  0 -- 192.168.10.1:6789/0 >> 192.168.100.11:0/3665654333
pipe(0x2e54780 sd=33 pgs=0 cs=0 l=0).accept peer addr is really
192.168.100.11:0/3665654333 (socket is 192.168.100.11:40545/0)
Aug  2 22:00:52 ceph1 ceph-mon: 2012-08-02 22:00:52.531184
7f19d62cc700  0 log [INF] : pgmap v194887: 3472 pgs: 3472
active+clean; 274 MB data, 18458 MB used, 12616 GB / 12668 GB avail

For your reference,

Thanks.

Chuanyu
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux