Groups > SUSE Linux > opensuse networking > Re: Problem setting up NFS shares




Problem setting up NFS shares

Problem setting up NFS shares
Sun, 20 Jan 2008 18:36:01 GMT
Hi,

Problem setting up shares.

My /etc/exports file:

linux-eedt:/etc # cat exports
/home/dankoc/My\040Pictures    
192.168.0.0(rw,root_squash,sync,no_subtree_check)
/home/dankoc/My\040Music       
192.168.0.0(rw,root_squash,sync,no_subtree_check)

Using: exportfs -r shows two warnings:

linux-eedt:/home/dankoc # exportfs -r
exportfs: Warning: /home/dankoc/My Pictures does not support NFS
export.
exportfs: Warning: /home/dankoc/My Music does not support NFS export.

And I can not see the shares from my laptop.

Reading about this problem on Google, I see that people have trouble
sharing NTFS drives using (in Ubuntu), but this hard drive is
ReiserFS.

The strange thing is: sometimes the shares work without a problem! 
Usually they do not.

Anyone have any suggestions?

Thanks very much in advance!
Charles


-- 
dankoc
------------------------------------------------------------------------
dankoc's Profile: http://forums.novell.com/member.php?userid=3112
View this thread: http://forums.novell.com/showthread.php?t=308186
Post Reply
Re: Problem setting up NFS shares
Sun, 20 Jan 2008 19:12:36 GMT
dankoc wrote:

> 
> Hi,
> 
> Problem setting up shares.
> 
> My /etc/exports file:
> 
> linux-eedt:/etc # cat exports
> /home/dankoc/My\040Pictures
> 192.168.0.0(rw,root_squash,sync,no_subtree_check)
> /home/dankoc/My\040Music
> 192.168.0.0(rw,root_squash,sync,no_subtree_check)
> 
> Using: exportfs -r shows two warnings:
> 
> linux-eedt:/home/dankoc # exportfs -r
> exportfs: Warning: /home/dankoc/My Pictures does not support NFS
> export.
> exportfs: Warning: /home/dankoc/My Music does not support NFS export.
> 
> And I can not see the shares from my laptop.
> 
> Reading about this problem on Google, I see that people have trouble
> sharing NTFS drives using (in Ubuntu), but this hard drive is
> ReiserFS.
> 
> The strange thing is: sometimes the shares work without a problem!
> Usually they do not.
> 
> Anyone have any suggestions?
> 
> Thanks very much in advance!
> Charles
> 
> 

I see you have My\040Pictures. I assume the \040 is unicode for a space?
Have you tried renaming the folder to have an underscore and export that?
-- 
Alvin
Post Reply
Re: Problem setting up NFS shares
Sun, 20 Jan 2008 22:46:02 GMT
Hi,

Thanks for the advice, renaming took care of the "does not support NFS
export." warning.

I am still not seeing the mount on the other computer though.

My NFS fstab entries (on the client computer) are:
MASKED_MY_OTHER_IP:/media/local     /mnt/NFS/UpstateWork    nfs    
defaults 0 0
192.168.0.190:/home/dankoc/My_Pictures  /mnt/NFS/AlamutPictures nfs    
defaults 0 0
192.168.0.190:/home/dankoc/My_Music     /mnt/NFS/AlamutMusic    nfs    
defaults 0 0

Opening the directory "/mnt/NFS/AlamutPictures" shows nothing in it.

Trying to mount via console gives the following error:
dankoc@linux-1mst:/mnt/NFS> sudo mount -o rw
192.168.0.190:/home/dankoc/My_Pictures AlamutPictures/
mount: 192.168.0.190:/home/dankoc/My_Pictures failed, reason given by
server: Permission denied

Sending Konqueror to this URL:
nfs://192.168.0.190/home/dankoc/My_Pictures

gives this error:
An error occurred while loading
nfs://192.168.0.190/home/dankoc/My_Pictures:
Authorization failed, 192.168.0.190 authentication not supported

I suspect that it is still the host computer, because the client
connects fine to a Ubuntu 7.10 box at school (the first fstab entry).

Any suggestions on what could be wrong?

Thanks again for any and all help!
Charles


-- 
dankoc
------------------------------------------------------------------------
dankoc's Profile: http://forums.novell.com/member.php?userid=3112
View this thread: http://forums.novell.com/showthread.php?t=308186
Post Reply
Re: Problem setting up NFS shares
Wed, 23 Jan 2008 14:16:47 GMT
dankoc wrote:
> Trying to mount via console gives the following error:
> dankoc@linux-1mst:/mnt/NFS> sudo mount -o rw
> 192.168.0.190:/home/dankoc/My_Pictures AlamutPictures/
> mount: 192.168.0.190:/home/dankoc/My_Pictures failed, reason given by
> server: Permission denied

I checked your previous post and I see from your /etc/exports file that you
have:

> linux-eedt:/etc # cat exports
> /home/dankoc/My\040Pictures    
> 192.168.0.0(rw,root_squash,sync,no_subtree_check)
> /home/dankoc/My\040Music       
> 192.168.0.0(rw,root_squash,sync,no_subtree_check)

Try replacing the 192.168.0.0 with 192.168.0.*. If that doesn't work, try
replacing the whole IP with an asterix (*) as in:

/home/dankoc/My_Pictures    *(rw,root_squash,sync,no_subtree_check)

If that works, then it's an IP problem.


-- 
Alvin
Post Reply
about | contact