Re: cephfs mount /etc/fstab

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

 



Hello,

On Sun, 26 Jun 2016 09:33:10 +0200 Willi Fehler wrote:

> Hello,
> 
> I found an issue. I've added a ceph mount to my /etc/fstab. But when I 
> boot my system it hangs:
> 
> libceph: connect 192.168.0.5:6789 error -101
> 
> After the system is booted I can successfully run mount -a.
> 

So what does that tell you?
That Ceph can't connect during boot, because... there's no network yet.

This is what the "_netdev" mount option is for.

Christian

> Regards - Willi
> 
> 
> Am 25.06.16 um 11:52 schrieb Willi Fehler:
> > Hello,
> >
> > fixed it by myself. The secret was not in Base64. But I have a 
> > question. Should I deploy my clients with ceph-deploy which will give 
> > me a later version of libceph which also supports records
> > in /etc/hosts?
> >
> > Regards - Willi
> >
> > Am 25.06.16 um 10:42 schrieb Willi Fehler:
> >> Hello,
> >>
> >> I hope somebody could help. I'm trying to mount cephfs on CentOS 7 in 
> >> /etc/fstab.
> >>
> >> 192.168.0.5:/ /mnt/cephfs ceph 
> >> noatime,dirstat,name=admin,secret=mykey 0 0
> >>
> >> Which is giving me.
> >>
> >> [root@linsrv004 ~]# mount -a
> >> mount: wrong fs type, bad option, bad superblock on 192.168.0.5:/,
> >>        missing codepage or helper program, or other error
> >>
> >>        In some cases useful info is found in syslog - try
> >>        dmesg | tail or so.
> >>
> >> I haven't installed ceph or ceph-common.
> >> The following command works:
> >>
> >> mount -t ceph -o name=admin,secret=mykey 
> >> 192.168.0.5,192.168.0.6,192.168.0.7:/ /mnt/cephfs
> >>
> >> Many thanks & Regards,
> >> Willi
> >> _______________________________________________
> >> ceph-users mailing list
> >> ceph-users@xxxxxxxxxxxxxx
> >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@xxxxxxxxxxxxxx
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 


-- 
Christian Balzer        Network/Systems Engineer                
chibi@xxxxxxx   	Global OnLine Japan/Rakuten Communications
http://www.gol.com/
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



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


  Powered by Linux