From owner-freebsd-cloud@freebsd.org Thu Feb 14 20:12:11 2019 Return-Path: Delivered-To: freebsd-cloud@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA47B14DFEB6 for ; Thu, 14 Feb 2019 20:12:11 +0000 (UTC) (envelope-from raf@rafal.net) Received: from smtp-out-2.mxes.net (smtp-out-2.mxes.net [205.237.194.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 17E9D89750 for ; Thu, 14 Feb 2019 20:12:10 +0000 (UTC) (envelope-from raf@rafal.net) Received: from Customer-MUA (mua.mxes.net [10.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 85DD62753E; Thu, 14 Feb 2019 15:12:03 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rafal.net; s=tm; t=1550175124; bh=0Z4SadPLn4XhO9IEfteqzzn3x8AhujMA7/kBVXHTnug=; h=From:Subject:Date:Cc:To:From; b=3AcE+qPWckynjyPW8FVwjsYv/enAjvt+U3ts80d1FQ88aLhlBweu2I+El3UriK6hm 8GpuhAwu0BgOcKGRJUwzCHh9j/FD2ygIzIsROIXJvSLorvgXOduG7UlW0svQVIiPpQ k9oLIuXAtAtKdFcA88pqrAAu29QsuUAMuCdJSfCU= From: Rafal Lukawiecki Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Mounting NFS in FreeBSD 12.0 in AWS/EFS Message-Id: Date: Thu, 14 Feb 2019 20:12:01 +0000 To: freebsd-cloud@freebsd.org X-Mailer: Apple Mail (2.3445.102.3) X-Sent-To: X-Sender: rafal.net X-Rspamd-Queue-Id: 17E9D89750 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rafal.net header.s=tm header.b=3AcE+qPW; dmarc=pass (policy=none) header.from=rafal.net; spf=pass (mx1.freebsd.org: domain of raf@rafal.net designates 205.237.194.127 as permitted sender) smtp.mailfrom=raf@rafal.net X-Spamd-Result: default: False [-2.35 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[rafal.net:s=tm]; RCVD_IN_DNSWL_LOW(-0.10)[127.194.237.205.list.dnswl.org : 127.0.5.1]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:205.237.194.0/25]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; URIBL_BLOCKED(0.00)[rafal.net.multi.uribl.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_SPAM_SHORT(0.26)[0.257,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rafal.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[rafal.net,none]; MX_GOOD(-0.01)[cached: mxin.mxes.net]; NEURAL_HAM_MEDIUM(-0.98)[-0.980,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(-0.01)[country: US(-0.07)]; ASN(0.00)[asn:10607, ipnet:205.237.192.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 20:12:12 -0000 Hello Everyone, Hi Colin, In FreeBSD 11.1 I mount AWS EFS using: mount -t nfs -o = rw,nfsv4,oneopenown,rsize=3D1048576,wsize=3D1048576,hard,timeo=3D600,retra= ns=3D2 I understand that 12.0 had a few changes to NFS, including the = long-awaited support for 64-bit inodes. Is there a newer/better/more = recommended way to mount now? AWS suggest, for Linux, using nfsvers=3D4.1,= and their mount looks like this (I realise the slight difference in = syntax): mount -t nfs4 -o = nfsvers=3D4.1,rsize=3D1048576,wsize=3D1048576,hard,timeo=3D600,retrans=3D2= ,noresvport=20 Many thanks for any suggestions and regards from Ireland, Rafal -- Rafal Lukawiecki Data Scientist=20 Project Botticelli Ltd