Re: Performence test on ceph v0.23 + EXT4 and Btrfs

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

 




å 2010-12-02åç 14:10 +0800ïSage Weilåéï
> On Thu, 2 Dec 2010, Jeff Wu wrote:
> > ÃÃ 2010-12-02ÃÃÃÃ 10:35 +0800ÃÃGregory FarnumÃÃÃÃÃÃ
> > > On Wed, Dec 1, 2010 at 5:38 PM, Jeff Wu <cpwu@xxxxxxxxxxxxx> 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
> 
> That's the default, so no...  I think the problem is that 'make install' 
> does 'mkdir -p /var/run/ceph'.  The .deb and .rpm create the dir, but an 
> install from source does not.  There is probably a similar problem with 
> the osd class tmp dir.
> 
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" 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