LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-23-2004, 06:13 PM   #1
baetmaen
LQ Newbie
 
Registered: Aug 2004
Location: Germany, HE
Posts: 12

Rep: Reputation: 0
NFS mount from deban to suse


Hi,

I have problems accessing my Suse 8.1 NFS Server from Debian "Woody".

here is the /etc/exports line:
Code:
/mega/smb/big   192.168.100.0/24(ro,root_squash,sync)
And here is the /etc/fstab line from the debian client:
Code:
192.168.100.200:/megsa/smb/big  /mega   nfs     ro
On the server I get these syslog messages:
Code:
Aug 24 00:51:27 bi mountd[30714]: NFS mount of /megsa/smb/big attempted from 192.168.100.11
Aug 24 00:51:27 bi mountd[30714]: NFS client tv.bingemer.lan tried to access /megsa/smb/big
Aug 24 00:51:27 bi mountd[30714]: Blocked attempt of 192.168.100.11 to mount /megsa/smb/big
And here is the output of the client when I try to mount manually:
Code:
tv:/video0/film# mount /mega
mount: 192.168.100.200:/megsa/smb/big failed, reason given by server: Keine Berechtigung
Does somebody have any idea whats wrong here ?

Best regards
joerg
 
Old 08-24-2004, 01:14 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
Looks like a typo.

You are exporting:
/mega/smb/big

You are trying to mount:
/megsa/smb/big
 
Old 08-24-2004, 03:40 AM   #3
baetmaen
LQ Newbie
 
Registered: Aug 2004
Location: Germany, HE
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by idaho
Looks like a typo.

You are exporting:
/mega/smb/big

You are trying to mount:
/megsa/smb/big
Hi,

thanks for the help, but its still not working I did also try to mount it manually and there was the same error...

After correcting the fstab entry, I still get the same error,

joerg
 
Old 08-24-2004, 08:42 PM   #4
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
What do you see if you invoke:

showmount -e 192.168.100.200
 
Old 08-24-2004, 09:24 PM   #5
gkrckid
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat
Posts: 1

Rep: Reputation: 0
Try changing 192.168.100.0/24(ro,root_squash,sync)

to 192.168.100.0/24(ro,no_root_squash,sync)

This info is in the man page for exports if I remember correctly

Good luck


GK
 
Old 08-25-2004, 01:41 AM   #6
baetmaen
LQ Newbie
 
Registered: Aug 2004
Location: Germany, HE
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by idaho
What do you see if you invoke:

showmount -e 192.168.100.200

Here is the output of the above command:
Code:
Export list for 192.168.100.200:
/mega/smb/vdrtmp tv.bingemer.lan
/mega/smb/big    192.168.100.0/24
 
Old 08-25-2004, 01:46 AM   #7
baetmaen
LQ Newbie
 
Registered: Aug 2004
Location: Germany, HE
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by gkrckid
Try changing 192.168.100.0/24(ro,root_squash,sync)

to 192.168.100.0/24(ro,no_root_squash,sync)

This info is in the man page for exports if I remember correctly

Good luck


GK
Thanks for the Good luck

But this also did not change anything.

The Line looks like this now:
Code:
/mega/smb/big   192.168.100.0/24(ro,no_root_squash,sync)
And it still gives me the same error


joerg
 
Old 08-25-2004, 02:14 AM   #8
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
It looks like you have things set up so it should work. Since things are not working here is how I would try to pick the problem apart:

1) Does /mega/smb/big exist on your server?
2) Can you nfs mount /mega/smb/big on your server?
3) Can you mount if you export without any options (just list the mount point in your /etc/exports file)?

In each case, check whether the error messages are the same as the original error message - or has the mount attempt failed in a different fashion.

I would also suggest you not tweak the /etc/fstab file until you get the manual mount to work - a typo there could make your life difficult.
 
Old 08-25-2004, 03:45 AM   #9
baetmaen
LQ Newbie
 
Registered: Aug 2004
Location: Germany, HE
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by idaho

1) Does /mega/smb/big exist on your server?
Yes It does.

Quote:
2) Can you nfs mount /mega/smb/big on your server?
3) Can you mount if you export without any options (just list the mount point in your /etc/exports file)?
After changing export line to:
Code:
/mega/smb/big           192.168.100.200
# Where 192.168.100.200 is the ip of the server without options
I was able to mount it on the server. So I changed this line to :

Code:
/mega/smb/big           192.168.100.11
# Where 192.168.100.11 is the ip of the client again without options
I was finally able to mount the share with the following command:
Code:
mount -o ro bi:/mega/smb/big /mega
So I changed the share in exports to the subdirectory: /mega/smb/big/mp3 which was the directory I need to access. The client is my Television Media PC (running vdr) and it should be able to play my mp3's.
And now even the fstab entry seems to work

Thanks a lot....Great !
joerg
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
MacOS X Panther canīt mount SuSE 9.1 NFS directory cecilcosta Linux - Networking 3 01-08-2005 05:59 AM
Just installed Deban.. mark52230 Debian 45 08-22-2004 08:38 AM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration