Re: Journal size

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

 



I just edited the post, I opted for the 'noout' option at the end. It's the one that makes the most sense to me.

––––
Sébastien Han
Cloud Engineer

"Always give 100%. Unless you're giving blood."









PHONE : +33 (0)1 49 70 99 72 – MOBILE : +33 (0)6 52 84 44 70
EMAIL : sebastien.han@xxxxxxxxxxxx – SKYPE : han.sbastien
ADDRESS : 10, rue de la Victoire – 75009 Paris
WEB : www.enovance.com – TWITTER : @enovance

On Mar 27, 2013, at 5:32 PM, Sebastien Han <sebastien.han@xxxxxxxxxxxx> wrote:

Yes I will :-), thank you for pointing out this to me.

––––
Sébastien Han
Cloud Engineer

"Always give 100%. Unless you're giving blood."



<image.png>





PHONE : +33 (0)1 49 70 99 72 – MOBILE : +33 (0)6 52 84 44 70
EMAIL : sebastien.han@xxxxxxxxxxxx – SKYPE : han.sbastien
ADDRESS : 10, rue de la Victoire – 75009 Paris
WEB : www.enovance.com – TWITTER : @enovance

On Mar 27, 2013, at 5:10 PM, John Nielsen <lists@xxxxxxxxxxxx> wrote:

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

_______________________________________________
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