From owner-freebsd-fs@FreeBSD.ORG Thu Dec 20 18:08:25 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 A9B444E1 for ; Thu, 20 Dec 2012 18:08:25 +0000 (UTC) (envelope-from tjg@soe.ucsc.edu) Received: from mail-da0-f42.google.com (mail-da0-f42.google.com [209.85.210.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6E1848FC13 for ; Thu, 20 Dec 2012 18:08:24 +0000 (UTC) Received: by mail-da0-f42.google.com with SMTP id z17so1650093dal.1 for ; Thu, 20 Dec 2012 10:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/pFUvGNSRgwx6KJsVhfgQTQvU8LVanhk/U8wy2W+9zQ=; b=C1e5CoOamtgemIqbvtcWl8OIGu2DJ0mgL8mJ1PQuqf9S0TphxEh72UrWJbfBP9pScL DPwZVlAQb/hgl5ZskW1zOhB11wkUfBdnKNcfJDqvLamgZgRRLQSkvejUCCfJp09sH2Pt bVlG4RYGdsJ3xxSogN7vrrZ45htvzeimtwB8E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=/pFUvGNSRgwx6KJsVhfgQTQvU8LVanhk/U8wy2W+9zQ=; b=JbATeqL7L9PWonYDsSp4ZVPobf5svn8WDaX/TFX7ib9ovPL9GFtEl4ATBKjhG6CK9n Lw+LIVkXj08VprBIIMVAaAZchTXiU56RBwE4hLC7llXwTMSGc12o81evP5FDteE07oTz /zLCYZdxGOGxlWWtzceyTX6r4/tZlJKyCM9MgDU4fE3DMJDoHUEAhqeQeINts8GpMQHw CpyO3QFWDY+YVN0/pqGFeynnptPPT66SDF3FpGIa9Ayvr3Ye4gkvbYB+Z0eUCOoMihDy 6AgMJr5zNKgUFRf1pL6s4KX7tGf3vRzU77Nn6wQxIJLhuxa6KIsC8BioGfBzfW7mu1uZ 3mcw== MIME-Version: 1.0 Received: by 10.68.251.136 with SMTP id zk8mr31489221pbc.82.1356026898153; Thu, 20 Dec 2012 10:08:18 -0800 (PST) Received: by 10.68.58.106 with HTTP; Thu, 20 Dec 2012 10:08:18 -0800 (PST) Received: by 10.68.58.106 with HTTP; Thu, 20 Dec 2012 10:08:18 -0800 (PST) In-Reply-To: References: Date: Thu, 20 Dec 2012 10:08:18 -0800 Message-ID: Subject: NFS Problems From: Tim Gustafson To: FreeBSD Filesystems X-Gm-Message-State: ALoCoQltBqccwwMMFZFicMij24zzf1r/EHBYtpL8qsSOL30gYAHxgupS7zTK66NVMc2BHvxCigij Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 18:08:25 -0000 Just yesterday, we moved our user home directories from a Sun file server to a FreeBSD file server. We've had a few hiccups and burps, but mostly things seem to be running OK right now. However, some of our Linux clients who are running Firefox are having problems, and I think I've narrowed it down to a problem with fcntl64() and I'm including a snippet of strace output from the Linux client below: stat64("/soe/tjg/.mozilla/firefox/105gir0j.default/places.sqlite", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 open("/soe/tjg/.mozilla/firefox/105gir0j.default/places.sqlite", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 31 fcntl64(31, F_GETFD) = 0 fcntl64(31, F_SETFD, FD_CLOEXEC) = 0 fstat64(31, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 clock_gettime(CLOCK_MONOTONIC, {4584, 334732510}) = 0 clock_gettime(CLOCK_MONOTONIC, {4584, 334902510}) = 0 clock_gettime(CLOCK_MONOTONIC, {4584, 335084510}) = 0 _llseek(31, 0, [0], SEEK_SET) = 0 read(31, "", 100) = 0 clock_gettime(CLOCK_MONOTONIC, {4584, 335584510}) = 0 fcntl64(31, 0xd /* F_??? */, 0xffde28b4) = -1 EIO (Input/output error) close(31) = 0 That last call to fcntl64() hangs for several seconds before moving on, and the fcntl64() function gets called on several different files (like the ,parentlock file, for example) and always takes a while and seemingly always reports the input/output error. Eventually a Firefox window does appear to the user, but it's totally non-responsive. I'd be happy to give the full strace output to anyone who's interested to see. If I set the nolock option on the nfs mount, Firefox starts successfully. lockd and statd are running on both the Linux client and the FreeBSD server. Any pointers as to what might be causing this? -- Tim Gustafson tjg@soe.ucsc.edu 831-459-5354 Baskin Engineering, Room 313A