From owner-freebsd-bugs Mon Jan 1 16:10:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA17334 for bugs-outgoing; Mon, 1 Jan 1996 16:10:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA17325 Mon, 1 Jan 1996 16:10:04 -0800 (PST) Resent-Date: Mon, 1 Jan 1996 16:10:04 -0800 (PST) Resent-Message-Id: <199601020010.QAA17325@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, hsu@clinet.fi Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA17201 for ; Mon, 1 Jan 1996 16:06:04 -0800 (PST) Received: from katiska.clinet.fi (root@katiska.clinet.fi [194.100.0.4]) by hauki.clinet.fi (8.6.12/8.6.4) with ESMTP id CAA01057 for ; Tue, 2 Jan 1996 02:06:00 +0200 Received: (root@localhost) by katiska.clinet.fi (8.6.12/8.6.4) id CAA12099; Tue, 2 Jan 1996 02:06:05 +0200 Message-Id: <199601020006.CAA12099@katiska.clinet.fi> Date: Tue, 2 Jan 1996 02:06:05 +0200 From: Heikki Suonsivu Reply-To: hsu@clinet.fi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/926: Mounting nfs disks before starting mountd: Chicken or Egg problem Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 926 >Category: bin >Synopsis: Mounting nfs disks before starting mountd: Chicken or Egg problem >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 1 16:10:01 PST 1996 >Last-Modified: >Originator: Heikki Suonsivu >Organization: Clinet, Espoo, Finland >Release: FreeBSD 2.2-CURRENT i386 >Environment: Machine A: nfs server, but also mounts disks from B. Primary name server. Machine B: nfs server, but also mounts disks from A. >Description: Two problems: A only crashes: locks up in mount -a -t nfs, as B does not get name server replies. This probably is a problem in mount, as it should try secondary name servers, but apparently it does not. A and B both crash (this happens often, as after A crashes B goes into a deadlock in the nfs code). Both get stuck in mount -a -t nfs, as neither system has mountd running yet. Breaking mount from either machine gets them up, one without nfs disks. >How-To-Repeat: Set up two FreeBSD machines to mount each others disks and reboot both of the simultaneously. >Fix: I am trying moving mount -a -t nfs after starting mountd and nfsiod in /etc/rc. We will see what happens with the next crash. >Audit-Trail: >Unformatted: