All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@42on.com>
To: charles L <charlesboy009@hotmail.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: urgent journal conf on ceph.conf
Date: Thu, 14 Feb 2013 14:47:07 +0100	[thread overview]
Message-ID: <511CEADB.9070001@42on.com> (raw)
In-Reply-To: <DUB116-W25AEABD85893916143C7CFE00F0@phx.gbl>

On 02/14/2013 11:24 AM, charles L wrote:
>
> Pls can someone help me with the ceph.conf for 0.56.2. I have two servers for STORAGE with 3tb hard drives each and two SSD's each.  I want to use OSD data on the hard drive and osd journal on SSD.
>
> I want to know how osd journal configuration is set to SSD. My SSD is mounted on /dev/sdb.
>
> I have tried the osd data configurations  devs = /dev/sda and it worked just good.
>
> Is this line correct "osd journal = /dev/osd$id/journal" ?? and " osd journal = /dev/sdb " ???
>

In the osd specific (osd.0 and osd.1) sections you override the journal 
settings made in the [osd] section.

They are not needed, since you give the whole block device (/dev/sdb) to 
the OSD as a journal.

Are you sure /dev/sda is available for the OSD and it's not your boot 
device?

Wido

> [global]
>
>                  auth cluster required = cephx
>                  auth service required = cephx
>                  auth client required = cephx
>                  debug ms = 1
>
> [osd]
>                  osd journal size = 1000
>                  osd journal = /dev/osd$id/journal
>                  filestore xattr use omap = true
>                  osd mkfs type = xfs
>                  osd mkfs options xfs = -f
>                  osd mount options xfs = rw,noatime,
>
> [osd.0]
>                  host = server04
>                  devs = /dev/sda
>                  osd journal = /dev/sdb
> [osd.1]
>                  host = server05
>                  devs = /dev/sda
>                  osd journal = /dev/sdb
>
> THANKS. 		 	   		  --
> 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
>


-- 
Wido den Hollander
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on

  reply	other threads:[~2013-02-14 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 10:24 urgent journal conf on ceph.conf charles L
2013-02-14 13:47 ` Wido den Hollander [this message]
2013-02-14 13:52   ` Joao Eduardo Luis
2013-02-14 14:20     ` [ceph-users] " Sébastien Han

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=511CEADB.9070001@42on.com \
    --to=wido@42on.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=charlesboy009@hotmail.com \
    /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.