All of lore.kernel.org
 help / color / mirror / Atom feed
* How to delete a mds?
@ 2012-06-26  0:09 Nick Bartos
  2012-06-26  0:13 ` Dan Mick
  2012-06-26  4:16 ` Sage Weil
  0 siblings, 2 replies; 4+ messages in thread
From: Nick Bartos @ 2012-06-26  0:09 UTC (permalink / raw)
  To: ceph-devel

We decided to stop using the posix filesystem, and as such have
stopped running ceph-mds (and removed the mds things from ceph.conf).
However we get warnings about the missing mds when running 'ceph
health'.

How do I delete all the mdses?  I tried 'ceph mds rm <mdsname>' but
that doesn't seem to do any good.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to delete a mds?
  2012-06-26  0:09 How to delete a mds? Nick Bartos
@ 2012-06-26  0:13 ` Dan Mick
  2012-06-26  4:16 ` Sage Weil
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Mick @ 2012-06-26  0:13 UTC (permalink / raw)
  To: Nick Bartos; +Cc: ceph-devel

This is a stupid question, but, did you stop and restart the cluster 
after editing ceph.conf?

On 06/25/2012 05:09 PM, Nick Bartos wrote:
> We decided to stop using the posix filesystem, and as such have
> stopped running ceph-mds (and removed the mds things from ceph.conf).
> However we get warnings about the missing mds when running 'ceph
> health'.
>
> How do I delete all the mdses?  I tried 'ceph mds rm<mdsname>' but
> that doesn't seem to do any good.
> --
> 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] 4+ messages in thread

* Re: How to delete a mds?
  2012-06-26  0:09 How to delete a mds? Nick Bartos
  2012-06-26  0:13 ` Dan Mick
@ 2012-06-26  4:16 ` Sage Weil
  2012-06-26 17:16   ` Nick Bartos
  1 sibling, 1 reply; 4+ messages in thread
From: Sage Weil @ 2012-06-26  4:16 UTC (permalink / raw)
  To: Nick Bartos; +Cc: ceph-devel

On Mon, 25 Jun 2012, Nick Bartos wrote:
> We decided to stop using the posix filesystem, and as such have
> stopped running ceph-mds (and removed the mds things from ceph.conf).
> However we get warnings about the missing mds when running 'ceph
> health'.
> 
> How do I delete all the mdses?  I tried 'ceph mds rm <mdsname>' but
> that doesn't seem to do any good.

The 'rm' refuses to do it if it is in use.  Instead,

 - make sure the ceph-mds daemon(s) aren't running
 - ceph mds newfs metadata data

That will blow away the old mdsmap (and fs metadata!).  Until a new 
'first' ceph-mds starts up, ceph health won't complain.

sage


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to delete a mds?
  2012-06-26  4:16 ` Sage Weil
@ 2012-06-26 17:16   ` Nick Bartos
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Bartos @ 2012-06-26 17:16 UTC (permalink / raw)
  To: Sage Weil; +Cc: ceph-devel

That did it, thanks.

On Mon, Jun 25, 2012 at 9:16 PM, Sage Weil <sage@inktank.com> wrote:
> On Mon, 25 Jun 2012, Nick Bartos wrote:
>> We decided to stop using the posix filesystem, and as such have
>> stopped running ceph-mds (and removed the mds things from ceph.conf).
>> However we get warnings about the missing mds when running 'ceph
>> health'.
>>
>> How do I delete all the mdses?  I tried 'ceph mds rm <mdsname>' but
>> that doesn't seem to do any good.
>
> The 'rm' refuses to do it if it is in use.  Instead,
>
>  - make sure the ceph-mds daemon(s) aren't running
>  - ceph mds newfs metadata data
>
> That will blow away the old mdsmap (and fs metadata!).  Until a new
> 'first' ceph-mds starts up, ceph health won't complain.
>
> sage
>
--
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] 4+ messages in thread

end of thread, other threads:[~2012-06-26 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-26  0:09 How to delete a mds? Nick Bartos
2012-06-26  0:13 ` Dan Mick
2012-06-26  4:16 ` Sage Weil
2012-06-26 17:16   ` Nick Bartos

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.