Project

General

Profile

Actions

Bug #1016

closed

ceph 0.26,crushmap change,mount fail.

Added by changping Wu about 13 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi ,

ceph 0.26 ,change crushmap,then at a client ,mount ceph ,but fail.ceph.conf/crush.new.txt/crush.origin.txt/ attached.

It could take the following steps to reproduce this issue:

$mkcephfs -c /etc/ceph/ceph.conf -a -v -k /etc/ceph/adminkeyring
$init-ceph -c /etc/ceph/ceph.conf -a -v start
waiting for mds stat chage to "mds e5: 1/1/1 up {0=up:active}, 1 up:standby"
then:

$crushtool -c crush.new.txt -o crush.new
$ceph osd setcrushmap -i crush.new

root@ubuntu-mon0:/etc/ceph/crushmap# ceph -s
2011-04-19 13:13:09.012541 pg v55: 1584 pgs: 1584 active+clean; 22 KB data, 27720 KB used, 1200 GB / 1200 GB avail
2011-04-19 13:13:09.014376 mds e5: 1/1/1 up {0=up:active}, 1 up:standby
2011-04-19 13:13:09.014404 osd e11: 6 osds: 6 up, 6 in
2011-04-19 13:13:09.014449 log 2011-04-19 22:12:25.099880 osd3 172.16.35.76:6803/18151 8 : [INF] 0.19 scrub ok
2011-04-19 13:13:09.014502 mon e1: 3 mons at {0=172.16.35.10:6789/0,1=172.16.35.10:6790/0,2=172.16.35.10:6791/0}

at a client ,
loaded libceph.ko ceph.ko
type :
$ sudo mount -t ceph 172.16.35.10:6789:/ /mnt/ceph/ -o mount_timeout=5
but printk:
mount error 5 = Input/output error

Jeff ,Wu


Files

ceph.conf (3.61 KB) ceph.conf changping Wu, 04/19/2011 12:12 AM
crush.origin.txt (982 Bytes) crush.origin.txt changping Wu, 04/19/2011 12:12 AM
crush.new.txt (1.42 KB) crush.new.txt changping Wu, 04/19/2011 12:12 AM
Actions

Also available in: Atom PDF