From owner-freebsd-questions@FreeBSD.ORG Thu Sep 30 10:31:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE489106564A for ; Thu, 30 Sep 2010 10:31:45 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9F0C98FC12 for ; Thu, 30 Sep 2010 10:31:45 +0000 (UTC) Received: by gyg4 with SMTP id 4so812187gyg.13 for ; Thu, 30 Sep 2010 03:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=kTA03UMQZzJmpXdHFwE/TDhYRFxpifRH9S0WTXLHhsk=; b=ux6E/JCmBxeYKuXWxdJwc5D0YGKI8+dwG1FIsmADa1ryRdKhMElo54R3buwM/Yccsd HihJZ9yfSqyj64RlXEYVuOLY//tWsz2xR41hpxtE81OTBpZKv6r9WPKZ/MLu4rth9PuB EciDp10QWkkrtRo/y90dXZEeUeL1wEwysbiyA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xFvEjYYebsuxxJ/jAaWOkWqyL06a4QAQyDUinT1yPYoBT73/XCflsufoKlX33wDqht Lxk71b+M5XpGTtikwddhMEVweAonlTYz3TuUNIpkwHDaruqkF5xKTgRGBVQ9ld61FS4n Gfnrn02J98LLRbSI0hPZo6JS6gILfKveojwCs= MIME-Version: 1.0 Received: by 10.224.3.21 with SMTP id 21mr2298799qal.337.1285842704706; Thu, 30 Sep 2010 03:31:44 -0700 (PDT) Received: by 10.229.214.142 with HTTP; Thu, 30 Sep 2010 03:31:44 -0700 (PDT) Date: Thu, 30 Sep 2010 14:31:44 +0400 Message-ID: From: c0re To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: /usr/ports via NFS on several servers adn parralell portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 10:31:45 -0000 Hello all! I found one problem using portupgrade on a number of servers, that has NFS mounter /usr/ports from one server. On one server portupgrade sometimes want to rebuild /usr/ports/INDEX-7.db. While it rebuilds, another portupgrade running on second server suddenly wants to rebuild INDEX-7.db. And both portupgrades fails with this message: ............... /usr/ports/INDEX-7:17502:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17503:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17504:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17505:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17506:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17507:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17508:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17509:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle .............. How ti use portupgrade with /usr/ports right? I set WRKDIRPREFIX=/tmp/workdir in make.conf. May be I can do something else to allow several portupgrade processes on several servers that has mounted nfs from one server?