Seas Wolfgang, Am 2013-10-02 09:01, schrieb Wolfgang Hennerbichler: > On 10/01/2013 05:08 PM, Jogi Hofmüller wrote:
>> Is this [1] outdated? If not, why are the links to chef-* not
>> working? Is chef-* still recommended/used?
>
> I believe this is a matter of taste. I can not say if this is
> outdated, but I prefer not to use chef but only ceph-deploy.
Ah, good. That's what I was thinking somehow.
> Others might have different opinions on that, but I am the
> old-fashioned guy who puts the stuff into his configuration file (like
> bobtail used to be).
> This works for me (ceph.conf):
>
> [osd.0]
> host = rd-c2
> devs = /dev/sdb
>
> [osd.1]
> host = rd-c2
> devs = /dev/sdc
>
> ...
>
> On startup ceph mounts the disk to /var/lib/ceph/osd/ceph-[OSD-Number]
> and works.
Actually that is what I expected. Thing is (just reproduced it) that my
OSDs won't start after rebooting the host. For example:
root@ceph-server1:~# service ceph start
=== osd.0 ===
No filesystem type defined!
This is the relevant part of the config:
[osd.0]
host = ceph-server1
devs = /dev/sdb
And now I see that ceph-deploy disk list run on the admin host tells me:
ceph@ceph-admin:~/mur-cluster$ ceph-deploy disk list ceph-server1
[ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo
[ceph_deploy.osd][INFO ] Distro info: Debian 7.1 wheezy
[ceph_deploy.osd][DEBUG ] Listing disks on ceph-server1...
[ceph-server1][INFO ] Running command: ceph-disk list
[ceph-server1][INFO ] /dev/sda :
[ceph-server1][INFO ] /dev/sda1 ceph data, prepared, unknown cluster
b134da22-a3dd-41cb-95c2-fb6a75af8c1f, osd.0, journal /dev/sda2
[ceph-server1][INFO ] /dev/sda2 ceph journal, for /dev/sda1
[ceph-server1][INFO ] /dev/sdb :
[ceph-server1][INFO ] /dev/sdb1 ceph data, prepared, unknown cluster
b134da22-a3dd-41cb-95c2-fb6a75af8c1f, osd.1, journal /dev/sdb2
[ceph-server1][INFO ] /dev/sdb2 ceph journal, for /dev/sdb1
Which completely fries my brain (unknown cluster
b134da22-a3dd-41cb-95c2-fb6a75af8c1f) ...
Any hint on what went wrong here? Is the unknown cluster the reason for
the unknown filesystem?
Cheers!
--
j.hofmüller
Optimism doesn't alter the laws of physics. - Subcommander T'Pol
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
