Re: mkcephfs read_conf: failed to open 'ceph.conf': error 2:

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

 



On Thu, 9 Jun 2011, biyan chen wrote:

> In v0.29 released
> 
> I create cluster
> 
> mkcephfs -c /etc/ceph/ceph.conf --allhosts --mkbtrfs -k /etc/ceph/keyring.bin
> 
> Error message :
> 
> Building generic osdmap /tmp/mkcephfs.HIn0VHZeWw/conf
>  highest numbered osd in /tmp/mkcephfs.HIn0VHZeWw/conf is osd.1
>  num osd = 2
> 2011-06-09 13:38:19.392016 7fddd3b32720 Errors while parsing config file!
> 2011-06-09 13:38:19.392122 7fddd3b32720 read_conf: failed to open
> 'ceph.conf': error 2: No such file or directory
> /usr/local/bin/osdmaptool: osdmap file '/tmp/mkcephfs.HIn0VHZeWw/osdmap'
> /usr/local/bin/osdmaptool: writing epoch 1 to /tmp/mkcephfs.HIn0VHZeWw/osdmap
> Generating admin key at /tmp/mkcephfs.HIn0VHZeWw/keyring.admin
> creating /tmp/mkcephfs.HIn0VHZeWw/keyring.admin
> 
> Open files mkcephfs in /etc/init.d/
> 
> In the first 342 line
> "	$BINDIR/osdmaptool --createsimple $numosd $dir/osdmap -c ceph.conf "
> 
> Why is ceph. confg rather than $ceph.conf ? When modifying after, can
> build a cluster of success

I pushed a fix for this to the stable branch, commit
7a5201e4b4a1f3fa97ff24ea10afd3815bfa1c8b.

Thanks!
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux