Re: [Question] mount points on knfsd.

Matthias Urlichs (smurf@noris.de)
11 Sep 1998 22:35:20 +0200


"G. Allen Morris III" <gam3@gam3.sehda.com> writes:
>
> As an example: if computer A has /usr all on one partition
> Computer B mount A:/usr on /usr
> Computer A then mounts C:/usr/X11R6 on /usr/X11R6

Or maybe not C:/usr/X11R6, but /dev/sdd1.

> And then some would suggest that C:/usr/X11R6 should be displayed.
>
Yep. For local mounts, at least. Extending this through NFS (or any other
remote file system, for that matter) is usually a rather bad idea because
you can get deadlocks pretty damn quick if you're not careful, but I'd like
to have the option.

I have one really basic requirement for my NFS daemon -- I need to be able
to rearrange local disks on my server machines, and NO client should
require any change. I also need to be able to reinstall a machine by
mounting master:/ onto /master, /dev/sda1 onto /slave, mount the required
local file systems to /slave/usr or /slave/boot or whatever, cp -av
/master/* /slave, lilo -r /slave, umount -a, reboot. Done, except for a few
trivial changes under /slave/etc of course, like for instance the IP
address. ;-) If this installation procedure would require me to mount
/master/usr and /master/var and /master/boot and /master/usr/local and
/master/usr/X11R6 and /master/you/forgot/one, I'd go crazy, and it'd be
faster+cheaper to burn an image of master:/ onto CD-ROM every week.

This is exactly how the usermode NFS daemon works. This is how I want the
kernel NFS daemon to work too.

I do know that no other kernel-based NFS server does this.
So what?

-- 
Matthias Urlichs      |        noris network GmbH      |       smurf@noris.de
The quote was selected randomly. Really.    |      http://www.noris.de/~smurf/
-- 
It were better to perish than to continue schoolmastering.
                                       -- Thomas Carlyle

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