From owner-freebsd-stable@freebsd.org Fri Jan 13 22:39:47 2017 Return-Path: Delivered-To: freebsd-stable@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 15133CAE66D for ; Fri, 13 Jan 2017 22:39:47 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0052.outbound.protection.outlook.com [104.47.41.52]) (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 C0FAE1E69 for ; Fri, 13 Jan 2017 22:39:45 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) by YTXPR01MB0190.CANPRD01.PROD.OUTLOOK.COM (10.165.218.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 13 Jan 2017 22:39:43 +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.0845.014; Fri, 13 Jan 2017 22:39:43 +0000 From: Rick Macklem To: Daniel Braniss , Karl Young CC: FreeBSD Stable Mailing List Subject: Re: NFS and amd on older FreeBSD Thread-Topic: NFS and amd on older FreeBSD Thread-Index: AQHSbXQQS5PHP1jaNEG6/WhpTp9cAKE3AJPb Date: Fri, 13 Jan 2017 22:39:43 +0000 Message-ID: References: <20170111234737.GK26386@mailboy.kipshouse.net> <20170112190125.GR26386@mailboy.kipshouse.net>, <343F8AE3-1428-4B0E-A3C3-C60D5B6DB905@cs.huji.ac.il> In-Reply-To: <343F8AE3-1428-4B0E-A3C3-C60D5B6DB905@cs.huji.ac.il> 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: 4658c535-73a7-4ad1-e2f9-08d43c0511a4 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:YTXPR01MB0190; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0190; 7:OZ24RJ9VXmrLgvIjD3cZtijmA2GqQbAG7gq/d96dbUjhtRuUO3/ohe+wDOy2r7XavU06+DmGL9QtQ+lw0KqUbc5qLYwx/suQX4pi9rOPc3qNrSZ9QziiQgiY67jRH7IEJ8s4oIoJYVF1IV5qCwdOk+oh9gjum7j/UVtKa4+8JwJNeQLLkrJGr79/ylebzBxsn4aVpZUUx5xK+vT/x9ha9ReFeNK349iepQLPSSznL8RNID9exnwsH+0DYibg1VrFLq8whO8nabHlh6Zvz01h20mXibdFDJ3iRfz2YeCstYSZ6lC5Usq3PXDpJMVLROICELrO9FkZ08uU/jQ9IVtmyi7lL1eNRoixx+hpObrSdwSz6vda07s4xiN6U9YNOdr2nESKe7SsiDQODWuYA3CU+DBJHHN89TCU7oJ6HXaXRUAIkHx5tly7RRjlJeAym8LeWkxoZd0C/DKoQ4MK1stKIA== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(788757137089)(75325880899374); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:YTXPR01MB0190; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0190; x-forefront-prvs: 018632C080 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(24454002)(189002)(377454003)(199003)(74316002)(93886004)(6436002)(6506006)(229853002)(77096006)(81166006)(38730400001)(3660700001)(81156014)(4326007)(68736007)(106116001)(105586002)(106356001)(8936002)(8676002)(2906002)(305945005)(86362001)(101416001)(6306002)(122556002)(50986999)(54356999)(55016002)(76176999)(102836003)(3280700002)(2950100002)(92566002)(33656002)(189998001)(97736004)(9686003)(7696004)(5660300001)(2900100001)(5001770100001)(74482002)(27001); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0190; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2017 22:39:43.3503 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR01MB0190 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 22:39:47 -0000 Do you have exactly the same export options specified in /etc/exports for the 9.3 server as the 6.3 one? Beyond that, I can only suggest capturing packets when the automount fails and looking at them in wireshark to see what is actually happening. rick ________________________________________ From: owner-freebsd-stable@freebsd.org o= n behalf of Daniel Braniss Sent: Friday, January 13, 2017 3:06:56 AM To: Karl Young Cc: FreeBSD Stable Mailing List Subject: Re: NFS and amd on older FreeBSD > On 12 Jan 2017, at 21:01, Karl Young wrote: > > Daniel Braniss(danny@cs.huji.ac.il)@2017.01.12 10:25:03 +0200: >> >>> On 12 Jan 2017, at 9:49 AM, Daniel Braniss wrote: >>> >>> >>>> On 12 Jan 2017, at 1:47 AM, Karl Young wrote: >>>> >>>> I inherited a lab that has a few hundred hosts running FreeBSD 7.2. >>>> These hosts run test scripts that access files that are stored on >>>> FreeBSD 6.3 host. The 6.3 host exports a /data directory with NFS >>>> >>>> >>>> On the 7.2 hosts, I can see the exported directory: >>>> >>>> $ showmount -e 6.3-host >>>> Exports list on 6.3-host >>>> /data Everyone >>>> >>>> And access it with amd >>>> >>>> $ ls -l /net/6-3.host/data >>>> >>>> drwxr-xr-x 5 root wheel 512 Jun 4 2009 git >>>> drwxr-xr-x 4586 root wheel 83968 Nov 2 04:50 home >>>> >>>> I'm trying to retire the 6.3 host and replace it with 9.3 (I know it's >>>> old, but it's the best I can do for now). >>>> >>>> I export the /data directory on the 9.3 system, and I can see it on my >>>> 7.2 hosts. >>>> >>>> $ showmount -e 9.3-host >>>> Exports list on 9.3-host: >>>> /data Everyone >>>> >>>> But I can't automount it: >>>> >>>> $ ls -l /net/9.3-host/data >>>> ls: /net/9.3-host/data: No such file or directory >>>> >>>> If I manually mount the exported directory, it works: >>>> >>>> $ sudo mount -t nfs 9.3-host:/data /mnt/data/ >>>> $ mount | grep nfs >>>> 9.3-host:/data on /mnt/data (nfs) >>>> >>>> $ ls -l /mnt/data >>>> total 4 >>>> drwxr-xr-x 9 root wheel 512 Dec 20 17:41 iaf2 >>>> >>>> I've spent some time on Google, but haven't found a solution. I reali= ze >>>> these are very old versions, but I'm not in a position to upgrade them >>>> right now. My last resort will be to use /etc/fstab to do the NFS >>>> mount, but I'd rather avoid that if I can. >>>> >>>> Thanks for any pointers on how to resolve this. >>>> >>>> -karl >>>> >>>> >>> >>> if you changed the export file on the server after you tried to mount i= n on the client, >>> and will not realise this, if that=92s the case, usually rebooting the = client helps. >>> >> s/and/amd/ ^%$# hate spell checkers >> > > Thanks Danny > > I did try rebooting the client (and server) multiple times to no avail. what does amq say? you can, from another host do: amq -h client-host btw, I thing that nfs_server must also run on the client =85 I have nfs_server_enable=3DYES danny _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"