All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Wu <cpwu@tnsoft.com.cn>
To: Gregory Farnum <gregf@hq.newdream.net>
Cc: Sage Weil <sage@newdream.net>,
	"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>,
	Andrew Lv <mllv@tnsoft.com.cn>
Subject: Re: Performence test on ceph v0.23 + EXT4 and Btrfs
Date: Thu, 2 Dec 2010 11:22:59 +0800	[thread overview]
Message-ID: <1291260179.1757.51.camel@cephhost> (raw)
In-Reply-To: <AANLkTikeuWA-MpDAgC3UEx=QsoAMHLzJem87P+X6dWRp@mail.gmail.com>



在 2010-12-02四的 10:35 +0800,Gregory Farnum写道:
> On Wed, Dec 1, 2010 at 5:38 PM, Jeff Wu <cpwu@tnsoft.com.cn> wrote:
> >> > 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 like
> >> 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 "$ init-ceph
> > -c ceph.conf --btrfs -v -a start " command.
> Ah. I think that /var/run/ceph is where init-ceph stores the PIDs. It
> ought to be created automatically; if it's not we should fix that.
> What version of Ceph are you running, and where from? I'd imagine it's
> being packaged wrong or something.

Hi ,
i download ceph 0.23 from 
http://ceph.newdream.net/download/ceph-0.23.tar.gz

So , maybe , should i add 
"
[global]
       pid file = /var/run/ceph/$name.pid
..............................
"
at ceph.conf ?





> --
> 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

--
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

  reply	other threads:[~2010-12-02  3:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1291001135.1872.106.camel@cephhost>
     [not found] ` <1291001398.1872.107.camel@cephhost>
     [not found]   ` <1291001962.1872.113.camel@cephhost>
     [not found]     ` <1291002250.1872.116.camel@cephhost>
2010-11-29  3:53       ` Performence test on ceph v0.23 + EXT4 and Btrfs Jeff Wu
2010-11-29 17:07 ` Gregory Farnum
2010-11-30  2:55   ` Jeff Wu
2010-11-30  3:18     ` Gregory Farnum
2010-11-30  6:19       ` Jeff Wu
2010-11-30 17:07         ` Gregory Farnum
2010-12-01  1:35           ` Jeff Wu
2010-12-01  6:59             ` Jeff Wu
2010-12-01 16:05               ` Gregory Farnum
2010-12-02  1:38                 ` Jeff Wu
2010-12-02  2:35                   ` Gregory Farnum
2010-12-02  3:22                     ` Jeff Wu [this message]
2010-12-02  6:10                       ` Sage Weil
2010-12-02  7:31                         ` Jeff Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1291260179.1757.51.camel@cephhost \
    --to=cpwu@tnsoft.com.cn \
    --cc=ceph-devel@vger.kernel.org \
    --cc=gregf@hq.newdream.net \
    --cc=mllv@tnsoft.com.cn \
    --cc=sage@newdream.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.