From: Fyodor Ustinov <ufm@ufm.su>
To: Wido den Hollander <wido@widodh.nl>
Cc: ceph-devel@vger.kernel.org
Subject: Re: How to create new empty journal?
Date: Thu, 09 Jun 2011 13:19:04 +0300 [thread overview]
Message-ID: <4DF09E18.5090006@ufm.su> (raw)
In-Reply-To: <1307614145.2906.2.camel@wido-desktop>
On 06/09/2011 01:09 PM, Wido den Hollander wrote:
> Hi,
>
> On Thu, 2011-06-09 at 01:30 +0300, Fyodor Ustinov wrote:
>> Hi!
>>
>> I need to create new fresh journal for OSD server without removing data.
>> How?
> This can be done with:
>
> $ cosd -i<osdnum> -c /etc/ceph/ceph.conf --mkjournal
Thanx!
> This will reset your journal.
>
> Why do you want to do this?
>
Many cases:
1. I have journal on tempfs and want to stop ceph cluster and restart
servers. After that I lose journal.
2. I want to increase journal size.
3. I want to decrease journal size.
4. I want replace journal device.
And so on.
WBR,
Fyodor.
next prev parent reply other threads:[~2011-06-09 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-08 22:30 How to create new empty journal? Fyodor Ustinov
2011-06-09 10:09 ` Wido den Hollander
2011-06-09 10:19 ` Fyodor Ustinov [this message]
2011-06-09 17:13 ` Gregory Farnum
2011-06-09 20:07 ` Fyodor Ustinov
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=4DF09E18.5090006@ufm.su \
--to=ufm@ufm.su \
--cc=ceph-devel@vger.kernel.org \
--cc=wido@widodh.nl \
/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.