Re: bluestore OSD did not start at system-boot

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

 



Hey Ansgar,

we have a similar "problem": in our case all servers are wiped on
reboot, as they boot their operating system from the network into
initramfs.

While the OS configuration is done with cdist [0], we consider ceph osds
more dynamic data and just re-initialise all osds on boot using the
ungleich-tools [1] suite, which we created to work with ceph clusters
mostly.

Especially [2] might be of interest for you.

HTH,

Nico

[0] https://www.nico.schottelius.org/software/cdist/
[1] https://github.com/ungleich/ungleich-tools
[2] https://github.com/ungleich/ungleich-tools/blob/master/ceph-osd-activate-all



Ansgar Jazdzewski <a.jazdzewski@xxxxxxxxxxxxxx> writes:

> hi folks,
>
> i just figured out that my ODS's did not start because the filsystem
> is not mounted.
>
> So i wrote a script to Hack my way around it
> #####
> #! /usr/bin/env bash
>
> DATA=( $(ceph-volume lvm list | grep -e 'osd id\|osd fsid' | awk
> '{print $3}' | tr '\n' ' ') )
>
> OSDS=$(( ${#DATA[@]}/2 ))
>
> for OSD in $(seq 0 $(($OSDS-1))); do
>  ceph-volume lvm activate "${DATA[( $OSD*2 )]}" "${DATA[( $OSD*2+1 )]}"
> done
> #####
>
> i'am sure that this is not the way it should be!? so any help i
> welcome to figure out why my BlueStore-OSD is not mounted at
> boot-time.
>
> Thanks,
> Ansgar
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


--
Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux