Re: NFS sharing /usr/ports and /usr/src
From: Rob (nospam_at_users.sourceforge.net)
Date: 02/29/04
- Previous message: dap: "MySQL and FreeBSD 4.x.. problems, problems with server"
- In reply to: Tom Munro Glass: "NFS sharing /usr/ports and /usr/src"
- Next in thread: Matthew Seaman: "Re: NFS sharing /usr/ports and /usr/src"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 Feb 2004 14:58:09 +0900 To: Tom Munro Glass <gentoo@tmgcon.com>, freebsd-questions@freebsd.org
Tom Munro Glass wrote:
> I want to NFS share /usr/ports and /usr/src from a master machine for use by
> other machines. If I specify -network and -mask options for each share, I get
> the error:
>
> mountd[101]: can't change attributes for /usr/src
> mountd[101]: bad exports list line /usr/src
>
> but if I don't have any options, the share works OK?
>
> What am I doing wrong?
I'm doing this, but use in exports:
/usr -ro -maproot=root -alldirs <ip-addresses>
which allows to mount any subdir of /usr, which on the /usr partition.
This way I can mount /usr/doc and /usr/src, readonly. Since I have
/usr/ports on a separate partition, I also have to add a line like:
/usr/ports -maproot=root <ip-addresses>
Take care of what is exported and mounted readonly and not readonly.
Hope that helps.
Cheers,
Rob.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: dap: "MySQL and FreeBSD 4.x.. problems, problems with server"
- In reply to: Tom Munro Glass: "NFS sharing /usr/ports and /usr/src"
- Next in thread: Matthew Seaman: "Re: NFS sharing /usr/ports and /usr/src"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: NFS mount issue
... > I'm trying to mount my home directory on my office box on ... NFS is very
sensitive to errors in exports. ... I wasn't root when I tried to mount!
... (freebsd-questions) - Re: NFS and loop devices
... > The exports file looks something like this: ... >> Because I do not
have as many cd and dvd readers as I have disks, ... I mount the iso files as a
loop device ... (alt.os.linux.suse) - NFS and inability to mount remotely
... I'm getting the following error trying to mount the nfs exports that I ...
to get it I'm running this mount command: ... program vers proto port service ...
(freebsd-questions) - Re: NFS and loop devices
... The exports file looks something like this: ... The "nohide" options
are required. ... > the dvd's/cd's as iso images to a large disk on the 'archive' server.
... I mount the iso files as a loop device ... (alt.os.linux.suse) - Re: [SLE] Instructions for relocating /home to a separate partition
... > Can somebody please point me to a good resource for relocating /home to a ...
> separate partition. ... If you just mount over the top of it it will be invisible,
... frozen under the surface and will still take up disk space. ... (SuSE)