Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old November 8th, 2004   #1
panickedthumb
Cloned
 
panickedthumb's Avatar
 
Join Date: Oct 2004
Location: /home
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to panickedthumb Send a message via AIM to panickedthumb Send a message via MSN to panickedthumb Send a message via Yahoo to panickedthumb Send a message via Skype™ to panickedthumb
NFS howto?

I tried this one: http://www.ibiblio.org/mdw/HOWTO/NFS-HOWTO/
But whenever I try to mount the drives it says connection refused. I know I'm using the right IP addresses. In our apartment there are 3 ubuntu machines, mine is the only one on Hoary, the others are Warty 386 and Warty ppc. No windows machines or apple machines, so no need for samba/appletalk. Is there any straightforward howto on how to get NFS to work? Thanks
panickedthumb is offline   Reply With Quote
Old November 8th, 2004   #2
az
just this guy, you know.
 
az's Avatar
 
Join Date: Oct 2004
Location: Kingston, On
My beans are hidden!
Re: NFS howto?

There is a faq about this:
http://www.ubuntulinux.org/support/d...faq/nfs-server
az is offline   Reply With Quote
Old November 8th, 2004   #3
panickedthumb
Cloned
 
panickedthumb's Avatar
 
Join Date: Oct 2004
Location: /home
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to panickedthumb Send a message via AIM to panickedthumb Send a message via MSN to panickedthumb Send a message via Yahoo to panickedthumb Send a message via Skype™ to panickedthumb
Re: NFS howto?

Quote:
Originally Posted by azz
EXACTLY what I needed. Thanks a lot
panickedthumb is offline   Reply With Quote
Old February 9th, 2005   #4
trash
Skinny Soy Caramel Ubuntu
 
trash's Avatar
 
Join Date: Nov 2004
Location: Quebec
Beans: 687
Ubuntu 9.04 Jaunty Jackalope
Re: NFS howto?

Hey panickedthumb, what was it that you did to get it working??

I've done all of the variations, crashed a few times, tried in /mnt and home directory with varying degrees of success but nothing stable or automatic(mount at boot)... what do your working files look like?

thanks
trash is offline   Reply With Quote
Old February 9th, 2005   #5
panickedthumb
Cloned
 
panickedthumb's Avatar
 
Join Date: Oct 2004
Location: /home
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to panickedthumb Send a message via AIM to panickedthumb Send a message via MSN to panickedthumb Send a message via Yahoo to panickedthumb Send a message via Skype™ to panickedthumb
Re: NFS howto?

Well, I basically did exactly what the link provided said.
My fstab entry looks like:
192.168.1.102:/share /univac nfs rw 0 0
192.168.1.102 is the ip of the server
/univac is the shared folder.
panickedthumb is offline   Reply With Quote
Old February 9th, 2005   #6
trash
Skinny Soy Caramel Ubuntu
 
trash's Avatar
 
Join Date: Nov 2004
Location: Quebec
Beans: 687
Ubuntu 9.04 Jaunty Jackalope
Re: NFS howto?

hmmmm...

my fstab
/192.168.0.20:/home/kenji/g3stuff /home/kenji/g4space nfs rw 0 0

I am now getting permission denied...

hosts:
portmap: 192.168.0.1

exports:
/home/kenji/g3stuff 192.168.0.1(rw,async)

kinda looks like it should work but it don't
trash is offline   Reply With Quote
Old February 10th, 2005   #7
trash
Skinny Soy Caramel Ubuntu
 
trash's Avatar
 
Join Date: Nov 2004
Location: Quebec
Beans: 687
Ubuntu 9.04 Jaunty Jackalope
Re: NFS howto?

anybody got any ideas?
mount: 192.168.0.20:home/kenji/g3stuff failed, reason given by server: Permission denied

I can ping both machines(server and client)
booting the client machine, there is a message in boot saying can't get address for 192.168.0.20 (server), but ....

$ rpcinfo -p 192.168.0.20 (on both machines gives me...)
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32771 nlockmgr
100021 3 udp 32771 nlockmgr
100021 4 udp 32771 nlockmgr
100021 1 tcp 35899 nlockmgr
100021 3 tcp 35899 nlockmgr
100021 4 tcp 35899 nlockmgr
100005 1 udp 825 mountd
100005 1 tcp 828 mountd
100005 2 udp 825 mountd
100005 2 tcp 828 mountd
100005 3 udp 825 mountd
100005 3 tcp 828 mountd

I have thought firewall but i use firestarter on my client machine and as far as I understand it leaves the internal network alone aside for masq... just incase though I have the client as a trusted IP, but still no luck.
trash is offline   Reply With Quote
Old February 19th, 2005   #8
trash
Skinny Soy Caramel Ubuntu
 
trash's Avatar
 
Join Date: Nov 2004
Location: Quebec
Beans: 687
Ubuntu 9.04 Jaunty Jackalope
Re: NFS howto?

finally with a little bit of tweaking i am able to mount the share but now as soon as i try to open a file, it freezes up to the point where i no longer can even access my home directory on the client machine. can anybody tell me what i'm missing here, it all looks so simple in all the howto's, but i still see a lot of people with troubles regarding nfs.. thanks for any help
trash is offline   Reply With Quote
Old February 21st, 2005   #9
trash
Skinny Soy Caramel Ubuntu
 
trash's Avatar
 
Join Date: Nov 2004
Location: Quebec
Beans: 687
Ubuntu 9.04 Jaunty Jackalope
Re: NFS howto?

ok finally figured out the silly problem, after trying many howto's and fixes on this forum, it turned out to be a 'fix' that didn't work that i forgot to undo

the 'fix' that didn't, was in the fstab which read:
/192.168.0.20:......
and i also tried another fix that didn't, which read:
//192.168.0.20:......

what does work perfectly(for me) is:
192.168.0.20:/home/g3 /mnt/g4space nfs rw,hard,intr 0 0

*EDIT*

AUGH! after copying a couple of files to the mounted file everything froze up again!!
on shutdown i get NFS and RCP errors 101...
on boot i get 'warning NFS mount version older than kernel'... so forget the 'fix'

Last edited by trash; February 21st, 2005 at 09:14 PM..
trash is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:03 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry