Skip to contentSkip to conversation

ceph config without ctrfs

DISCUSSION Matt Weil 4 participants 4 messages Feb 27, 2012 – Feb 28, 2012

lore
Share & tools
lore

Matt Weil

author
#0 lore raw

How do you do this type of config (specifying multiple devices per server) on xfs not btrfs?

Quoted 23 lines

[osd.1]
host = linuscs92
btrfs devs = /dev/cciss/c1d2

[osd.2]
host = linuscs92
btrfs devs = /dev/cciss/c1d3

[osd.3]
host = linuscs92
btrfs devs = /dev/cciss/c1d4

[osd.4]
host = linuscs92
btrfs devs = /dev/cciss/c1d5

[osd.5]
host = linuscs93
btrfs devs = /dev/cciss/c1d2

[osd.6]
host = linuscs93
btrfs devs = /dev/cciss/c1d3

#1 lore raw
Quoted 26 lines · Matt Weil

How do you do this type of config (specifying multiple devices per server) on xfs not btrfs?

Quoted 23 lines

[osd.1]
       host = linuscs92
       btrfs devs = /dev/cciss/c1d2

[osd.2]
       host = linuscs92
       btrfs devs = /dev/cciss/c1d3

[osd.3]
       host = linuscs92
       btrfs devs = /dev/cciss/c1d4

[osd.4]
       host = linuscs92
       btrfs devs = /dev/cciss/c1d5

[osd.5]
       host = linuscs93
       btrfs devs = /dev/cciss/c1d2

[osd.6]
       host = linuscs93
       btrfs devs = /dev/cciss/c1d3

The fact that it's multiple daemons per server doesn't make a difference to configuration. If you're asking how to use xfs instead of btrfs:
http://ceph.newdream.net/docs/latest/ops/install/mkcephfs/#creating-a-ceph-conf-file
has a sample config with the correct fields. :)
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 7 lines · Gregory Farnum
Quoted 6 lines · Matt Weil

How do you do this type of config (specifying multiple devices per server) on xfs not btrfs?

Quoted 3 lines

[osd.1]
       host = linuscs92
       btrfs devs = /dev/cciss/c1d2

My inclination at this point is to deprecate & remove the "btrfs devs" feature as soon as possible. It's a half-feature that keeps tripping people up.

Format your filesystems as you wish, mount them, and point "osd data" at one. "btrfs devs" was meant for quickly creating throwaway test setups.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 10 lines · Tommi Virtanen
Quoted 7 lines · Gregory Farnum
Quoted 6 lines · Matt Weil

How do you do this type of config (specifying multiple devices per server) on xfs not btrfs?

Quoted 3 lines

[osd.1]
       host = linuscs92
       btrfs devs = /dev/cciss/c1d2

Quoted 7 lines

My inclination at this point is to deprecate & remove the "btrfs devs" feature as soon as possible. It's a half-feature that keeps tripping people up.

Format your filesystems as you wish, mount them, and point "osd data" at one. "btrfs devs" was meant for quickly creating throwaway test setups.

Sounds good to me. Should we add a warning if the feature is used for now, or just rip it out?

It would also be nice to define the path forward at the same time. Even a high level description of what you have in mind to the list so that people know where we're going and can work toward.

sage