LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-24-2006, 05:00 AM   #1
jon23d
Member
 
Registered: May 2006
Location: Kennewick, WA - USA
Distribution: Ubuntu
Posts: 129

Rep: Reputation: 15
mounting nfs share


I am running slackware on a host machine running debian as a guest OS in vmware. I am trying to access my download folder so that I can install basic software without having to download it again in the guest OS!

As per the instructions in the slackbook I have added the following line to /etc/exports:

/home/jon23d/download 192.168.254.130(ro)

The IP listed is the ip of the guest OS. I have tried using other option combinations as well, but none of them seem to be helping! I would like to be able to let any of my guest OSs access this folder without having to change the UID or GID of the guest OS user.

I have added the following line to /etc/fstab in debian:

192.168.0.10:/home/jon23d/download /download nfs ro 0 0

So far so good..

Then I go to mount it that folder:

mount -t nfs 192.168.0.10:/home/jon23d/download /download

Alas... nothing happens, I have to press ctrl-c to get out of the nothingness... Any suggestions?
 
Old 06-24-2006, 06:19 AM   #2
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 30
Have you tried rpcinfo to see if everything is running?
Did you run /etc/rc.d/rc.nfsd?

If you have the exported fs listed in fstab, you can just type:
Code:
mount /download
You could use scp or sftp instead.
 
Old 06-24-2006, 08:14 AM   #3
sbabaro
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Rep: Reputation: 0
You can also use shfs
 
Old 06-24-2006, 11:21 PM   #4
jon23d
Member
 
Registered: May 2006
Location: Kennewick, WA - USA
Distribution: Ubuntu
Posts: 129

Original Poster
Rep: Reputation: 15
Thanks for the replies. I'd really like to figure out how to use NFS, who knows when it could come in handy. Am I correct in assuming that it is the standard way of hooking several linux boxes together?

I am still unable to connect, I have tried to do so on several different guest systems. If I am doing everything right then I wonder if it has something to do with the guest OS. When I enter the mount command I just get a blank line and sit there till I kill it...
 
Old 06-25-2006, 03:19 AM   #5
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Are you making sure that portmap is running on the client and server?

9 times out of 10, when I can't get a NFS share to mount, it is because I forgot to start portmap on the client machine.
 
  


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
Mounting an NFS share w/wireless cwwilson721 Slackware 1 03-31-2006 09:04 PM
Mounting NFS Share To Another Machine mijohnst Linux - Networking 8 06-24-2005 10:30 AM
mounting a NFS share using samba phatboyz Linux - Software 2 03-30-2004 12:26 PM
nfs share is not mounting automatically pawlub Linux - General 1 01-03-2004 06:21 PM
long delay mounting nfs share Jim Miller Linux - Networking 3 08-28-2003 02:49 AM


All times are GMT -5. The time now is 11:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration