Re: NFS mount temporarily hangs during %post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx
        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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux