Re: mkcephfs giving problems

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

 



Hi,

As Jantje said, it seems you are not running as root.

But I do have some recommendations for your config:

On Thu, 2011-09-15 at 06:14 +0000, Atish Kathpal wrote:
> [global]
>         auth supported = cephx
>        keyring = /etc/ceph/ceph.keyring
> 
> [mon]
>         mon data = /ceph_data/mon.0
> 

This section is globally, so if you'd add more monitors, they would all
get /ceph_data/mon.0 as data dir.

I'd do:

[mon]
    mon data = /ceph_data/mon.$id

> [mds]
> 
> [osd]
>         osd data = /ceph_data/osd.0
>         osd journal = /ceph_data/osd.0.journal
>         osd journal size = 1000

Same goes here for your OSD, do:

  osd data = /ceph_data/osd.$id
  osd journal = /ceph_data/osd.$id.journal

> 
> [mon.0]
>         host = atish-virtual-machine
>         mon addr = 10.72.147.207:6789

Monitors should not be named "0", "1", etc, but more like:
* mon.alpha
* mon.beta
* mon.charlie

> 
> [osd.0]
>         host = atish-virtual-machine
> 
> [mds.0]
>         host = atish-virtual-machine


And you have only one OSD, is that correct?

Wido

--
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