All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@widodh.nl>
To: 胡瀚森 <softrank.net@gmail.com>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Problem about writing configuration file
Date: Wed, 21 Mar 2012 10:36:32 +0100	[thread overview]
Message-ID: <4F69A120.6000101@widodh.nl> (raw)
In-Reply-To: <CALwGbPL2vNfMvhJmEt5pkpowF7tWh1Xigjxjw1CrLv8h+xF23w@mail.gmail.com>

Hi,

On 03/21/2012 10:31 AM, 胡瀚森 wrote:
> for example I have an ext4 partition /dev/sdb1
> what should I write in the configuration file?
> I have trouble getting to know the format of the config file.

For example:

* /etc/fstab *
/dev/sdb1   /var/lib/ceph/osd.0    ext4   rw,user_xattr 0 0

* /etc/ceph/ceph.conf *
[osd.0]
    osd data = /var/lib/ceph/osd.0

Wido

>
> On Wed, Mar 21, 2012 at 5:29 PM, Wido den Hollander<wido@widodh.nl>  wrote:
>> Hi,
>>
>>
>> On 03/21/2012 10:26 AM, 胡瀚森 wrote:
>>>
>>> I created my own configuration file.
>>> Unfortunately for some reason, I cannot use BTRFS at the moment.
>>>
>>> In that case, if I want to use ext4 as OSD FS, what should I write in
>>> my configuration file?
>>>
>>> And are there any official guide about the configuration file?
>>
>>
>> Just make sure your "osd data" points to the right direction for storing the
>> OSD data.
>>
>> Also, make sure that you enable user_xattr for the ext4 fileystem.
>>
>> Wido
>>
>>>
>>> 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
--
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

      parent reply	other threads:[~2012-03-21  9:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21  9:26 Problem about writing configuration file 胡瀚森
2012-03-21  9:29 ` Wido den Hollander
     [not found]   ` <CALwGbPL2vNfMvhJmEt5pkpowF7tWh1Xigjxjw1CrLv8h+xF23w@mail.gmail.com>
2012-03-21  9:36     ` Wido den Hollander [this message]

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=4F69A120.6000101@widodh.nl \
    --to=wido@widodh.nl \
    --cc=ceph-devel@vger.kernel.org \
    --cc=softrank.net@gmail.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.