From owner-freebsd-net@freebsd.org Mon Jan 11 14:15:25 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87E094DA45D for ; Mon, 11 Jan 2021 14:15:25 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660063.outbound.protection.outlook.com [40.107.66.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDwhr447Lz3lVl for ; Mon, 11 Jan 2021 14:15:24 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BOIc5JpN/GHoWtwnFoHIZHJS5z5WRP/c7QsWjIN7kQV9eQgTnIIWK2plWqT62jGSfD0DNLxTIr2EG90cWigp2Tsl5ASuImoreZBvaPRaGyETyal3Nh15aRrebS8KD1QasMmyv67KQE/iNqK3aQvFghACy2BbxT6kItINWptZIE5jXaHPF9PjmF/UdE8XZoYv2NcVEtQSK1cDI7J28lgHipvfOzHQxgn11chVbO4PlxXJHWSSkV+daOAFyAX8FJbWKjGo3TThLgdbOfT53D7jUJJ72kA0zqdb2Gj933qzBqazUjlkomyONZGSd4PE7Ebp0sQ76lnhGrHexXoeWwXiBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/j00vKlU/05xYYsNLnZAmYnfbFVo0vUebCGldQemDBo=; b=RV9S+nsZO11oMCvlF/aPa0m8N1E09djqeRz8sIyEz6GNVYv5G/WvgfWrJ4LtCyMEBFOFjKGo9+EdP64amwrkKAhnoIPYzq+s2fIkNw4s3ddeLMi6xnZbN1cECqORKu7lhzjofoOn2Qs4iCt1uuclOuRNUgH5y8l9IOmV5LSazmL0VD63qB8acQ3TicsD4mjiAgSMSDP4LGrulYpUQ9uUMzmGV9CnFKvfHP6dn/ziF3HPfBVxl5YZnK+3qLErH7bmqtBAxgIrV3cdDeToTVp00oxtO0c0Z2y2OCnktq9OqMEh0gfYq11g+aDLPW1otnTVpGu0mOlyvSvHRkscYAZ45A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/j00vKlU/05xYYsNLnZAmYnfbFVo0vUebCGldQemDBo=; b=MPKuuu45ZL9QXCBKL3sMAo6eVez492NlVdtkFAg34eLEMGvwCZu1pnojhtiqOG+UYJ3+TClZQe6CW4aTAOT0TS1jEG+oTb8fEMDdhEnHy1fYZxbYoj1dI7+cXwy0k1PeJPNFqYxYi78ysJuZ8zTTdWL6DpXqyiC+xLzJGK+hrSdI8ncYdHJZiQgsr1UGF7b+kB3H4P3oMAkemlGFzUQWUcDyDnHYOE0tQnkrvzgqhR81AxFxm+kLoiwddOfTMD2Wcg3GSeOzRqwQG3Y1iBGEjzL1GW+o9flPk2ZT4mNAdkIme65e30OwOHyFyB86C88hddAFk3RSJWoCuIKMP98gfA== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Mon, 11 Jan 2021 14:15:22 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::3d86:c7f9:bc4c:40c0]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::3d86:c7f9:bc4c:40c0%6]) with mapi id 15.20.3742.012; Mon, 11 Jan 2021 14:15:16 +0000 From: Rick Macklem To: Ondra Knezour , "freebsd-net@freebsd.org" Subject: Re: nfsd doesn't register with rpcbind Thread-Topic: nfsd doesn't register with rpcbind Thread-Index: AQHW58Xm2CtSrmTxNUeJpSnNvOnUEqoidXq3 Date: Mon, 11 Jan 2021 14:15:16 +0000 Message-ID: References: <9ec68f10-6008-34cd-d89d-2d2b2cf2c0da@weboutsourcing.cz> In-Reply-To: <9ec68f10-6008-34cd-d89d-2d2b2cf2c0da@weboutsourcing.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9034ee32-1971-48b6-8330-08d8b63b51b7 x-ms-traffictypediagnostic: YQXPR0101MB0968: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RgEx5Nx3DEttssi4GqwJ6Em81NTrDJKBuB9MnHkMLk3vDaAqyGF3AU7C8ZBAT9lKQXqfDYx1WRRLNVNaW0mmHZyIouzTQt0zuvSFyZR5pJGPNT0Mv9GRNmHhFMUqCVao5puWckgWdxa2l50Pw0ddZr8cbLEGn3z2o6bHMbhpP2wLrjEm4bUJRiSWwjYHXL1JvIGWNaMulKr4reLPdw/MjwsYO7r0dYSzZIsLsdzf7c/2BmxaG3G0yYnVI7VbI6NZuQhb2xQxj4jGSo49wYNblrogTswqm563vSxcLPtPoO5TeivBdK8xo+K/aL//EgB2/hNyjXmRkqE5um0xPRQGTPi2CGyLZTkL+LrHBaCMauP9147tXKPRRkkxvlY50nl+svlBhduO1N4cB84gYMlMXg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(136003)(39860400002)(346002)(376002)(366004)(396003)(52536014)(2906002)(8676002)(478600001)(110136005)(76116006)(186003)(86362001)(33656002)(6506007)(7696005)(5660300002)(66556008)(71200400001)(64756008)(66946007)(55016002)(66446008)(66476007)(8936002)(9686003)(316002)(91956017)(83380400001)(786003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?aW2qJJT2Qm4tkZI6jOpgNa+NJmdtSLKF+QIjZitApbANEMSSIZb2HmHN+G?= =?iso-8859-1?Q?q64aGiXVv9xuFt4YPidY99s2wCVdRUkpDJ4yXTn8g7IW3GtByT50J43RRu?= =?iso-8859-1?Q?hX7S0hnRkCGAsrVfEAYtCxmqqdPsxfs4MY2aTdBZ61NSNV26j727dsnZBg?= =?iso-8859-1?Q?ywd2TLmgtz5jt58MV8dy+RkiK6k2gxP/SKC/qt8yGyFO3rlmYajwBDnTFi?= =?iso-8859-1?Q?xiPEw50A+dhFjaGTfpBqLYoWyHHitmHokniyaBp6zYKQavi0Ojk1N5fuIY?= =?iso-8859-1?Q?5Va1AdKEELXzcMQxItnDT+D9QtClIg6UvgPX+V5wUta71wU7xJ5naVVH4A?= =?iso-8859-1?Q?UXpRWHSHBIAe7lIIno6yBxRD+FPqTPoNN5HFJOjT4/5BwXpWEuSEzqcSOG?= =?iso-8859-1?Q?vxmKllW4YZRwqgeDk2Bv3qhBhU3kCV3qN/s4SPV4hYP1soOluJWBW79fJd?= =?iso-8859-1?Q?HSSinE8RBk2fklwMqhvOQAJl2XQRbx2VshQ+HlCc8aJi47I6k8t7e5GiSu?= =?iso-8859-1?Q?TrgNF2T2eA37xmTTlmX39e7NRtalpqQnzmSBQNTLzGGoR0nX6Ww7ZGyyD5?= =?iso-8859-1?Q?lt0rLL8i5ev3e/1JUvoVs5Heui6xfyQN/PKCpA08a9/duhuGTBwgfFfDbF?= =?iso-8859-1?Q?FMkB8EHXHMS3t1OkeuwwWtjSevH5/GDCLuMEREKy+MpkDRVR/s9CJU/rx0?= =?iso-8859-1?Q?l8veKg4RWATjFIimfBLYCES7WUs4d0n+YDDjeGHSgV7EWyUGhf7LrHodwa?= =?iso-8859-1?Q?D9HFhvpvkvlqIsBL7Hk2wZEth2m6wn774nMfzWy4G/u18zzr+tIX1IoEdL?= =?iso-8859-1?Q?2Jm559FPadbVjJMt8UQR5SigXDJjA+P8gRCgyovxFpi8gSF9AGcjyD+f/a?= =?iso-8859-1?Q?IIVrWfwY6qVJlMrXhpDPaJlmtdxQn6HkPT4uxnE5E137Pl13gyQ2TlS1ag?= =?iso-8859-1?Q?SiNbvPsQF2RUtWM7XWgwYrc2UgDNh/8DxGhn3tDQVKZxdGSqJuM0/wWbU8?= =?iso-8859-1?Q?kXb0nS2facKkGDoPHYu3PYhe7ZoCgfd96lbLOKBtlcxG5rjK3PWwlKA8Av?= =?iso-8859-1?Q?yB+WtV9q496By0oH0W/o9Gw=3D?= x-ms-exchange-transport-forked: True 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-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 9034ee32-1971-48b6-8330-08d8b63b51b7 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2021 14:15:16.2242 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: IwvuvvaXOVlS2Od8YgD09+4xkQmlLKV3bw5wpF7z3refARf3k7O5u2ohc68K8U6Ihu7xJwxR3oGTt5AAFEq9dw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR0101MB0968 X-Rspamd-Queue-Id: 4DDwhr447Lz3lVl X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=MPKuuu45; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=uoguelph.ca; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.66.63 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-6.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[uoguelph.ca:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[40.107.66.63:from]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[40.107.66.63:from:127.0.2.255]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.107.66.63:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.66.63:from]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 14:15:25 -0000 Ondra Knezour wrote:=0A= [stuff snipped]=0A= >So my questions are:=0A= >1. Why my nfsd doesn't register with rpcbind?=0A= >2. Is this registration somewhat optional at least for NFSv4?=0A= NFSv4 does not use rpcbind. This is generally considered a feature=0A= and not a bug.=0A= --> nfsd will register with rpcbind only if NFSv3 is enabled. (see below)= =0A= =0A= >3. How can I get some useful debug info? Using -d options in our servers= =0A= >startup configuration where it is available doesn't produce much.=0A= [more stuff snipped]=0A= >microcode_update_enable=3D"YES"=0A= >rpc_lockd_enable=3D"YES" # Run NFS rpc.lockd needed for client/s= erver.=0A= >rpc_statd_enable=3D"YES" # Run NFS rpc.statd needed for client/s= erver.=0A= These are sideband protocols used with NFSv3. If all your mounts are NFSv4,= =0A= you don't need them.=0A= =0A= >=0A= >/etc/sysctl.conf=0A= >=0A= >vfs.zfs.arc_max=3D"48000000000"=0A= >vfs.nfsd.server_min_nfsvers=3D4=0A= vfs.nfsd.server_min_nfsvers=3D3=0A= --> Will make it register with rpcbind.=0A= =0A= >vfs.nfs.enable_uidtostring=3D1=0A= You would normally also want=0A= vfs.nfs.enable_stringtouid=3D1=0A= which applies to server as well as=0A= client. If you never run nfsuserd,=0A= then I think it defaults to this anyhow.=0A= =0A= In summary, if you want it to register=0A= with rpcbind, enable NFSv3.=0A= =0A= rick=0A= =0A= vfs.nfsd.tcpcachetimeo: 300=0A= vfs.nfsd.tcphighwater: 100000=0A= =0A= =0A= =0A= /etc/exports=0A= =0A= /zdata/email -maproot=3Droot 10.128.99.79=0A= /zdata/nf -maproot=3Droot 172.22.255.249=0A= /zdata/odkladgalery -maproot=3Droot 172.22.1.10=0A= /zdata/ios -maproot=3Droot 172.22.1.14=0A= /zdata/xen-iso-library -maproot=3Droot 172.22.1.27=0A= /zdata/xen-iso-library -maproot=3Droot 172.22.1.7=0A= /zdata/xen-nfs-storage -maproot=3Droot 172.22.1.27=0A= /zdata/xen-nfs-storage -maproot=3Droot 172.22.1.7=0A= /zdata/servers/xenserver -maproot=3Droot 172.22.1.27=0A= /zdata/servers/xenserver -maproot=3Droot 172.22.1.7=0A= /zdata/servers/xenserver -maproot=3Droot 172.22.1.32=0A= /zdata/virt -maproot=3Droot 172.22.1.27=0A= /zdata/virt -maproot=3Droot 172.22.1.7=0A= /zdata/virt -maproot=3Droot 172.22.1.13=0A= /zdata/virt -maproot=3Droot 172.22.1.2=0A= /zdata/virt -maproot=3Droot -sec=3Dsys 172.22.1.11=0A= V4: / -sec=3Dsys -network 172.22.0.0 -mask 255.255.0.0=0A= V4: / -sec=3Dsys -network 10.128.99.0 -mask 255.255.255.0=0A= =0A= rpcinfo -s=0A= =0A= program version(s) netid(s) service owner= =0A= 100000 2,3,4 local,udp6,tcp6,udp,tcp rpcbind superus= er=0A= 100024 1 tcp,udp,tcp6,udp6 status superus= er=0A= 100021 4,3,1,0 tcp,udp,tcp6,udp6 nlockmgr superus= er=0A= 100005 3,1 tcp,udp,tcp6,udp6 mountd superus= er=0A= =0A= =0A= =0A= And from one of the Linux clients - rpcinfo doesn't show nfsd, but=0A= mounts can be probed and mounted without problem.=0A= =0A= showmount -e 172.22.1.4=0A= Export list for 172.22.1.4:=0A= /zdata/virt 172.22.1.11,172.22.1.2,172.22.1.13,172.22.1.7,172.= 22.1.27=0A= /zdata/xen-nfs-storage 172.22.1.7,172.22.1.27=0A= /zdata/xen-iso-library 172.22.1.7,172.22.1.27=0A= /zdata/odkladgalery 172.22.1.10=0A= /zdata/email 10.128.99.79=0A= /zdata/servers/xenserver 172.22.1.32,172.22.1.7,172.22.1.27=0A= /zdata/ios 172.22.1.14=0A= /zdata/nf 172.22.255.249=0A= =0A= rpcinfo -s 172.22.1.4=0A= program version(s) netid(s) service owner= =0A= 100000 2,3,4 local,udp6,tcp6,udp,tcp portmapper superus= er=0A= 100024 1 tcp,udp,tcp6,udp6 status superus= er=0A= 100021 4,3,1,0 tcp,udp,tcp6,udp6 nlockmgr superus= er=0A= 100005 3,1 tcp,udp,tcp6,udp6 mountd superus= er=0A= =0A= mount.nfs4 172.22.1.4:/zdata/xen-iso-storage /iso-storage/=0A= mount.nfs4 172.22.1.4:/zdata/xen-iso-library /iso-storage/=0A= =0A= mount=0A= 172.22.1.4:/zdata/xen-iso-library on /iso-storage type nfs4 (rw,relatime,ve= rs=3D4.1,rsize=3D131072,wsize=3D131072,namlen=3D255,hard,proto=3Dtcp,timeo= =3D600,retrans=3D2,sec=3Dsys,clientaddr=3D172.22.1.7,local_lock=3Dnone,addr= =3D172.22.1.4)=0A= 172.22.1.4:/zdata/xen-nfs-storage on /nfs-storage type nfs4 (rw,relatime,ve= rs=3D4.1,rsize=3D131072,wsize=3D131072,namlen=3D255,hard,proto=3Dtcp,timeo= =3D600,retrans=3D2,sec=3Dsys,clientaddr=3D172.22.1.7,local_lock=3Dnone,addr= =3D172.22.1.4)=0A= =0A= Digging again deeper, I see in log on the client, that missing nfsd in=0A= rpcinfo -s call is probably main culprit here. From where came "missing=0A= serverpath" error I don't know. Also setting rpcdebug -m [nfs|rpc] -s=0A= all (set all debug flags for those two modules) on client yeld nothing=0A= at all.=0A= =0A= Dec 27 22:31:36 xen-2u SM: [25530] _testHost: Testing host/port: storage-sm= c.ujezd.net,2049=0A= Dec 27 22:31:36 xen-2u SM: [25530] scanning2 (target=3Dstorage-smc.ujezd.ne= t)=0A= Dec 27 22:31:36 xen-2u SM: [25530] scanning=0A= Dec 27 22:31:36 xen-2u SM: [25530] ['/usr/sbin/showmount', '--no-headers', = '-e', 'storage-smc.ujezd.net']=0A= Dec 27 22:31:36 xen-2u SM: [25530] pread SUCCESS=0A= Dec 27 22:31:36 xen-2u SM: [25530] Raising exception [101, The request is m= issing the serverpath parameter]=0A= Dec 27 22:31:36 xen-2u SM: [25530] lock: released /var/lock/sm/sr=0A= Dec 27 22:31:36 xen-2u SM: [25530] ***** generic exception: sr_probe: EXCEP= TION , The request is missing the serverpath paramete= r=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/SRCommand.py",= line 110, in run=0A= Dec 27 22:31:36 xen-2u SM: [25530] return self._run_locked(sr)=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/SRCommand.py",= line 159, in _run_locked=0A= Dec 27 22:31:36 xen-2u SM: [25530] rv =3D self._run(sr, target)=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/SRCommand.py",= line 332, in _run=0A= Dec 27 22:31:36 xen-2u SM: [25530] txt =3D sr.probe()=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/NFSSR", line 1= 64, in probe=0A= Dec 27 22:31:36 xen-2u SM: [25530] self.validate_remotepath(True)=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/NFSSR", line 1= 09, in validate_remotepath=0A= Dec 27 22:31:36 xen-2u SM: [25530] raise xs_errors.XenError('ConfigServ= erPathMissing')=0A= Dec 27 22:31:36 xen-2u SM: [25530]=0A= Dec 27 22:31:36 xen-2u SM: [25530] ***** NFS VHD: EXCEPTION , The request is missing the serverpath parameter=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/SRCommand.py",= line 378, in run=0A= Dec 27 22:31:36 xen-2u SM: [25530] ret =3D cmd.run(sr)=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/SRCommand.py",= line 110, in run=0A= Dec 27 22:31:36 xen-2u SM: [25530] return self._run_locked(sr)=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/SRCommand.py",= line 159, in _run_locked=0A= Dec 27 22:31:36 xen-2u SM: [25530] rv =3D self._run(sr, target)=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/SRCommand.py",= line 332, in _run=0A= Dec 27 22:31:36 xen-2u SM: [25530] txt =3D sr.probe()=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/NFSSR", line 1= 64, in probe=0A= Dec 27 22:31:36 xen-2u SM: [25530] self.validate_remotepath(True)=0A= Dec 27 22:31:36 xen-2u SM: [25530] File "/opt/xensource/sm/NFSSR", line 1= 09, in validate_remotepath=0A= Dec 27 22:31:36 xen-2u SM: [25530] raise xs_errors.XenError('ConfigServ= erPathMissing')=0A= Dec 27 22:31:36 xen-2u SM: [25530]=0A= Dec 27 22:32:02 xen-2u SM: [25713] sr_create {'sr_uuid': '34c61bf5-32d6-a0b= 7-47e7-65209f69ddb9', 'subtask_of': 'DummyRef:|2360ef68-4b8d-4db8-8943-ec43= 70f77fa7|SR.create', 'args': ['0'], 'host_ref': 'OpaqueRef:2669e2f3-300e-47= 48-916f-5811c337e830', 'session_ref': 'OpaqueRef:8f327b0d-9799-420e-8164-a8= 1353aa99ee', 'device_config': {'location': 'storage-smc.ujezd.net:/zdata/xe= n-iso-library', 'type': 'nfs_iso', 'SRmaster': 'true', 'nfsversion': '4'}, = 'command': 'sr_create', 'sr_ref': 'OpaqueRef:55ecd645-3bf5-4a06-8aae-79443b= 019047'}=0A= Dec 27 22:32:02 xen-2u SM: [25713] _testHost: Testing host/port: storage-sm= c.ujezd.net,2049=0A= Dec 27 22:32:02 xen-2u SM: [25713] ['/usr/sbin/rpcinfo', '-s', 'storage-smc= .ujezd.net']=0A= Dec 27 22:32:02 xen-2u SM: [25713] pread SUCCESS=0A= Dec 27 22:32:02 xen-2u SM: [25713] NFS service not ready on server storage-= smc.ujezd.net=0A= =0A= And this is part of the code I suspect produces that error=0A= =0A= RPCINFO_BIN =3D "/usr/sbin/rpcinfo"=0A= SHOWMOUNT_BIN =3D "/usr/sbin/showmount"=0A= [...]=0A= def check_server_service(server):=0A= """Ensure NFS service is up and available on the remote server.=0A= =0A= Returns False if fails to detect service after=0A= NFS_SERVICE_RETRY * NFS_SERVICE_WAIT=0A= """=0A= =0A= retries =3D 0=0A= errlist =3D [errno.EPERM, errno.EPIPE, errno.EIO]=0A= =0A= while True:=0A= try:=0A= services =3D util.pread([RPCINFO_BIN, "-s", "%s" % server])=0A= services =3D services.split("\n")=0A= for i in range(len(services)):=0A= if services[i].find("nfs") > 0:=0A= return True=0A= except util.CommandException, inst:=0A= if not int(inst.code) in errlist:=0A= raise=0A= =0A= util.SMlog("NFS service not ready on server %s" % server)=0A= retries +=3D 1=0A= if retries >=3D NFS_SERVICE_RETRY:=0A= break=0A= =0A= time.sleep(NFS_SERVICE_WAIT)=0A= =0A= return False=0A= =0A= [...]=0A= =0A= Best regards=0A= =0A= Ondra Knezour=0A= =0A= =0A= =0A=