From mboxrd@z Thu Jan 1 00:00:00 1970 From: femi anjorin Subject: Re: CEPHFS mount error !!! Date: Thu, 7 Feb 2013 12:05:24 +0100 Message-ID: References: <5111FE64.7050909@inktank.com> <51120518.7000105@mermaidconsulting.dk> <51124467.10403@conversis.de> <511276DB.3010101@bmrb.wisc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-qe0-f51.google.com ([209.85.128.51]:56087 "EHLO mail-qe0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757345Ab3BGLFZ (ORCPT ); Thu, 7 Feb 2013 06:05:25 -0500 Received: by mail-qe0-f51.google.com with SMTP id 6so1103026qea.38 for ; Thu, 07 Feb 2013 03:05:24 -0800 (PST) In-Reply-To: <511276DB.3010101@bmrb.wisc.edu> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: ceph-devel@vger.kernel.org Hi ... I am now testing cephfs on an ubuntu client before going back to centos. A quick question about this command: mount -t ceph 192.168.0.1:6789:/ /mnt/mycephfs -o name=admin,secretfile=/etc/ceph/admin.secret ? mount -t ceph 192.168.0.1:6789:/ /mnt/mycephfs -o name=ceph,secretfile=/etc/ceph/ceph.keyring ? Does it need admin.secret or can i use ceph.keyring to mount with cephfs file system? Just a note: At the initial setup of the cluster i used: mkcephfs -c /etc/ceph/ceph.conf --mkfs -a -k /etc/ceph/ceph.keyring. So i only have ceph.keyring NOT admin.secret .... if i do: #mount -t ceph 172.16.0.25:6789:/ /mnt/mycephfs mount error 22 = Invalid argument #dmesg [ 7182.027665] libceph: client0 fsid 31c4d83e-cb0a-4fed-ab6f-581e8d5356f5 [ 7182.027715] libceph: no secret set (for auth_x protocol) [ 7182.027719] libceph: error -22 on auth protocol 2 init #mount -t ceph 172.16.0.25:6789:/ /mnt/mycephfs -o name=ceph,secretfile=/etc/ceph/ceph.keyring secret is not valid base64: Invalid argument. adding ceph secret key to kernel failed: Invalid argument. failed to parse ceph_options #dmesg [ 7639.377337] libceph: client0 fsid 31c4d83e-cb0a-4fed-ab6f-581e8d5356f5 [ 7639.378047] libceph: auth method 'x' error -1 Regards, Femi On Wed, Feb 6, 2013 at 4:29 PM, Dimitri Maziuk wrote: > On 2/6/2013 5:54 AM, Dennis Jacobfeuerborn wrote: > ... > >>> To mount cephfs like that you need to have kernel support. As the Linux >>> kernel on CentOS 6.3 is version 2.6.32 and Ceph support wasn't added >>> until >>> 2.6.34, you need to compile your own kernel. >>> >> >> The better alternative is probably to install a kernel from >> http://elrepo.org/tiki/kernel-lt . "lt" stand for "long term" and should >> be >> fairly stable and "ml" is "mainline" which is even more current but >> because >> of that not quite as stable (currently 3.7.6). > > > I had problems booting ml on some/most (dep. on the version) our machines, > plus it's a pain to track: there's a new one every day. > > I do have lt running without problems and mounting cephfs, however, I > haven't gotten around to the actual ceph testing on it yet so I can't say > anything about ceph client's performance/stability on it. ("lt" is 3.0, as > I > understand it doesn't have the latest and greatest ceph module(?)) > > Dimitri > > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html