Subject: Re: RPC/mountd problems
To: Ian Zagorskih <ianzag@megasignal.com>
From: David P. Reese Jr. <daver@gomerbud.com>
List: tech-net
Date: 07/12/2004 01:21:00
On Wed, Jul 07, 2004 at 11:36:06PM +0700, Ian Zagorskih wrote:
> Ugh-ugh.. Ok, i got it. But what should i do if i need to host many projects
> on some server and export them with NFS ? As minimum, different projects have
> different access rules. Assigning one mount point per project isn't too good.
> I can reach the limit of disklabel too fast, not mentioning the
> administrative nightmare..
Use nullfs mounts. This is how I get around this problem with multiple
diskless clients. In your case, you'll want to do something like the
following.
o Create an /export/ directory with subdirectories naming your different
exports.
o Append to fstab:
/home/project1 /export/project1 null rw 0 0
/home/project2 /export/project2 null rw 0 0
/home/project3 /export/project3 null rw 0 0
o Then make your exports look like this:
/export/project1 <project1 hosts>
/export/project2 <project2 hosts>
/export/project3 <project3 hosts>
--
David P. Reese, Jr. daver at gomerbud.com