Re: Journal size

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

 



Indeed, thanks! Sébastien, care to update your helpful blog post?

On Mar 27, 2013, at 10:04 AM, Gregory Farnum <greg@xxxxxxxxxxx> wrote:

> 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 <lists@xxxxxxxxxxxx> 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 <nrg3tik@xxxxxxxxx> 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.chen@xxxxxxxxx>
>>> Are you using a partition as journal?
>>> 
>>> 
>>> 
>>> From: ceph-users-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Aleksey Samarin
>>> Sent: 2013年3月26日 20:45
>>> To: ceph-users@xxxxxxxx
>>> Subject:  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@xxxxxxxxxxxxxx
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> 
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@xxxxxxxxxxxxxx
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux