[lkml]   [2006]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Mounting NFS root FS
On Monday 04 December 2006 17:29, Trond Myklebust wrote:

> > > I have been trying to make FC5's kernel do a boot
> > > with an NFS root file system. I see the support is in the
> > > kernel(?).
> >
> > Is this really properly possible (with read/write access and
> > locking in place)? AFAIK NFS client lock state data seems
> > to require persistent storage .. ?
> 1) Yes, but not on the root partition (unless you use an initrd to start
> rpc.statd before mounting the NFS partition).


> 2) NFS provides persistent storage.

To me this sounds like a chicken and an egg problem. It
both depends and provides this at the same time :/. But
hey, if it's supposed to work then OK.

Anyhoo, I tried this at some stage and failed as random
clients seemed to occasionally get stuck in insmod¹ at
boot (infinite wait on lock that never gets released).
At that stage guess was that server could not properly
recognize client reboot given stale client lock data.
But if it's supposed to work I guess I have to give it
another shot and do better analysis on it.

What about NLM/NSM protocol issues - do they properly
deal with packet loss and clients that stay down (client
holding a lock crashing and staying down; will the lock
ever be released)?

¹ And why does insmod require a lock on module at load??

// Janne
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-12-04 18:15    [W:0.074 / U:38.900 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site