Re: How to create new empty journal?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux