Also, using the init.d framework seams to fail.

piers@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@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 <[email protected]>
> Subject: Troubleshooting down OSDs: Invalid command: ceph osd start osd.1 
> Date: 19 September 2014 4:06:31 pm AEST
> To: "[email protected]" <[email protected]>
> 
> 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@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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to