Replace journals disk

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

 



Hi Gandalf and all,

FYI, I checked sgdisk's man page and it seems that the correct command to
restore should be:

sgdisk --load-backup=/tmp/journal_table /dev/sdg

Will try this next weekend and update again.

Thank you.




On Sat, May 10, 2014 at 10:58 PM, Indra Pramana <indra at sg.or.id> wrote:

> Hi Gandalf,
>
> I tried to dump journal partition scheme from the old SSD:
>
> sgdisk --backup=/tmp/journal_table /dev/sdg
>
> and then restore the journal partition scheme to the new SSD after it's
> replaced:
>
> sgdisk --restore-backup=/tmp/journal_table /dev/sdg
>
> and it doesn't work. :( parted -l doesn't show the correct partition table
> after restore, and mkjournal command failed.
>
> Is it because the new SSD is of different model and size? The old SSD is a
> Seagate 100GB and the new SSD is a Crucial 256GB.
>
> Looking forward to your reply, thank you.
>
> Cheers.
>
>
>
> On Fri, May 9, 2014 at 9:58 PM, Gandalf Corvotempesta <
> gandalf.corvotempesta at gmail.com> wrote:
>
>> 2014-05-09 15:55 GMT+02:00 Sage Weil <sage at inktank.com>:
>> > This looks correct to me!
>>
>> Some command to automate this in ceph would be nice.
>> For example, skipping the "mkjournal" step:
>>
>> ceph-osd -i 30 --mkjournal
>> ceph-osd -i 31 --mkjournal
>>
>> ceph should be smarth enough to automatically make journals if missing
>> so that a single "/etc/init.d/ceph start osd" would be enough
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140512/f0619d45/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