From owner-freebsd-fs@FreeBSD.ORG Fri Aug 3 23:28:11 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C9EE106564A for ; Fri, 3 Aug 2012 23:28:11 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-scalar.mail.uoguelph.ca (esa-scalar.mail.uoguelph.ca [66.199.40.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1EE1A8FC08 for ; Fri, 3 Aug 2012 23:28:10 +0000 (UTC) Received: from zcs3.mail.uoguelph.ca (new.mail.uoguelph.ca [131.104.93.37]) by esa-scalar.mail.uoguelph.ca (8.14.1/8.14.1) with ESMTP id q73NS3Z5020287; Fri, 3 Aug 2012 19:28:03 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id A0C53B403E; Fri, 3 Aug 2012 19:28:03 -0400 (EDT) Date: Fri, 3 Aug 2012 19:28:03 -0400 (EDT) From: Rick Macklem To: =?utf-8?Q?Attila_Bog=C3=A1r?= Message-ID: <773317506.298535.1344036483624.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <501BC236.4030607@linguamatics.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@freebsd.org Subject: Re: NFS I/O or permission denied errors X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 23:28:11 -0000 Attila Bogar wrote: > On 03/08/12 01:03, Attila Bog=C3=A1r wrote: > > See the attached bash script. > Sorry, my script has been stripped off by the list. >=20 > It's nothing rocket science, takes an export list from a file > (/root/fs.txt) and mounts the nfs shares in a loop. >=20 > -- 8< -- > #!/bin/bash >=20 > sleepmount=3D0.33 >=20 > function mount.all() { > set -e > j=3D0 > while read fs > do > echo mounting $fs > sleep $sleepmount > mount -t nfs -v -o sec=3Dsys,vers=3D3,proto=3Dtcp server:$fs /mnt/$j > sleep $sleepmount > umount -f /mnt/$j Oops, I didn't see that the client was a Linux one. I have no idea what the semantics of a Linux "umount -f" is, although I'd still try it without "-f" I was you. > j=3D$[j+1] > done < /root/fs.txt > set +e > } >=20 > function umount.all() { > umount -f /mnt/* &>/dev/null > } >=20 > fsno=3D"$(wc -l /root/fs.txt|cut -d' ' -f1)" > umount.all > i=3D0;while [ $i -lt $fsno ]; do echo $i; mkdir /mnt/$i ; i=3D$[i+1]; don= e >=20 > i=3D0 > while [ $i -lt 1000 ] > do > i=3D$[i+1] > echo "RUN: $i" | tee /tmp/nfstest.status > mount.all > done > -- 8< -- >=20 > sec=3Dsys,vers=3D3,proto=3Dudp seems stable, tcp gets an I/O error within > 2-3 > minutes. >=20 > I'm testing this from an up to date CentOS 6.3 nfs client. >=20 > I suspicious about the network stack. I tried turning off msi and TSO > on > the bce card, but no change yet. > I also took down my lagg interface and tried the onboard single bce, > no > change. >=20 > This gentleman had a similar problem with nfsv4 but he got no hint > from > the list: > http://lists.freebsd.org/pipermail/freebsd-stable/2012-June/068658.html >=20 > Can someone reproduce the problem or it is specific to my hardware? >=20 > Thanks, > Attila >=20 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"