Replace journals disk

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

 



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)


[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