[ceph-users] Re: mount cephfs with autofs

2020-06-15 Thread Tony Lill
Also, if you are using a newer kernel, add rsize=16777216,wsize=16777216
(or smaller) if you don't want to run out or memory buffers after a few
mount/unmount cycles.

On 6/15/20 6:44 AM, Marc Roos wrote:
>  
> 
> Thanks for these I was missing the x-systemd. entries. I assume these 
> are necessary so booting does not 'hang' on trying to mount these? I 
> thought the _netdev was for this and sufficient?
> 
> 
> 
> 
> 
> -Original Message-
> To: Derrick Lin
> Cc: ceph-users
> Subject: [ceph-users] Re: mount cephfs with autofs
> 
> Hi,
> 
> With CentOS 7.8 you can use the systemd autofs options in /etc/fstab.
> Here are two examples from our clusters, first with fuse and second
> with kernel:
> 
> none /cephfs fuse.ceph
> ceph.id=admin,ceph.conf=/etc/ceph/dwight.conf,ceph.client_mountpoint=/,x
> -systemd.device-timeout=30,x-systemd.mount-timeout=30,noatime,_netdev,no
> auto,x-systemd.automount,x-systemd.idle-timeout=30,ro
> 0 2
> 
> cephflax.cern.ch:6789:/ /cephfs2 ceph
> name=admin,secretfile=/etc/ceph/flax.admin.secret,x-systemd.device-timeo
> ut=30,x-systemd.mount-timeout=30,noatime,_netdev,noauto,x-systemd.automo
> unt,x-systemd.idle-timeout=30,ro
> 0 2
> 
> Cheers, Dan
> 
> On Mon, Jun 15, 2020 at 9:27 AM Derrick Lin  wrote:
>>
>> Hi guys,
>>
>> I can mount my cephfs via mount command and access it without any 
> problem.
>>
>> Now I want to integrate it in autofs which is used on our cluster.
>>
>> It seems this is not a popular approach and I found only this link:
>>
>> https://drupal.star.bnl.gov/STAR/blog/mpoat/how-mount-cephfs
>>
>> I followed the link but could not get it to work. I am wondering if 
> this is
>> possible at all?
>>
>> We are using CentOS 7.8 and the ceph cluster is running nautilus 
> 14.2.9
>>
>> Regards,
>> Derrick
>> ___
>> ceph-users mailing list -- ceph-users@ceph.io
>> To unsubscribe send an email to ceph-users-le...@ceph.io
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
> 
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
> 

-- 
Tony Lill, OCT, ajl...@ajlc.waterloo.on.ca
President, A. J. Lill Consultants   (519) 650 0660
539 Grand Valley Dr., Cambridge, Ont. N3H 2S2   (519) 241 2461
-- http://www.ajlc.waterloo.on.ca/ ---





signature.asc
Description: OpenPGP digital signature
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Can you block gmail.com or so!!!

2020-08-06 Thread Tony Lill
I looked at the received-from headers, and it looks to me like these
messages are being fed into the list from the web interface. The first
received from is from mailman web and a private IP.

On 8/6/20 2:09 PM, David Galloway wrote:
> Hi all,
> 
> As previously mentioned, blocking the gmail domain isn't a feasible
> solution since the vast majority of @gmail.com subscribers (about 500 in
> total) are likely legitimate Ceph users.
> 
> A mailing list member recommended some additional SPF checking a couple
> weeks ago which I just implemented today.  I think what's actually
> happening is a bot will subscribe using a gmail address and then
> "clicks" the confirmation link.  They then spam from a different domain
> pretending to be coming from gmail.com but it's not.  The new config I
> put in place should block that.
> 
> Hopefully this should cut down on the spam.  I took over the Ceph
> mailing lists last year and it's been a never-ending cat and mouse game
> of spam filters/services, configuration changes, etc.  I'm still
> learning how to be a mail admin so your patience and understanding is
> appreciated.
> 

-- 
Tony Lill, OCT, ajl...@ajlc.waterloo.on.ca
President, A. J. Lill Consultants   (519) 650 0660
539 Grand Valley Dr., Cambridge, Ont. N3H 2S2   (519) 241 2461
-- http://www.ajlc.waterloo.on.ca/ ---





signature.asc
Description: OpenPGP digital signature
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io