* what is the syntax to use to specify xfs in ceph.conf
@ 2013-01-22 19:16 Isaac Otsiabah
2013-01-22 20:01 ` Travis Rhoden
0 siblings, 1 reply; 2+ messages in thread
From: Isaac Otsiabah @ 2013-01-22 19:16 UTC (permalink / raw)
To: ceph-devel
When my ceph data drives use btrfs as the underneath fileystem, the devices in my ceph.conf contain the lines "btrfs devs = /dev/sdx" as shown below.
ceph.conf
=======
.......
.......
.......
......
[osd.0]
host = host1
public address = 10.5.0.123
cluster address = 10.5.1.123
btrfs devs = /dev/sde
[osd.1]
host = host2
public address = 10.5.0.123
cluster address = 10.5.1.123
btrfs devs = /dev/sdf
.......
.......
......
Now, i want to use xfs as the underneath filesystem so in the ceph.conf file, should the lines "btrfs devs = /dev/sdx" be changed to "xfs devs = /dev/sdx" ?
Isaac
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: what is the syntax to use to specify xfs in ceph.conf
2013-01-22 19:16 what is the syntax to use to specify xfs in ceph.conf Isaac Otsiabah
@ 2013-01-22 20:01 ` Travis Rhoden
0 siblings, 0 replies; 2+ messages in thread
From: Travis Rhoden @ 2013-01-22 20:01 UTC (permalink / raw)
To: Isaac Otsiabah; +Cc: ceph-devel
If using mkcephfs, you can just give it a "devs" option.
I"m pretty sure this changed in bobtail (0.56). I just setup a
cluster on 0.56.1, and used the following. Worked like a charm:
[osd]
osd mkfs type = xfs
osd mkfs options xfs = "-f"
osd mount options xfs = "rw,noatime,inode64,logbufs=8,logbsize=256k"
[osd.0]
host = ceph1
devs = /dev/sdc
osd journal = /dev/sda5
[osd.1]
host = ceph1
devs = /dev/sdd
osd journal = /dev/sda6
A generic example is in the docs, here:
http://ceph.com/docs/master/rados/configuration/ceph-conf/#example-ceph-conf
Remember to use --mkfs when using mkcephfs.
HTH.
- Travis
On Tue, Jan 22, 2013 at 2:16 PM, Isaac Otsiabah <zmoo76b@yahoo.com> wrote:
>
>
> When my ceph data drives use btrfs as the underneath fileystem, the devices in my ceph.conf contain the lines "btrfs devs = /dev/sdx" as shown below.
>
>
> ceph.conf
> =======
> .......
> .......
> .......
> ......
>
> [osd.0]
> host = host1
> public address = 10.5.0.123
> cluster address = 10.5.1.123
> btrfs devs = /dev/sde
>
> [osd.1]
> host = host2
> public address = 10.5.0.123
> cluster address = 10.5.1.123
> btrfs devs = /dev/sdf
>
> .......
> .......
> ......
>
>
> Now, i want to use xfs as the underneath filesystem so in the ceph.conf file, should the lines "btrfs devs = /dev/sdx" be changed to "xfs devs = /dev/sdx" ?
>
> Isaac
>
> --
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-22 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-22 19:16 what is the syntax to use to specify xfs in ceph.conf Isaac Otsiabah
2013-01-22 20:01 ` Travis Rhoden
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.