[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1165267623.5698.33.camel@lade.trondhjem.org>
Date: Mon, 04 Dec 2006 16:27:03 -0500
From: Trond Myklebust <trond.myklebust@....uio.no>
To: Janne Karhunen <Janne.Karhunen@...il.com>
Cc: MrUmunhum@...dial.com, linux-kernel@...r.kernel.org
Subject: Re: Mounting NFS root FS
On Mon, 2006-12-04 at 22:05 +0200, Janne Karhunen wrote:
> On Monday 04 December 2006 20:21, Trond Myklebust wrote:
>
> > > > 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.
> >
> > ??? Locking depends on persistent storage, but persistent storage never
> > depended on locking.
>
> Except for the fact that to be able to mount anything RW you
> generally _want_ to have locks. And can't have locks without
> the mount. Not that it wouldn't work, it's just that I would
> not do it [for obvious reasons].
You just need to be careful to set it up correctly in the initrd: either
make sure that you mount the root partition as 'nolock' or else make
sure that you mount /var/lib/nfs, and start rpc.statd before you start
init and any other applications that might need locking.
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists