Re: NFS rooting current root



On Thu, Jan 12, 2006 at 09:21:29PM +0100, Lukas Ruf wrote:
> Dear all,
>
> are there any opinions on risks and benefits of exporting my
> server root (/boot, /etc, /usr, /dev, /sys) read-only to the
> client that provides just /var and does an nfsroot mount of
> the read-only exported one??
>
> Thanks for any hands-on experience hints.

I've done this before. Unfortunately debian doesn't like a read-only
root. The way I made it work was to mount --bind read-write copies of
all the files on root that needed to be rw, or the files I just needed
to be different on the client than the server, very early in the boot
process. After that it worked, except that NFS randomly died so much I
gave up on it.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • NFS rooting current root
    ... are there any opinions on risks and benefits of exporting my ... client that provides just /var and does an nfsroot mount of ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: NFS rooting current root
    ... are there any opinions on risks and benefits of exporting my ... client that provides just /var and does an nfsroot mount of ... exporting /etc without no_root_squash means being able to read ...
    (Debian-User)
  • Re: How to export vfat partition correctly?
    ... issue is NFS exporting. ... Then add to the client /etc/fstab: ... user1@tong:~ $ mount /ting-w98 ... the /w98 mountpoint of the vfat to be able to nfs mount it on the client. ...
    (comp.os.linux.networking)
  • Can you export form objects
    ... I frequently have to send clients updates to their database. ... exporting the form to a blank database and ... sending that to the client (where they in turn import the udpate to their ...
    (microsoft.public.access.externaldata)
  • Re: Strangeness with automounter (amd)
    ... A host starts exporting a new file system and everyone sees it ... > running FC3 that won't see new exports for any host without a reboot. ... firewall on the client and on the server. ...
    (Fedora)