Re: NFS trouble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, first time I tried to export something different than an ext2fs device. It works. Now what I don't know is whether this has something to do with it being an ext2 fs or with the permissions. (regular users not being able to mount ext2 filesystems) D. >> > David, Could you do ls -l /mnt, and include your fstab as well as > your /etc/exports file? This is very important because maybe the > issue lies with permissions of the files and directories, as well > as whether or not those are the actual mountpoints for the drives, > symlinks, or the like (at least in my case). Thanks, -Garrett > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to > "[EMAIL PROTECTED]" > !DSPAM:43d3d4b9422851469518719! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD0+qI/sLffsMilEkRAqxLAJwIX4h9rNK7yrwsrKTC7a8G2jdJAgCgz42I ZBsnHxGZ+ivUikT1RUCPmrY= =SA1G -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > David, > Could you do ls -l /mnt, and include your fstab as well as your /etc/exports file? This is very important because maybe the issue lies with permissions of the files and directories, as well as whether or not those are the actual mountpoints for the drives, symlinks, or the like (at least in my case). > Thanks, > -Garrett Hi Garrett, I've been aware of the symlink problem, but that shouldn't be the cause. However: etc/exports: - -- /mnt/music -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask 255.255.255.0 /mnt/wd2 -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask 255.255.255.0 /mnt/wd1 -alldirs,quiet stilgar lusitania localhost - --- - --- /etc/fstab: - --- # DeviceMountpoint FStype Options DumpPass# /dev/ar0s1b noneswapsw 0 0 /dev/ar0s1a / ufs rw 1 1 /dev/ar0s1e /tmpufs rw 2 2 /dev/ar0s1f /usrufs rw 2 2 /dev/ar0s1d /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto,user 0 0 #D.R. FreeBSD does not support user as an argument for ext2fs /dev/da0s1 /mnt/music ext2fs rw,noauto 0 0 /dev/da1s5 /mnt/wd1ext2fs rw,noauto 0 0 /dev/da1s6 /mnt/wd2ext2fs rw,noauto 0 0 - --- - --- ls -l /mnt: - --- [EMAIL PROTECTED] ls -l /mnt/ total 54 drwxrwxr-x 31 nobody users 4096 Jan 17 18:47 music drwxr-xr-x 2 root wheel512 Jan 5 17:07 stick drwxr-xr-x 9 kwisatz users 45056 Jan 19 22:51 wd1 drwxrwxr-x 12 nobody users 4096 Jan 21 21:38 wd2 which reminds me of the fact, that I cannot mount ext2fs devices as a regular user. Maybe that is the problem? I'll try a non-external hdd share D. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD0+fi/sLffsMilEkRAuVhAJ9oJiezHTq3L4nV2Q/XhL/suZZMigCfcfa2 +YW6sqytwiLdxMkcUUJyJnQ= =2BL2 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
--- David Raison <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Sure thing, but I wish to share my external usb > hdds which are mounted > @ those mountpoints. > > > /mnt is usually a mount point, are you sure > you don't have it > > backwards? > > > /etc/exports on server1: > > > /usr -alldirs -mapall=root:bin 10.1.1.1 > > > mount with: > > > mount server1:/mnt /usr > > this one's wrong though, isn't it? if you > export /usr, you'd mount > server1:/usr, wouldn't you? > > > This allows a client at 10.1.1.1 to mount > /usr and any decendents. yes, or course. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
David Raison wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sadly even that simple example doesn't work. There's no output of mountd in the syslog and showmount -e doesn't list any shares either. David Andrew P. wrote: On 1/22/06, David Raison <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andrew Right, that's a point I had forgotten to post, although not a very surprising one [EMAIL PROTECTED] showmount -e lusitania Exports list on lusitania: [EMAIL PROTECTED] Look for mountd log messages on the server (`dmesg -a` should contain them, if you're lucky). Just run "/etc/rc.d/mountd reload" and see what gets into syslog. The problem is probably in /etc/exports. Start with something simple, like '/mnt/music -ro' -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD06qn/sLffsMilEkRAqm1AKCGsecn6yTHLZqbfOaDndor2wwPIACgoWtk v2fVju7DvuecpHwpQBVyke8= =EKUM -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" David, Could you do ls -l /mnt, and include your fstab as well as your /etc/exports file? This is very important because maybe the issue lies with permissions of the files and directories, as well as whether or not those are the actual mountpoints for the drives, symlinks, or the like (at least in my case). Thanks, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sure thing, but I wish to share my external usb hdds which are mounted @ those mountpoints. > /mnt is usually a mount point, are you sure you don't have it > backwards? > /etc/exports on server1: > /usr -alldirs -mapall=root:bin 10.1.1.1 > mount with: > mount server1:/mnt /usr this one's wrong though, isn't it? if you export /usr, you'd mount server1:/usr, wouldn't you? > This allows a client at 10.1.1.1 to mount /usr and any decendents. D. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD07qm/sLffsMilEkRAhlPAJ4v6306hE83BmU0V2VzG8f5/asxXgCgrqye G7KlUbMCaT/R00c4MOcxXF0= =XsJM -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
--- David Raison <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Sadly even that simple example doesn't work. > There's no output of mountd in the syslog and > showmount -e doesn't > list any shares either. > > David > > Andrew P. wrote: > > > On 1/22/06, David Raison <[EMAIL PROTECTED]> > wrote: > > > >> -BEGIN PGP SIGNED MESSAGE- Hash: > SHA1 > >> > >> Hi Andrew > >> > >> Right, that's a point I had forgotten to > post, although not a > >> very surprising one > >> > >> [EMAIL PROTECTED] showmount -e lusitania > Exports list on lusitania: > >> [EMAIL PROTECTED] > > > > > > Look for mountd log messages on the server > (`dmesg -a` should > > contain them, if you're lucky). Just run > "/etc/rc.d/mountd reload" > > and see what gets into syslog. > > > > The problem is probably in /etc/exports. > Start with something > > simple, like '/mnt/music -ro' > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.2 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - > http://enigmail.mozdev.org > > iD8DBQFD06qn/sLffsMilEkRAqm1AKCGsecn6yTHLZqbfOaDndor2wwPIACgoWtk > v2fVju7DvuecpHwpQBVyke8= > =EKUM > -END PGP SIGNATURE- > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > /mnt is usually a mount point, are you sure you don't have it backwards? /etc/exports on server1: /usr -alldirs -mapall=root:bin 10.1.1.1 mount with: mount server1:/mnt /usr This allows a client at 10.1.1.1 to mount /usr and any decendents. DT __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sadly even that simple example doesn't work. There's no output of mountd in the syslog and showmount -e doesn't list any shares either. David Andrew P. wrote: > On 1/22/06, David Raison <[EMAIL PROTECTED]> wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Hi Andrew >> >> Right, that's a point I had forgotten to post, although not a >> very surprising one >> >> [EMAIL PROTECTED] showmount -e lusitania Exports list on lusitania: >> [EMAIL PROTECTED] > > > Look for mountd log messages on the server (`dmesg -a` should > contain them, if you're lucky). Just run "/etc/rc.d/mountd reload" > and see what gets into syslog. > > The problem is probably in /etc/exports. Start with something > simple, like '/mnt/music -ro' > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD06qn/sLffsMilEkRAqm1AKCGsecn6yTHLZqbfOaDndor2wwPIACgoWtk v2fVju7DvuecpHwpQBVyke8= =EKUM -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
On 1/22/06, David Raison <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Andrew > > Right, that's a point I had forgotten to post, although not a very > surprising one > > [EMAIL PROTECTED] showmount -e lusitania > Exports list on lusitania: > [EMAIL PROTECTED] Look for mountd log messages on the server (`dmesg -a` should contain them, if you're lucky). Just run "/etc/rc.d/mountd reload" and see what gets into syslog. The problem is probably in /etc/exports. Start with something simple, like '/mnt/music -ro' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andrew Right, that's a point I had forgotten to post, although not a very surprising one [EMAIL PROTECTED] showmount -e lusitania Exports list on lusitania: [EMAIL PROTECTED] Andrew P. wrote: > `showmount -e lusitania`? > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD05sM/sLffsMilEkRAvNrAJ9Tpa/FX0sd8R2sUB19V9+/EYz2GACfcEcD jQoXG3IfoW+u7VOqpTIQJWc= =JR37 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS trouble
`showmount -e lusitania`? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS trouble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I need to set up an nfs server on one of my machines, and so far I've been pretty unsuccessful ;( I'd like to access the nfs shares with some macOSX and a linux box. I followed the guidelines in both the linux and freeBSD nfs howtos, but to no avail. This is my setup: - /etc/exports: /mnt/music -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask 255.255.255.0 /mnt/wd2 -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask 255.255.255.0 /mnt/wd1 -mapall=nobody -alldirs,quiet stilgar lusitania localhost - [EMAIL PROTECTED] rpcinfo -p program vers proto port service 104 tcp111 rpcbind 103 tcp111 rpcbind 102 tcp111 rpcbind 104 udp111 rpcbind 103 udp111 rpcbind 102 udp111 rpcbind 104 local111 rpcbind 103 local111 rpcbind 102 local111 rpcbind 151 udp976 mountd 153 udp976 mountd 151 tcp761 mountd 153 tcp761 mountd 132 udp 2049 nfs 133 udp 2049 nfs 132 tcp 2049 nfs 133 tcp 2049 nfs - - - - those are the error messages I receive from either the localhost or the linux box (stilgar) [EMAIL PROTECTED] mount localhost:/mnt/wd1 /mnt/stick/ [udp6] localhost:/mnt/wd1: Permission denied [udp] localhost:/mnt/wd1: Permission denied - -- stilgar ~ # mount -t nfs lusitania:/mnt/wd1/ /mnt/tmp/ mount: lusitania:/mnt/wd1/ failed, reason given by server: Permission denied - - and finally /var/log/messages: Jan 22 11:00:11 lusitania mountd[413]: mount request denied from 192.168.1.104 for /mnt/wd1 Jan 22 11:01:29 lusitania mountd[413]: mount request denied from ::1 for /mnt/wd1 Jan 22 11:01:29 lusitania mountd[413]: mount request denied from 127.0.0.1 for /mnt/wd1 - - everything described in the linux nfs howto (http://nfs.sourceforge.net/nfs-howto/troubleshooting.html) under section 7.3.a works fine though. does anybody have an idea what could be the cause for this behaviour? many thanks in advance, cheers David -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD01wg/sLffsMilEkRApY2AJ9nB4k6Pu7on2wC19cjnvtDqmh3EACeMcf7 HHtABSlUKQ/YgCB2MqzRZXo= =zaI7 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"