Re: NFS trouble

2006-01-22 Thread Andrew P.
`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]


Re: NFS trouble

2006-01-22 Thread David Raison
-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

2006-01-22 Thread Andrew P.
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

2006-01-22 Thread David Raison
-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

2006-01-22 Thread Danial Thom


--- 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

2006-01-22 Thread David Raison
-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

2006-01-22 Thread Garrett Cooper

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

2006-01-22 Thread Danial Thom


--- 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

2006-01-22 Thread David Raison
-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

2006-01-22 Thread David Raison
-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]