Re: Mounting NFS root FS

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

 



On Tue, 2006-12-05 at 20:59 +0100, Jan Engelhardt wrote:
> >> >> ./run_init -c /mnt /sbin/init; # or similar
> >> >> 
> >> >> And you can also start locking after pivot_rooting to /mnt, that would 
> >> >> not even require (/mnt)/var/lib/nfs to be a separate mount.
> >> >
> >> >Much better idea. You can delay starting rpc.statd until you have set up
> >> >your filesystem provided that you are not running any programs that
> >> >require NLM locking. If you do need to run such a program before you
> >> >start rpc.statd, then you will have to use the '-onolock' mount option.
> >> 
> >> Since we're on the topic locking, is it because I am not running
> >> statd on the client that my NFS client hangs during boot phase?
> >
> >If you have applications that try to set locks before rpc.statd is up
> >and running, then that would explain it.
> 
> Even if the nfs mount is mounted using -o ro,nolock?

No. The 'nolock' option means that the NFS client will use the VFS posix
locks only, which will not depend on rpc.statd.

Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux