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 <
[email protected]> wrote:

> 2014-05-08 18:43 GMT+02:00 Indra Pramana <[email protected]>:
> > 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)
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to