NFS mount temporarily hangs during %post

Carl Pecinovsky csky at us.ibm.com
Tue Nov 16 18:00:15 UTC 2004


I added the nolock option to the mount and started portmapper in my post
script.  It seems to be proceeding fine now without delay.  Thanks all!

Carl Pecinovsky
"It is never safe to look into the future with eyes of fear." --E.H
Harriman


----- Message from Philip Rowlands <phr at doc.ic.ac.uk> on Mon, 15 Nov 2004
22:29:19 +0000 (GMT) -----
                                                                           
       To: Discussion list about Kickstart <kickstart-list at redhat.com>     
                                                                           
  Subject: Re: NFS mount temporarily hangs during %post                    
                                                                           


On Mon, 15 Nov 2004, John Monaco wrote:

>     Try using "-o nolock" on your mount entry, like this:
>
>mkdir /mnt/distribution
>mount -o nolock 192.168.1.1:/distribution /mnt/distribution

Yep, or perform the NFS mount in a separate, prior "%post --nochroot".
IIRC, the necessary kernel modules are not present in the 2nd stage
installer image, so must have been loaded as a result of fetching the
2nd stage itself via NFS.


Cheers,
Phil




More information about the Kickstart-list mailing list