All of lore.kernel.org
 help / color / mirror / Atom feed
* problem with hanging cluster
@ 2012-11-08 11:14 Adam Ochmański
  2012-11-08 11:42 ` Adam Ochmański
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Ochmański @ 2012-11-08 11:14 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi,
our test cluster going stuck every time when one of our osd host going 
down, when mising osd go to "up" state and recovery go to 100% cluster 
still not working propertly.

When ceph crash there are some working jobs from other host which only 
mounted by rbd and CephFS kernel driver. Each 5 clients do similar job 
in loop
in. ex. dd if=/dev/zero of=/mnt/ceph/$filename bs=1M count=$random; dd 
if=/mnt/ceph/$filename of=/dev/null bs=512k; rm -f /mnt/ceph/$filename

When cluster is fresh after new deploy, this test working propertly but 
when wewill fail one of our osd some times, cluster not responding all 
dd process going to state D.

We have cluster build with 3 nodes, with journal on ssd disk:
system debian 7.0 3.2.0-3-amd64

#ceph osd tree

# id    weight    type name    up/down    reweight
-1    6    root default
-3    6        rack unknownrack
-2    2            host uranos
0    1                osd.0    up    1
1    1                osd.1    up    1
-4    3            host node04
401    1                osd.401    up    1
402    1                osd.402    up    1
403    1                osd.403    up    1
-5    1            host node03
2    1                osd.2    up    1

#mount
/dev/sdb1 /var/lib/ceph/osd/ceph-401 ext4 
rw,sync,noatime,user_xattr,barrier=0,data=writeback 0 0
/dev/sdc1 /var/lib/ceph/osd/ceph-402 ext4 
rw,sync,noatime,user_xattr,barrier=0,data=writeback 0 0
/dev/sde1 /var/lib/ceph/osd/ceph-403 ext4 
rw,sync,noatime,user_xattr,barrier=0,data=writeback 0 0
/dev/sdd1 /var/lib/ceph/journal ext4 
rw,sync,noatime,user_xattr,barrier=0,data=writeback 0 0
/dev/sdd2 /var/lib/ceph/mon ext4 
rw,sync,noatime,user_xattr,barrier=0,data=writeback 0 0


#ceph -s
    health HEALTH_WARN 111 pgs peering; 111 pgs stuck inactive; 45 pgs 
stuck unclean
    monmap e1: 1 mons at {alfa=10.32.20.46:6789/0}, election epoch 1, 
quorum 0 alfa
    osdmap e853: 6 osds: 6 up, 6 in
     pgmap v10870: 1152 pgs: 871 active+clean, 111 peering, 170 
active+clean+scrubbing; 186 GB data, 478 GB used, 6500 GB / 6979 GB avail
    mdsmap e9: 1/1/1 up {0=alfa=up:active}

### /var/log/ceph.log
http://pastebin.com/z6prrnS4

### client kernel driver CephFS
10.32.20.46:6789:/ on /mnt/ceph type ceph 
(rw,relatime,name=admin,secret=<hidden>)

strace ls -al /mnt/ceph
http://pastebin.com/hqwa3sDt

### ceph.conf
[global]

     auth supported = cephx

[osd]
     osd journal size = 1000
     filestore xattr use omap = true
     osd journal = /var/lib/ceph/journal/osd.$id/journal

[mon.alfa]
     host = node04
     mon addr = 10.32.20.46:6789

[osd.401]
     host = node04

[osd.402]
     host = node04

[osd.403]
     host = node04

[osd.2]
     host = node03

[osd.0]
     host = uranos

[osd.1]
     host = uranos

[mds.alfa]
     host = node04

Any suggest ? Thanks!
-- 
Best,
blink


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem with hanging cluster
  2012-11-08 11:14 problem with hanging cluster Adam Ochmański
@ 2012-11-08 11:42 ` Adam Ochmański
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Ochmański @ 2012-11-08 11:42 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

W dniu 08.11.2012 12:14, Adam Ochmański pisze:
> Hi,
> our test cluster going stuck every time when one of our osd host going
> down, when mising osd go to "up" state and recovery go to 100% cluster
> still not working propertly.

I forgot add version of ceph i use: 0.53-422-g2d20f3a

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-08 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08 11:14 problem with hanging cluster Adam Ochmański
2012-11-08 11:42 ` Adam Ochmański

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.