Replace journals disk

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

 



Hi Gandalf and Sage,

Many thanks! Will try this and share the outcome.

Cheers.


On Fri, May 9, 2014 at 12:55 AM, Gandalf Corvotempesta <
gandalf.corvotempesta at gmail.com> wrote:

> 2014-05-08 18:43 GMT+02:00 Indra Pramana <indra at sg.or.id>:
> > Since we don't use ceph.conf to indicate the data and journal paths, how
> can
> > I recreate the journal partitions?
>
> 1. Dump the partition scheme:
> sgdisk --backup=/tmp/journal_table /dev/sdd
>
> 2. Replace the journal disk device
>
> 3. Restore the old partition scheme:
> sgdisk --restore-backup=/tmp/journal_table /dev/sdd
>
> 4. Run mkjournal for each affected OSDs:
>
> ceph-osd -i 1 --mkjournal
> ceph-osd -i 4 --mkjournal
> ceph-osd -i 6 --mkjournal
>
> (1, 4 and 6 are OSD id)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140509/23120ffc/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux