Re: No auto-mount of OSDs after server reboot

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

 



I'm running Ubuntu 14.04 servers with Firefly and I don't have a sysvinit file, but I do have an upstart file.

"touch /var/lib/ceph/osd/ceph-XX/upstart" should be all you need to do.
That way, the OSD's should be mounted automatically on boot.

On 30 January 2015 at 10:25, Alexis KOALLA <alexis.koalla@xxxxxxxxxx> wrote:
Hi Lindsay and Daniel
Thanks for your replies.
Apologize for not specifying my LAB env details :
Here is the details:

OS: Ubuntu 14.04 LTS, Kernel 3.8.0-29-generic
Ceph version: Firefly 0.80.8
env: LAB

@Lindsay : I'm wonderring if putting the mount command in fstab is new to ceph or it is recommended since the beginning of ceph.
                  Anyway I plan to  copy-paste the mount commands from  /etc/mtab to /etc/fstab and I hope  the issue will  be fixed.

@Daniel:  I have checked in the top level of each OSDs but there is no file name "sysvinit" in the directory where the "whoami" file is located.
                Should I create it manually or there is way to auto-generate this file please.

Thanks for your help
Best and kindest regards

Alexis



Le 29/01/2015 15:11, Lindsay Mathieson a écrit :

On Thu, 29 Jan 2015 03:05:41 PM Alexis KOALLA wrote:
Hi,
Today we  encountered an issue in  our Ceph cluster in  LAB.
Issue: The servers that host the OSDs have rebooted and we have observed
that after the reboot there is no auto mount of OSD devices and we need
to manually performed the mount and then start the OSD as below:

1- [root@osd.0] mount /dev/sdb2 /var/lib/ceph/osd/ceph-0
2- [root@osd.0] start ceph-osd id=0

As far as I'm aware, ceph does not handle mounting of the base filesystem - its
up to you to create an fstab entry for it.

The osd should autostart, but it will of course fail if the filesystem is not
mounted.
_______________________________________________
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