Re: ceph 0.67, 0.67.1: ceph_init bug

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

 



On Sun, 18 Aug 2013, Mika?l Cluseau wrote:
> Hi,
> 
> troubles with ceph_init (after a test reboot)
> 
> # ceph_init restart osd
> # ceph_init restart osd.0
> /usr/lib/ceph/ceph_init.sh: osd.0 not found (/etc/ceph/ceph.conf defines
> mon.xxx , /var/lib/ceph defines mon.xxx)
> 1 # ceph-disk list
> [...]
> /dev/sdc :
>  /dev/sdc1 ceph data, prepared, cluster ceph, osd.0
> /dev/sdd :
>  /dev/sdd1 ceph data, prepared, cluster ceph, osd.1
> /dev/sde :
>  /dev/sde1 ceph data, prepared, cluster ceph, osd.2
> /dev/sdf :
>  /dev/sdf1 ceph data, prepared, cluster ceph, osd.3
> /dev/sdg :
>  /dev/sdg1 ceph data, prepared, cluster ceph, osd.4
> /dev/sdh :
>  /dev/sdh1 ceph data, prepared, cluster ceph, osd.5
> 
> I see at the end of ceph_init taht there's a ceph-disk activate-all, but it
> does nothing I can see:
> 
> # ceph_init start osd.0
> /usr/lib/ceph/ceph_init.sh: osd.0 not found (/etc/ceph/ceph.conf defines
> mon.xxx , /var/lib/ceph defines mon.xxx)
> 1 # ceph-disk activate-all
> # mount |grep ceph
> /dev/mapper/ssd1-ceph--mon on /var/lib/ceph/mon/ceph-xxx type ext4
> (rw,noatime,nodiratime)

The ceph-disk activate-all command is looking for partitions that are 
marked with the ceph type uuid.  Maybe the jouranls are missing?  What 
does 

 ceph-disk -v activate /dev/sdc1

say?  Or

 ceph-disk -v activate-all

Where does the 'journal' symlink in the ceph data partitions point to?

sage

_______________________________________________
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