[Top] [All Lists]

Re: root-nfs hang and error

Subject: Re: root-nfs hang and error
From: Atsushi Nemoto <>
Date: Tue, 03 Sep 2002 16:37:11 +0900 (JST)
In-reply-to: <>
Organization: TOSHIBA Personal Computer System Corporation
Original-recipient: rfc822;
References: <>
>>>>> On Mon, 2 Sep 2002 16:43:55 -0400 (EDT), George Gensure 
>>>>> <> said:
werkt> When trying to mount an nfs to install to, I end up with about
werkt> a 5 minute hang (afterwards, though, all file transfer is
werkt> seamless).

It seems the mount is waiting for lockd.  On diskless install,
dbootstrap try to mount nfs partition without "nolock" option.  For
workaround, you can do "Execute a Shell" and type

 # mount -o nolock server:/path /target

instead of "Mount a Previously-Initialized Partition" on diskless

Isn't this a bug of dbootstrap ?  Here is a patch.

diff -u 
---   Mon Sep  2 
15:33:34 2002
+++ boot-floppies/utilities/dbootstrap/partition_config.c       Mon Sep  2 
19:34:02 2002
@@ -862,6 +862,13 @@
     if(strcmp(type,"msdos")==0 && !is_filesystem_supported("vfat"))
     INFOMSG("Mounting %s partition %s on %s", type, partition->name, 
+#ifdef NFSROOT
+    if (!strncmp(type, "nfs", 4))
+      snprintf(prtbuf, sizeof(prtbuf),
+              "mount -t nfs -o nolock,rsize=8192,wsize=8192 %s %s",
+              partition->name, real_mount_point);
+    else
     snprintf(prtbuf, sizeof(prtbuf), "mount -t %s %s %s", type, 
partition->name, real_mount_point);
     status = execlog(prtbuf, LOG_INFO);
--- ---

Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>