This should actually be "down", not "out". Out will trigger a data migration. :)
-Greg

Software Engineer #42 @ http://inktank.com | http://ceph.com


On Wed, Mar 27, 2013 at 8:36 AM, John Nielsen <li...@jnielsen.net> wrote:
> Sébastien Han actually covers this on his blog:
>
> http://www.sebastien-han.fr/blog/2012/08/17/ceph-storage-node-maintenance/
>
> His use case is moving from an embedded journal to one on an SSD but the 
> steps can be used to move/recreate the journal for any reason:
> Mark the OSD "out"
> Stop the OSD daemon
> Run "ceph-osd -i N --flush-journal", replacing N with the ID of the OSD
> Get your new journal location ready if it isn't
> Update ceph.conf with the new journal settings
> Run "ceph-osd -i N --mkjournal", again replacing N with the ID of the OSD
> Start the OSD daemon
> Mark the OSD "in"
>
> I used the procedure above to migrate 16 OSD's on 4 hosts from file-based 
> journals to partition-based with no downtime or data loss. (Just be aware of 
> your crush rules and only have one OSD, host, etc. down at a time.)
>
> JN
>
> On Mar 27, 2013, at 7:03 AM, Aleksey Samarin <nrg3...@gmail.com> wrote:
>
>> Well, after few tests, i can't increase size of journal. I think size of 
>> journal set only when osd create. So for change journal size u need to 
>> delete osd and create with new journal.
>>
>>
>> 2013/3/26 Chen, Xiaoxi <xiaoxi.c...@intel.com>
>> Are you using a partition as journal?
>>
>>
>>
>> From: ceph-users-boun...@lists.ceph.com 
>> [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Aleksey Samarin
>> Sent: 2013年3月26日 20:45
>> To: ceph-us...@ceph.com
>> Subject: [ceph-users] Journal size
>>
>>
>>
>> Hello everyone!
>>
>> I have question about journal. Ceph cluster is already working with 1gb 
>> journal per osd. I wanna to increase size of journal, is this possible?
>> If yes, how i can do this?
>>
>> All the best, Alex!
>>
>>
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to