From owner-freebsd-hackers@freebsd.org Sun Feb 26 21:57:03 2017 Return-Path: Delivered-To: freebsd-hackers@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 D62D2CEE0EB for ; Sun, 26 Feb 2017 21:57:03 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670062.outbound.protection.outlook.com [40.107.67.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D5E011A for ; Sun, 26 Feb 2017 21:57:03 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) by YTXPR01MB0192.CANPRD01.PROD.OUTLOOK.COM (10.165.218.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12; Sun, 26 Feb 2017 21:57:01 +0000 Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) by YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) with mapi id 15.01.0933.019; Sun, 26 Feb 2017 21:57:00 +0000 From: Rick Macklem To: Milan Obuch , Daniel Braniss CC: Daniel Shahaf , "freebsd-hackers@freebsd.org" Subject: Re: svn over nfs - was kern.ostype - where gets its value? Thread-Topic: svn over nfs - was kern.ostype - where gets its value? Thread-Index: AQHSkCuZQ2f5llNZWEqChGjYa5KXHKF7QiyOgAAQUICAAAqLgIAAd908 Date: Sun, 26 Feb 2017 21:57:00 +0000 Message-ID: References: <20170226132548.69223dcd@zeta.dino.sk> <20170226124742.GA10967@fujitsu.shahaf.local2> <20170226140645.5d3ad3c1@zeta.dino.sk> , <20170226154325.48cab161@zeta.dino.sk> In-Reply-To: <20170226154325.48cab161@zeta.dino.sk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-office365-filtering-correlation-id: 76d4d1fd-e4df-4ee1-19fb-08d45e92646b x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:YTXPR01MB0192; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0192; 7:QkxBLX0wA/Chf3cSglqXLE6Yqg0hQt91Pu8ZJTD1bz4wexnIpG6JlC0k5udLmwne3ZJeHOj9BFoXSdj6DlSFpFbbkxqeLXrA6uL7VtlSpaMEHzLKv8YU9X7r4EunXBdZO4lfr4IhsnhuzPFwF2QhOSVqs5rqugRgIhlJ7hZV5s5gohgh3iXG6awx/QbNuLnedY+KTF1jqY1u90uojTzzD/IcacVHPIGtc6pkt36PleNV4TEKD6DShhKzXRrpjTExBxD4R57U2ipioqyJdhn0IDARiVp/OsceAaC+YRiga7vbNc/keiXGkktzVJ1REbuzIYO3tb08FSJW5WuBIzs7YA== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123558025)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(6072148)(6042181); SRVR:YTXPR01MB0192; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0192; x-forefront-prvs: 0230B09AC4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(24454002)(199003)(189002)(7696004)(53936002)(2950100002)(33656002)(97736004)(305945005)(8936002)(38730400002)(6246003)(81166006)(81156014)(8676002)(55016002)(68736007)(189998001)(9686003)(92566002)(122556002)(54906002)(93886004)(2900100001)(106116001)(6506006)(106356001)(76176999)(50986999)(54356999)(74482002)(101416001)(74316002)(6436002)(5660300001)(86362001)(3660700001)(102836003)(3280700002)(4326007)(2906002)(77096006)(105586002)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0192; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2017 21:57:00.7653 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR01MB0192 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2017 21:57:03 -0000 Milan Obuch wrote: [more snipped] > > How could I find whether locking is supported/make sure it is? > you need to run rpc_lockd on both server & client > (rpc_lockd_enable=3Dyes in rc.conf) probably also rpc_statd too. > You could try the "nolockd" mount option instead. It allows for the locking to be done locally within the client. The only time this option isn't appropriate is if other clients need to see the locks. For that, I recommend using NFSv4. rick