[Ceph-community] working ceph.conf file?

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

 



One thing to add, I had a similar issue with manually created OSD?s not coming back up with a reboot, they were being mounted but not started
To resolve this I had to create a file on each OSD called sysvinit

Regards,
Matt

On 9 Aug 2014, at 7:57 am, Andrew Woodward <xarses at gmail.com> wrote:

> Dan,
> 
> It is not necessary to specify the OSD data in ceph.conf anymore. Ceph has two auto-start functions besides this method.
> 
> udev rules:
> ceph uses a udev rule to scan and attempt to mount (and activate) partitions with specific GUID set for the partition typecode
> sgdisk --typecode=<<partation number>>:<<GUID>> /dev/<<disk>>
> 
> the exact GUID's to use can be found https://github.com/ceph/ceph/blob/master/udev/95-ceph-osd.rules. These are set automaticly using ceph-disk (or ceph-deploy) if it creates the partition from an empty disk, in the case that it does not, you have to set them by hand, all be it should probably do this, or at least tell you should do this.
> 
> ceph init script:
> the ceph init script will scan /var/lib/ceph/osd (or the otherwise configured location) for <cluster name>-<id>  (default cluster name is ceph) folders and attempt to start the osd service for each of them if they look correct
> 
> lastly, and possibly the most annoying way is that you can configure each OSD and path in ceph.conf, I don't have any good examples as the two prior are more flexible / require less config.
> 
> 
> 
> 
> On Fri, Aug 8, 2014 at 8:53 AM, O'Reilly, Dan <Daniel.OReilly at dish.com> wrote:
> Does anybody have a good sample ceph.conf file I can use for reference?  I?m having a problem where OSD?s won?t come back up after a sysem reboot.
> 
>  
> 
> Dan O'Reilly
> 
> UNIX Systems Administration
> 
> <image001.jpg>
> 
> 9601 S. Meridian Blvd.
> 
> Englewood, CO 80112
> 
> 720-514-6293
> 
>  
> 
>  
> 
> 
> _______________________________________________
> Ceph-community mailing list
> Ceph-community at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-community-ceph.com
> 
> 
> 
> 
> -- 
> Andrew
> Mirantis
> Ceph community
> _______________________________________________
> 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/20140809/0858c963/attachment.htm>


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


  Powered by Linux