We have had good luck with letting udev do it's thing on CentOS7.

On Wed, Feb 18, 2015 at 7:46 PM, Anthony Alba <ascanio.al...@gmail.com> wrote:
> Hi Cephers,
>
> What is your "best practice" for starting up OSDs?
>
> I am trying to determine the most robust technique on CentOS 7 where I
> have too much choice:
>
> udev/gpt/uuid or /etc/init.d/ceph or /etc/systemd/system/ceph-osd@X
>
> 1. Use udev/gpt/UUID: no OSD  sections in  /etc/ceph/mycluster.conf or
> premounts in /etc/fstab.
> Let udev + ceph-disk-activate do its magic.
>
> 2. Use /etc/init.d/ceph start osd or systemctl start ceph-osd@N
> a. do you change partition UUID so no udev kicks in?
> b. do you keep  [osd.N] sections in /etc/ceph/mycluster.conf
> c. premount all journals/OSDs in /etc/fstab?
>
> The problem with this approach, though very explicit and robust, is
> that it is is hard to maintain
> /etc/fstab on the OSD hosts.
>
> - Anthony
> _______________________________________________
> 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