From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Wu Subject: Re: Performence test on ceph v0.23 + EXT4 and Btrfs Date: Thu, 2 Dec 2010 15:31:48 +0800 Message-ID: <1291275108.1757.90.camel@cephhost> References: <1291001135.1872.106.camel@cephhost> <1291085741.1809.25.camel@cephhost> <1291097975.1809.54.camel@cephhost> <1291167344.1809.60.camel@cephhost> <1291186785.1809.91.camel@cephhost> <1291253884.1757.10.camel@cephhost> <1291260179.1757.51.camel@cephhost> Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from [210.22.136.227] ([210.22.136.227]:6366 "EHLO MAIL.TNSOFT.COM.CN" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1756308Ab0LBHac (ORCPT ); Thu, 2 Dec 2010 02:30:32 -0500 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Sage Weil Cc: Gregory Farnum , "ceph-devel@vger.kernel.org" , Andrew Lv =E5=9C=A8 2010-12-02=E5=9B=9B=E7=9A=84 14:10 +0800=EF=BC=8CSage Weil=E5= =86=99=E9=81=93=EF=BC=9A > On Thu, 2 Dec 2010, Jeff Wu wrote: > > =C3=BF=C3=BF 2010-12-02=C3=BF=C3=BF=C3=BF=C3=BF 10:35 +0800=C3=BF=C3= =BFGregory Farnum=C3=BF=C3=BF=C3=BF=C3=BF=C3=BF=C3=BF > > > On Wed, Dec 1, 2010 at 5:38 PM, Jeff Wu wrot= e: > > > >> > and i also detect a issue ,take the following steps: > > > >> > > > > >> > $. mckephfs -c ceph.conf -v --mkbtrfs -a > > > >> > $ init-ceph - ceph.conf --btrfs -v -a start > > > >> > then execute: > > > >> > $ init-ceph - ceph.conf --btrfs -v -a stop > > > >> > > > > >> > this command can't stop OSD0 and OSD1 cosd process: > > > >> > OSD0: > > > >> > /usr/local/bin/cosd -i 0 -c ceph.conf > > > >> > OSD1: > > > >> > /usr/local/bin/cosd -i 1 -c ceph.conf > > > >> Not sure I understand what you're doing here. Also, it looks l= ike > > > >> you've got a malformed command there -- you don't specify the = "-c" > > > >> option, just the nonexistent "-" option. ;) > > > > > > > > Oh,Sorry, i mean that , if i don't create folder "/var/run/ceph= " at OSD > > > > hosts manually. Execute the command : "$init-ceph -c ceph.conf = --btrfs > > > > -v -a stop " ,which can't auto-kill OSD host cosd process, like= this : > > > > OSD0 host: > > > > $ ps -ef | grep cosd > > > > root 13987 1 0 Dec01 ? 00:02:55 /usr/local/bin/= cosd -i 0 > > > > -c ceph.conf > > > > OSD1 host: > > > > $ ps -ef | grep cosd > > > > root 14028 1 0 Dec01 ? 00:02:53 /usr/local/bin/= cosd -i 1 > > > > -c ceph.conf > > > > > > > > I have to execute "kill -9 13987 " and "kill -9 14028" to kill = cosd > > > > process manually, or ,next time , it will fail to execute "$ in= it-ceph > > > > -c ceph.conf --btrfs -v -a start " command. > > > Ah. I think that /var/run/ceph is where init-ceph stores the PIDs= =2E It > > > ought to be created automatically; if it's not we should fix that= =2E > > > What version of Ceph are you running, and where from? I'd imagine= it's > > > being packaged wrong or something. > >=20 > > Hi , > > i download ceph 0.23 from=20 > > http://ceph.newdream.net/download/ceph-0.23.tar.gz > >=20 > > So , maybe , should i add=20 > > " > > [global] > > pid file =3D /var/run/ceph/$name.pid >=20 > That's the default, so no... I think the problem is that 'make insta= ll'=20 > does 'mkdir -p /var/run/ceph'. The .deb and .rpm create the dir, but= an=20 > install from source does not. There is probably a similar problem wi= th=20 > the osd class tmp dir. >=20 Yes, when i try to use RBD , need also create "/var/lib/ceph/tmp" mamually. I install ceph server with ceph-0.23.tar.gz. Jeff,wu > sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html