Re: Problems with mounting NFS share located on a Linux machine
On 2/25/07, Vince <[EMAIL PROTECTED]> wrote: Just a guess but depending on the permissions of the directories, you may need to turn off 'root_squash' or set it to a user with read permissions, the linux man page for exports covers the linux syntax for this. Vince Thanks for the response. I revised /etc/exports to include options (all_squash, anonuid=1000, anongid=1000), which from my understanding should map all users to the given UID and GID. Still the same story, though; mounts just fine, but no files even though I know for sure there's a folder chowned to 1000:1000. Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with mounting NFS share located on a Linux machine
Richard Krushelnitskiy wrote: Hi, I have a Linux machine which acts as a NFS server and I'm trying to mount the share on FreeBSD. While the mount command succeeds and I see no errors and Linux doesn't show anything unusual in the logs, when I try to list the files in the mounted directory, none show up. Doing 'df' on both machines reports the same size/usage/free numbers for the partition. I'm lost as to how to further analyze the problem. Contents of /etc/exports on the Linux system (galadriel): -- # /etc/exports: NFS file systems being exported. See exports(5). /home 192.168.1.100(rw,sync) -- [*] 192.168.1.100 refers to the FreeBSD machine (elrond). -- [EMAIL PROTECTED] ~ # showmount -e galadriel Exports list on galadriel: /home elrond.rivendell.lan -- [EMAIL PROTECTED] ~ 0# mount_nfs galadriel:/home /mnt/linux_home [EMAIL PROTECTED] ~ 0# df Filesystem 1K-blocks Used Avail Capacity Mounted on [other FreeBSD mounts] galadriel:/home 10321208 131276 9665644 1%/mnt/linux_home -- galadriel ~ # df Filesystem 1K-blocks Used Available Use% Mounted on [other Linux mounts] /dev/hda8 10321208131276 9665644 2% /home -- galadriel ~ # tail /var/log/messages Feb 24 19:13:33 galadriel rpc.mountd: export request from 192.168.1.100 Feb 24 19:14:30 galadriel rpc.mountd: authenticated mount request from elrond.rivendell.lan:670 for /home (/home) -- Hope these outputs help :) Just a guess but depending on the permissions of the directories, you may need to turn off 'root_squash' or set it to a user with read permissions, the linux man page for exports covers the linux syntax for this. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problems with mounting NFS share located on a Linux machine
Hi, I have a Linux machine which acts as a NFS server and I'm trying to mount the share on FreeBSD. While the mount command succeeds and I see no errors and Linux doesn't show anything unusual in the logs, when I try to list the files in the mounted directory, none show up. Doing 'df' on both machines reports the same size/usage/free numbers for the partition. I'm lost as to how to further analyze the problem. Contents of /etc/exports on the Linux system (galadriel): -- # /etc/exports: NFS file systems being exported. See exports(5). /home 192.168.1.100(rw,sync) -- [*] 192.168.1.100 refers to the FreeBSD machine (elrond). -- [EMAIL PROTECTED] ~ # showmount -e galadriel Exports list on galadriel: /home elrond.rivendell.lan -- [EMAIL PROTECTED] ~ 0# mount_nfs galadriel:/home /mnt/linux_home [EMAIL PROTECTED] ~ 0# df Filesystem 1K-blocks Used Avail Capacity Mounted on [other FreeBSD mounts] galadriel:/home 10321208 131276 9665644 1%/mnt/linux_home -- galadriel ~ # df Filesystem 1K-blocks Used Available Use% Mounted on [other Linux mounts] /dev/hda8 10321208131276 9665644 2% /home -- galadriel ~ # tail /var/log/messages Feb 24 19:13:33 galadriel rpc.mountd: export request from 192.168.1.100 Feb 24 19:14:30 galadriel rpc.mountd: authenticated mount request from elrond.rivendell.lan:670 for /home (/home) -- Hope these outputs help :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with UBUNTU mounting NFS share from FreeBSD
stan <[EMAIL PROTECTED]> wrote: > > I've got a 4.11-STABLE FreeBSD machine that I'd like to provide NFS > services to some UBUNTU 6.10 machines. I've put the following in > /etc/exports: > > /usr /usr/local/www/data/pictures -alldirs-maproot=0 all > > When I try to mount this, I get: > > [EMAIL PROTECTED]:~# mount black:/usr /tmp/mnt > mount: black:/usr failed, reason given by server: Permission denied > > And I see the following in dmesg on the FreeBSD machine: > > NFS request from unprivileged port (205.159.77.59:36731) > nfsd send error 32 > > I thought that I rembered having to add an option to omethng (monthd ?) to > allow it to prvide services on on privleged port, but the mountd man page > does not seem to have such an option. > > How can I amke this work? >From the man page for mountd: -n Allow non-root mount requests to be served. This should only be specified if there are clients such as PC's, that require it. It will automatically clear the vfs.nfsrv.nfs_privport sysctl flag, which controls if the kernel will accept NFS requests from reserved ports only. Alternatively, you can adjust the Ubuntu clients so they're trying to mount the drives as root from the assigned port. -Bill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problems with UBUNTU mounting NFS share from FreeBSD
I've got a 4.11-STABLE FreeBSD machine that I'd like to provide NFS services to some UBUNTU 6.10 machines. I've put the following in /etc/exports: /usr /usr/local/www/data/pictures -alldirs-maproot=0 all When I try to mount this, I get: [EMAIL PROTECTED]:~# mount black:/usr /tmp/mnt mount: black:/usr failed, reason given by server: Permission denied And I see the following in dmesg on the FreeBSD machine: NFS request from unprivileged port (205.159.77.59:36731) nfsd send error 32 I thought that I rembered having to add an option to omethng (monthd ?) to allow it to prvide services on on privleged port, but the mountd man page does not seem to have such an option. How can I amke this work? -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounting nfs share
On Fri, Mar 17, 2006 at 04:24:47PM +0500, Imran Imtiaz wrote: > what is the command to mount NFS share? # mount -t nfs server:/path/on/server /path/local Please have a look at the man page: man mount_nfs and the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html bye, Uwe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounting nfs share
On 17/3/06 11:24, "Imran Imtiaz" <[EMAIL PROTECTED]> wrote: > what is the command to mount NFS share? See the mount_nfs manpage. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mounting nfs share
what is the command to mount NFS share? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"