Re: [ceph-users] ceph mount error

2015-06-11 Thread Gregory Farnum
You probably didn't turn on an MDS, as that isn't set up by default
anymore. I believe the docs tell you how to do that somewhere else.

If that's not it, please provide the output of ceph -s.
-Greg

On Sun, Jun 7, 2015 at 8:14 AM, 张忠波 zhangzhongbo2...@163.com wrote:

 Hi ,
 My ceph health is OK ,  And now , I want to  build  a  Filesystem , refer
 to  the CEPH FS QUICK START guide .
 http://ceph.com/docs/master/start/quick-cephfs/
 however , I got a error when i use the command ,  mount -t ceph
 192.168.1.105:6789:/ /mnt/mycephfs .  error :   mount error 22 = Invalid
 argument
 I refer to munual , and now , I don't know how to solve it .
 I am looking forward to your reply !




 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] ceph mount error

2015-06-11 Thread Michael Kuriger
1) set up mds server
ceph-deploy mds --overwrite-conf create hostname of mds server

2) create filesystem
ceph osd pool create cephfs_data 128
ceph osd pool create cephfs_metadata 16
ceph fs new cephfs cephfs_metadata cephfs_data
ceph fs ls
ceph mds stat

3) mount it!


From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of ???
Sent: Sunday, June 07, 2015 8:15 AM
To: ceph-us...@ceph.com; community
Cc: xuzh@gmail.com
Subject: [ceph-users] ceph mount error

Hi ,
My ceph health is OK ,  And now , I want to  build  a  Filesystem , refer to  
the CEPH FS QUICK START guide .
http://ceph.com/docs/master/start/quick-cephfs/https://urldefense.proofpoint.com/v2/url?u=http-3A__ceph.com_docs_master_start_quick-2Dcephfs_d=AwMGbgc=lXkdEK1PC7UK9oKA-BBSI8p1AamzLOSncm6Vfn0C_UQr=CSYA9OS6Qd7fQySI2LDvlQm=q4j_7A_3Avo64MLd_mNa6jWl9XuLv1sx5SHvl58A0Vos=5Ttzin1olsWLGMMcZsINYfk82p7_jiBGDejDXUqUQvQe=
however , I got a error when i use the command ,  mount -t ceph 
192.168.1.105:6789:/ /mnt/mycephfs .  error :   mount error 22 = Invalid 
argument
I refer to munual , and now , I don't know how to solve it .
I am looking forward to your reply !

[cid:image001.png@01D0A433.D303BFB0]

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] ceph mount error

2015-06-11 Thread Lincoln Bryant
Hi,

Are you using cephx? If so, does your client have the appropriate key on it? It 
looks like you have an mds set up and running from your screenshot.

Try mounting it like so:

mount -t ceph -o name=admin,secret=[your secret] 192.168.1.105:6789:/ 
/mnt/mycephfs 

--Lincoln

On Jun 7, 2015, at 10:14 AM, 张忠波 wrote:

 Hi ,
 My ceph health is OK ,  And now , I want to  build  a  Filesystem , refer to  
 the CEPH FS QUICK START guide .
 http://ceph.com/docs/master/start/quick-cephfs/
 however , I got a error when i use the command ,  mount -t ceph 
 192.168.1.105:6789:/ /mnt/mycephfs .  error :   mount error 22 = Invalid 
 argument 
 I refer to munual , and now , I don't know how to solve it . 
 I am looking forward to your reply !
 
 截图1.png
 
 
 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] ceph mount error

2015-06-11 Thread Drunkard Zhang
2015-06-12 2:00 GMT+08:00 Lincoln Bryant linco...@uchicago.edu:
 Hi,

 Are you using cephx? If so, does your client have the appropriate key on it?
 It looks like you have an mds set up and running from your screenshot.

 Try mounting it like so:

 mount -t ceph -o name=admin,secret=[your secret] 192.168.1.105:6789:/
 /mnt/mycephfs

This should be the solution,  you can get error detail from kernel
log, by dmesg.

 --Lincoln

 On Jun 7, 2015, at 10:14 AM, 张忠波 wrote:

 Hi ,
 My ceph health is OK ,  And now , I want to  build  a  Filesystem , refer to
 the CEPH FS QUICK START guide .
 http://ceph.com/docs/master/start/quick-cephfs/
 however , I got a error when i use the command ,  mount -t ceph
 192.168.1.105:6789:/ /mnt/mycephfs .  error :   mount error 22 = Invalid
 argument
 I refer to munual , and now , I don't know how to solve it .
 I am looking forward to your reply !

 截图1.png


 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com