CephFS mounting error

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

 




Sent from my iPhone 5S



> On Sep 12, 2014, at 8:01 PM, Erick Ocrospoma <zipper1790 at gmail.com> wrote:
> 
> 
> 
>> On 12 September 2014 21:16, JIten Shah <jshah2005 at me.com> wrote:
>> Here's an example:
>> 
>> sudo mount -t ceph 192.168.0.1:6789:/ /mnt/mycephfs -o name=admin,secret=AQATSKdNGBnwLhAAnNDKnH65FmVKpXZJVasUeQ==
>> 
>> Sent from my iPhone 5S
>> 
>> 
>> 
>>> On Sep 12, 2014, at 7:14 PM, JIten Shah <jshah2005 at me.com> wrote:
>>> 
>>> Yes. It has to be the  name of the MON server. If there are more than one MON servers, they all need to be listed.  
>>> 
>>> --Jiten
>>> 
>>> Sent from my iPhone 5S
>>> 
>>> 
>>> 
>>>> On Sep 12, 2014, at 6:44 PM, Jean-Charles LOPEZ <jc.lopez at inktank.com> wrote:
>>>> 
>>>> Hi Erick,
>>>> 
>>>> the address to use in the mount syntax is the address of your MON node, not the one of the MDS node.
>>>> 
>>>> Or may be you have deployed both a MON and an MDS on ceph01?
> Omg, this is true, I was a complete silly boy :). It worked. Now I can see a volume with the sum of the / of each mon server, (30GBx3=90), is that correct? 

It should be the sum of all the OSDs not the sum of MON's unless your MON and OSD's are same.  


> 
> root at cephClient:~# mount -t ceph ceph02:/ /mnt -o name=admin,secretfile=/root/ceph/admin.key
> root at cephClient:~# df -h
> Filesystem        Size  Used Avail Use% Mounted on
> /dev/vda1          20G  2.1G   17G  12% /
> none              4.0K     0  4.0K   0% /sys/fs/cgroup
> udev              235M  4.0K  235M   1% /dev
> tmpfs              50M  332K   49M   1% /run
> none              5.0M     0  5.0M   0% /run/lock
> none              246M     0  246M   0% /run/shm
> none              100M     0  100M   0% /run/user
> 104.131.25.161:/   89G   27G   62G  30% /mnt
> 
> I also created one rbd device on the mds server, is it mountable through network? I just mounted the device on the mds server itself.
>  
>>>> 
>>>> JC
>>>> 
>>>> 
>>>> 
>>>>> On Sep 12, 2014, at 18:41, Erick Ocrospoma <zipper1790 at gmail.com> wrote:
>>>>> 
>>>>> 
>>>>> 
>>>>> On 12 September 2014 20:32, JIten Shah <jshah2005 at me.com> wrote:
>>>>> What does your mount command look like ?
>>>>> 
>>>>> 
>>>>> mount -t ceph ceph01:/mnt /mnt -o name=admin,secretfile=/root/ceph/admin.key
>>>>> 
>>>>> Where ceph01 is my mds server.
>>>>> 
>>>>> 
>>>>> Sent from my iPhone 5S
>>>>> 
>>>>> 
>>>>> 
>>>>>> On Sep 12, 2014, at 4:56 PM, Erick Ocrospoma <zipper1790 at gmail.com> wrote:
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I'm n00b in the ceph world, so here I go. I was following this tutorials [1][2] (in case you need to know if I missed something), while trying to mount a block from an isolated machine using cehpfs I got this error (actually following what's there in [2]).
>>>>>> 
>>>>>> mount error 5 = Input/output error
>>>>>> 
>>>>>> I've searched on the internet  but with no success. No idea what's going on, and logs don't seem to have any clue of this error. My setup consists on 1 mds server and 3 OSD servers, I perform all test with the root user, I've seen on other tutorials (and on this aswell) using an specificar user, don't if that could have impacted on the whole setup.
>>>>>> 
>>>>>> 
>>>>>> [1] http://www.server-world.info/en/note?os=Ubuntu_14.04&p=ceph
>>>>>> [2] http://www.server-world.info/en/note?os=Ubuntu_14.04&p=ceph&f=2
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> ~ Happy install !
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Erick.
>>>>>> 
>>>>>> ---
>>>>>> 
>>>>>> IRC     :   zerick
>>>>>> About :  http://about.me/zerick
>>>>>> Linux User ID :  549567
>>>>>> _______________________________________________
>>>>>> ceph-users mailing list
>>>>>> ceph-users at lists.ceph.com
>>>>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> 
>>>>> 
>>>>> 
>>>>> ~ Happy install !
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Erick.
>>>>> 
>>>>> ---
>>>>> 
>>>>> IRC     :   zerick
>>>>> About :  http://about.me/zerick
>>>>> Linux User ID :  549567
>>>>> _______________________________________________
>>>>> ceph-users mailing list
>>>>> ceph-users at lists.ceph.com
>>>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>> 
>>>> _______________________________________________
>>>> ceph-users mailing list
>>>> ceph-users at lists.ceph.com
>>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>> _______________________________________________
>>> ceph-users mailing list
>>> ceph-users at lists.ceph.com
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> 
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users at lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
> 
> -- 
> 
> 
> 
> ~ Happy install !
> 
> 
> 
> 
> 
> Erick.
> 
> ---
> 
> IRC     :   zerick
> About :  http://about.me/zerick
> Linux User ID :  549567
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140912/ed95fcb1/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux