Replace journals disk

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

 



Hi Craig and all,

I checked S?bastien Han's blog post, it seems that the way how the journal
was mounted is a bit different, is it because the article was based on
older version of Ceph?

====
$ sudo mount /dev/sdc /journal

$ ceph-osd -i 2 --mkjournal
2012-08-16 13:29:58.735095 7ff0c4b58780 -1 created new journal
/journal/journal for object store /srv/ceph/osd2

$ sudo service ceph start osd.2
=== osd.2 ===
Starting Ceph osd.2 on ceph03...
starting osd.2 at :/0 osd_data /srv/ceph/osd2 /journal/journal
====

>From what I can see, on all my OSD nodes in my Ceph cluster, the journal is
mounted on this folder (or file?) instead of /journal:

/var/lib/ceph/osd/ceph-X/journal

which in turns is a symbolic link to this file:

lrwxrwxrwx 1 root root 58 Apr  6 23:45 journal ->
/dev/disk/by-partuuid/3ff2c20c-6b58-41d3-9e7e-b3ec63c62c2f

which in turns is a symbolic link to the journal partition on the device:

lrwxrwxrwx 1 root root 10 May  3 23:48 3ff2c20c-6b58-41d3-9e7e-b3ec63c62c2f
-> ../../sdf1

I am using one SSD for journals for multiple OSDs within a node. Any advise
on the correct way how to mount and create the journal? Do I need to mount
first, or create first? Because I supposed that we need to mount to the
partition *after* the journal is created?

I am using latest stable version of Dumpling (v0.67.7).

Any advice is greatly appreciated.

Thank you.



On Wed, May 7, 2014 at 1:40 AM, Craig Lewis <clewis at centraldesktop.com>wrote:

>  On 5/6/14 03:34 , Gandalf Corvotempesta wrote:
>
> Hi to all,
> I would like to replace a disk used as journal (one partition for each OSD)
>
> Which is the safest method to do so?
> _______________________________________________
> ceph-users mailing listceph-users at lists.ceph.comhttp://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
> I haven't tried this yet, but I imagine that the process is similar to
> moving your journal from the spinning disk to an SSD.
>
> S?bastien Han had a blog post about this:
> http://www.sebastien-han.fr/blog/2012/08/17/ceph-storage-node-maintenance/
>
>
>
> --
>
>  *Craig Lewis*
>  Senior Systems Engineer
> Office +1.714.602.1309
> Email clewis at centraldesktop.com
>
>  *Central Desktop. Work together in ways you never thought possible.*
>  Connect with us   Website <http://www.centraldesktop.com/>  |  Twitter<http://www.twitter.com/centraldesktop> |
> Facebook <http://www.facebook.com/CentralDesktop>  |  LinkedIn<http://www.linkedin.com/groups?gid=147417> |
> Blog <http://cdblog.centraldesktop.com/>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140507/53e837b8/attachment.htm>


[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