NFS mount temporarily hangs during %post

John Monaco xjmonaco at ti.com
Mon Nov 15 22:19:49 UTC 2004


Carl,

     Try using "-o nolock" on your mount entry, like this:

mkdir /mnt/distribution
mount -o nolock 192.168.1.1:/distribution /mnt/distribution


         Sincerely,

         John S. Monaco

         System Administrator & "Linux Dude"
         TI WW MAKE IT
         Infrastructure System Engineering and Administration
         E-mail: xjmonaco at ti.com
         Phone:  (214) 567-5831


Carl Pecinovsky wrote:
> Hi. I am new to the list and have a question about behavior I am seeing
> during post-install of RHEL 3 U3.  In the kickstart %post section I have a
> script that does several things including:
> 
> 1. create mount-point dir
> 2. mount nfs dir
> 3. run script in the directory
> 
> The "mount" operation always hangs for a while, and then it completes and
> things continue fine from there.  I put echo statements around the mount
> and found it always hangs for 5 and a half minutes.  I traced the network
> traffic and found the server is responding as expected to the mount and
> several NFS requests before there is the 5.5 min delay until the next
> request comes in.
> 
> Is there something about the chrooted environment that causes this? Can I
> work around it?   After the install finishes and the system reboots, I can
> run the same script with no hang problems. Thanks.
> 
> Carl Pecinovsky
> "It is never safe to look into the future with eyes of fear." --E.H
> Harriman
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 




More information about the Kickstart-list mailing list