Re: Mounting ceph-fuse with fstab

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

 



On Jan 23, 2014, at 4:18 PM, Gregory Farnum <greg@xxxxxxxxxxx>
 wrote:

> On Wed, Jan 22, 2014 at 3:23 PM, Karol Kozubal <Karol.Kozubal@xxxxxxxxx> wrote:
>> Hi Everyone,
>> 
>> I have a few questions concerning mounting cephfs with ceph-fuse in fstab at
>> boot. I am currently successfully  mounting cephfs using ceph-fuse on 6
>> clients. I use the following command, where the ip is my mon address:
>> 
>>> ceph-fuse –m 192.168.0.2:6789 –r /shared/files /root/shared
>> 
>> This works correctly when I mount at run time. However I am running into
>> issues doing this at boot time through fstab with the following command, as
>> per the documentation on ceph.com I am passing cephfs root as a part of the
>> first argument in fstab:
>> 
>> id=admin,r=/shared/files  /root/shared  fuse.ceph defaults 0 0
>> 
>> Am I passing the argument correctly? And should I include the m argument as
>> well?
> 
> You aren't specifying a config file, nor a monitor address to mount.
> You'll need to include the IP somewhere or other, yes.
> -Greg
> Software Engineer #42 @ http://inktank.com | http://ceph.com


Greg,

Is there an example of how an fstab entry for ceph-fuse should look like if the keyfile is in a separate place?

Also: fuse mounting in general should work with entities other than admin, right?
If so, would the capabilities be different from the minimal ones used to mount with the kernel client?

Karol,

For the *kernel client* I added _netdev and enabled netfs, and now CephFS is nicely mounted
after booting. That's on a RHEL derivative, though. Not sure if that helps you.

Cheers,
 Arne

--
Arne Wiebalck
CERN IT

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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