Re: cephfs mount /etc/fstab

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

 



Hi Christian,

thank you. I found _netdev option by myself. I was a little bit confused because in the Ceph offical documentation there is no hint that you should use _netdev.

A last question. I have 3 nodes with 9 OSD:

[root@linsrv001 ~]# ceph osd tree
ID WEIGHT  TYPE NAME          UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 0.13129 root default
-2 0.04376     host linsrv002
 2 0.01459         osd.2           up  1.00000          1.00000
 3 0.01459         osd.3           up  1.00000          1.00000
 4 0.01459         osd.4           up  1.00000          1.00000
-3 0.04376     host linsrv003
 5 0.01459         osd.5           up  1.00000          1.00000
 6 0.01459         osd.6           up  1.00000          1.00000
 7 0.01459         osd.7           up  1.00000          1.00000
-4 0.04376     host linsrv001
 8 0.01459         osd.8           up  1.00000          1.00000
 9 0.01459         osd.9           up  1.00000          1.00000
10 0.01459         osd.10          up  1.00000          1.00000

My pool has configured a replicated size of 3. If I write a file with 1GB. Does it mean the data is on 3 OSDs?

Have a nice sunday.

Regards - Willi

Am 26.06.16 um 10:30 schrieb Christian Balzer:
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



_______________________________________________
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