Re: Braindump: path names, partition labels, FHS, auto-discovery

2012-03-27 Thread David McBride
On Tue, 2012-03-20 at 00:25 -0700, Sage Weil wrote: Currently the ceph-osd it told which id to be on startup; the only real shift here would be to let you specify some uuids instead and have it pull it's rank (id) out of the .../whoami file. I'm increasingly coming to believe that an OSD's

Re: Braindump: path names, partition labels, FHS, auto-discovery

2012-03-20 Thread Sage Weil
On Mon, 19 Mar 2012, Bernard Grymonpon wrote: Sage Weil sage at newdream.net writes: On Wed, 7 Mar 2012, David McBride wrote: On Tue, 2012-03-06 at 13:19 -0800, Tommi Virtanen wrote: - scan the partitions for partition label with the prefix ceph-osd-data-. Thought:

Re: Braindump: path names, partition labels, FHS, auto-discovery

2012-03-20 Thread Bernard Grymonpon
On 20 Mar 2012, at 08:25, Sage Weil wrote: On Mon, 19 Mar 2012, Bernard Grymonpon wrote: Sage Weil sage at newdream.net writes: On Wed, 7 Mar 2012, David McBride wrote: On Tue, 2012-03-06 at 13:19 -0800, Tommi Virtanen wrote: - scan the partitions for partition label with the prefix

Re: Braindump: path names, partition labels, FHS, auto-discovery

2012-03-07 Thread David McBride
On Tue, 2012-03-06 at 13:19 -0800, Tommi Virtanen wrote: - scan the partitions for partition label with the prefix ceph-osd-data-. Thought: I'd consider not using a numbered partition label as the primary identifier for an OSD. There are failure modes that can occur, for example, if you have

Re: Braindump: path names, partition labels, FHS, auto-discovery

2012-03-07 Thread Sage Weil
On Wed, 7 Mar 2012, David McBride wrote: On Tue, 2012-03-06 at 13:19 -0800, Tommi Virtanen wrote: - scan the partitions for partition label with the prefix ceph-osd-data-. Thought: I'd consider not using a numbered partition label as the primary identifier for an OSD. There are

Braindump: path names, partition labels, FHS, auto-discovery

2012-03-06 Thread Tommi Virtanen
As you may have noticed, the docs [1] and Chef cookbooks [2] currently use /srv/osd.$id and such paths. That's, shall we say, Not Ideal(tm). [1] http://ceph.newdream.net/docs/latest/ops/install/mkcephfs/#creating-a-ceph-conf-file [2]

Re: Braindump: path names, partition labels, FHS, auto-discovery

2012-03-06 Thread Greg Farnum
On Tuesday, March 6, 2012 at 1:19 PM, Tommi Virtanen wrote: As you may have noticed, the docs [1] and Chef cookbooks [2] currently use /srv/osd.$id and such paths. That's, shall we say, Not Ideal(tm). [1] http://ceph.newdream.net/docs/latest/ops/install/mkcephfs/#creating-a-ceph-conf-file