From owner-freebsd-current@freebsd.org Mon Mar 20 21:55:50 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF652D1345F for ; Mon, 20 Mar 2017 21:55:50 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st13p35im-asmtp002.me.com (st13p35im-asmtp002.me.com [17.164.199.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B90271B14; Mon, 20 Mar 2017 21:55:50 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.st13p35im-asmtp002.me.com by st13p35im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0ON400D00V5AF600@st13p35im-asmtp002.me.com>; Mon, 20 Mar 2017 21:55:44 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1490046944; bh=O6SAKKYHv+r60WgH9pObO5b7Zn9iRnlhutwMToiJd+0=; h=Content-type:MIME-version:Subject:From:Date:Message-id:To; b=Qp2yopjiLL4r62B05+ANR1DOOO/T7fWp7AN+/Z0y9m9yYLZJulc2IZfbsdyWo+4/9 n4JQ7dkihO5hJ0RELc4ijh4KcScwsuvh2XH5xJWD+ZVPPfLEoj1++U4dsInRLDb7yz onllYABZyNu30Bg8ZJvPvWOGN+99zEbLyuUgsg+mwsfH5hnuqamlvuJW0uoRnTtq1s Uu0+To+Wkc+Nm53XMuDM6omHqyBtzTIYYP9VfXa37GYm1ybzuV5GPOBTKiG8fTz/uT gHzusLLdhCLRNlTcIMYZKu4mH0Mxldc4INci5/tzGZ43dsmifBFMh6HR5Q1WgKn+rM eXZBckv7eLHMQ== Received: from icloud.com ([127.0.0.1]) by st13p35im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0ON4000J7VKUF240@st13p35im-asmtp002.me.com>; Mon, 20 Mar 2017 21:55:44 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-20_16:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1703200186 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: NFSv2 boot & OLD_NFSV2 From: Toomas Soome In-reply-to: Date: Mon, 20 Mar 2017 23:55:41 +0200 Cc: Baptiste Daroussin , FreeBSD Current Content-transfer-encoding: quoted-printable Message-id: <1B7471CD-2F2D-4F22-9D25-E46580CF9E96@me.com> References: <38DD1950-AD12-4A27-8335-54F997E408DF@me.com> <20170320192000.6hal22ibnr3ajog3@ivaldir.net> To: Rick Macklem X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2017 21:55:51 -0000 > On 20. m=C3=A4rts 2017, at 23:53, Rick Macklem = wrote: >=20 > Baptiste Daroussin wrote: >> On Mon, Mar 20, 2017 at 08:22:12PM +0200, Toomas Soome wrote: >>> Hi! >>>=20 >>> The current boot code is building NFSv3, with preprocessor = conditional OLD_NFSV2. Should NFSv2 code still be kept around or can we = burn it? >>>=20 >>> rgds, >>> toomas >>=20 >> I vote burn >>=20 >> Bapt > I would be happy to see NFSv2 go away. However, depending on how = people configure > their diskless root fs, they do end up using NFSv2 for their root fs. >=20 > Does booting over NFSv3 affect this? >=20 > I think the answer is no for a FreeBSD server (since the NFSv2 File = Handle is the same as > the NFSv3 one, except padded with 0 bytes to 32bytes long). > However, there might be non-FreeBSD NFS servers where the NFSv2 file = handle is different > than the NFSv3 one and for that case, the user would need NFSv2 boot = code (or > reconfigure their root fs to use NFSv3). >=20 > To be honest, I suspect few realize that they are using NFSv2 for = their root fs. > (They'd see it in a packet trace or via "nfsstat -m", but otherwise = they probably > think they are using NFSv3 for their root fs.) >=20 > rick if they do not suspect, they most likely use v3 - due to simple fact = that you have to rebuild loader to use NFSv2 - it is compile time = option. rgds, toomas=