Fwd: Troubleshooting down OSDs: Invalid command: ceph osd start osd.1

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

 



What works for me on dumpling (v0.67.10) on debian is:

/etc/init.d/ceph start osd.1
or
service ceph start osd.1

Both work for me. Looks like something isn't configured right?

-Christopher

On Fri, Sep 19, 2014 at 8:10 AM, Piers Dawson-Damer <piers at mm.st> wrote:

> Also, using the init.d framework seams to fail.
>
> piers at sol:/etc/ceph$ sudo service ceph start osd.1
> /etc/init.d/ceph: osd.1 not found (/etc/ceph/ceph.conf defines ,
> /var/lib/ceph defines )
>
> The disks are mounted
>
> piers at sol:~$ cat /etc/mtab | sort
> cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
> devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
> /dev/sdc1 /var/lib/ceph/osd/ceph-16 xfs rw,noatime 0 0
> /dev/sdd1 /var/lib/ceph/osd/ceph-17 xfs rw,noatime 0 0
> /dev/sde1 /var/lib/ceph/osd/ceph-0 xfs rw,noatime 0 0
> /dev/sdf1 /var/lib/ceph/osd/ceph-1 xfs rw,noatime 0 0
> /dev/sdg1 /var/lib/ceph/osd/ceph-2 xfs rw,noatime 0 0
> /dev/sdh1 /var/lib/ceph/osd/ceph-3 xfs rw,noatime 0 0
> /dev/sdi1 /var/lib/ceph/osd/ceph-4 xfs rw,noatime 0 0
> /dev/sdj1 /var/lib/ceph/osd/ceph-5 xfs rw,noatime 0 0
> /dev/sdk1 /var/lib/ceph/osd/ceph-6 xfs rw,noatime 0 0
> /dev/sdl1 /var/lib/ceph/osd/ceph-7 xfs rw,noatime 0 0
> /dev/sdm1 /var/lib/ceph/osd/ceph-8 xfs rw,noatime 0 0
> /dev/sdn1 /var/lib/ceph/osd/ceph-9 xfs rw,noatime 0 0
> /dev/sdo1 /var/lib/ceph/osd/ceph-10 xfs rw,noatime 0 0
> /dev/sdp1 /var/lib/ceph/osd/ceph-11 xfs rw,noatime 0 0
> /dev/sdq1 /var/lib/ceph/osd/ceph-12 xfs rw,noatime 0 0
> /dev/sdr1 /var/lib/ceph/osd/ceph-13 xfs rw,noatime 0 0
> /dev/sds1 /var/lib/ceph/osd/ceph-14 xfs rw,noatime 0 0
> /dev/sdt1 /var/lib/ceph/osd/ceph-15 xfs rw,noatime 0 0
> ...
>
> Thanks in advance,
>
> piers
>
>
> Begin forwarded message:
>
> *From: *Piers Dawson-Damer <piers at mm.st>
> *Subject: **Troubleshooting down OSDs: Invalid command: ceph osd start
> osd.1 *
> *Date: *19 September 2014 4:06:31 pm AEST
> *To: *"ceph-users at ceph.com" <ceph-users at ceph.com>
>
> Has the command for manually starting and stopping OSDs changed?
>
> The documentation for troubleshooting OSDs  (
> http://docs.ceph.com/docs/master/rados/troubleshooting/troubleshooting-osd/)
> mentions restarting OSDs with the command;
>
> ceph osd start osd.{num}
>
> Yet I find, using Firefly 0.80.5
>
> piers at sol:/etc/ceph$ ceph osd start osd.1
> no valid command found; 10 closest matches:
> osd tier remove <poolname> <poolname>
> osd tier cache-mode <poolname> none|writeback|forward|readonly
> osd thrash <int[0-]>
> osd tier add <poolname> <poolname> {--force-nonempty}
> osd pool stats {<name>}
> osd reweight-by-utilization {<int[100-]>}
> osd pool set <poolname>
> size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hashpspool|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|debug_fake_ec_pool|target_max_bytes|target_max_objects|cache_target_dirty_ratio|cache_target_full_ratio|cache_min_flush_age|cache_min_evict_age|auid
> <val> {--yes-i-really-mean-it}
> osd pool set-quota <poolname> max_objects|max_bytes <val>
> osd pool rename <poolname> <poolname>
> osd pool get <poolname>
> size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid
> Error EINVAL: invalid command
>
>
>
>
> _______________________________________________
> 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/20140919/8f76ef4f/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