Re: Mounting NFS root FS

From: Janne Karhunen
Date: Mon Dec 04 2006 - 15:28:18 EST


On Monday 04 December 2006 22:03, Jan Engelhardt 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.
>
> Way 1:
>
> mount -nt tmpfs none /var/lib/nfs;
> mount -nt nfs fserve:/tftpboot/linux /mnt;
> mount -n --move /var/lib/nfs /mnt/var/lib/nfs/;
> ./run_init -c /mnt /sbin/init; # or similar

Statd should probably be started before nfs mount to get it
right. But doesn't statd require state data ( some sort of
generation number ) from persistent storage to work? This
would start with a blank slate.


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