Re: How can I mount my Ceph cluster?

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

 



Some complement to the question.

root@deltamaster-ceph-1:~# mount -t ceph deltamaster-ceph-1:/ /mnt/ceph
mount error 5 = Input/output error
root@deltamaster-ceph-1:~# mount -t ceph 127.0.0.1:/ /mnt/ceph
mount error 22 = Invalid argument

root@deltamaster-ceph-1:~# dmesg
[11418.006004] libceph: mon0 127.0.1.1:6789 connection failed
[11428.000875] libceph: mon0 127.0.1.1:6789 connection failed
[11438.032138] libceph: mon0 127.0.1.1:6789 connection failed
[11448.032778] libceph: mon0 127.0.1.1:6789 connection failed
[11458.065876] libceph: mon0 127.0.1.1:6789 connection failed
[11468.064890] libceph: mon0 127.0.1.1:6789 connection failed
[11503.432922] libceph: client0 fsid 543def81-c4a6-4a5b-a533-f79b54588c76
[11503.433580] libceph: no secret set (for auth_x protocol)
[11503.433585] libceph: error -22 on auth protocol 2 init


On Thu, Mar 22, 2012 at 10:39 AM, 胡瀚森 <softrank.net@xxxxxxxxx> wrote:
> I've written my config file at follow:
>
> [global]
>        auth supported = cephx
>        keyring = /etc/ceph/$name.keyring
>
> [mon]
>        mon data = /srv/mon.$id
>
> [mds]
>
> [osd]
>        osd data = /srv/osd.$id
>        osd journal = /srv/osd.$id.journal
>        osd journal size = 1000
>
> [mon.a]
>        host = deltamaster-ceph-1
>        mon addr = 127.0.0.1:6789
>
> [osd.0]
>        host = deltamaster-ceph-1
>        btrfs devs = /dev/sda6
>
> ...And start ceph
>
> === mon.a ===
> mon.a: running...
> === osd.0 ===
> osd.0: running...
> Filesystem     1K-blocks    Used Available Use% Mounted on
> /dev/sda7       15790076 4157688  10840172  28% /
> udev              505100       4    505096   1% /dev
> tmpfs             204960     828    204132   1% /run
> none                5120       0      5120   0% /run/lock
> none              512400     200    512200   1% /run/shm
> /dev/sda1         192534   33580    149226  19% /boot
> /dev/sda6        2928640    1256   2607104   1% /srv/osd.0
> kernel/fs/ceph/ceph.ko
> kernel/net/ceph/libceph.ko
>
> Is it correct to type "mount -t ceph 127.0.0.1:/ /mnt/ceph"?
> Why it tells me "source mount path was not specified"?
--
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