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.corvotempe...@gmail.com> wrote: > 2014-05-09 15:55 GMT+02:00 Sage Weil <s...@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 >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com