LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-11-2006, 02:37 PM   #1
InJesus
Member
 
Registered: Oct 2005
Location: MN
Distribution: Slack, Slamd64
Posts: 33

Rep: Reputation: 15
Mounting NFS


Hey all,

I've got a box that's in our hosts site, they maintain all the boxes except this one I just put up. They have a nfs snap device that does our backups and such. I need to get that mounted and they are not able to provide me much help. On their boxes this is the line in fstab to mount it

Code:
snap          /mnt/share              nfs     defaults        0 0
if I do this: (I have created /mnt/share locally)
Code:
root@dev:/mnt# mount -t nfs snap /mnt/share
mount: directory to mount not in host:dir format

root@dev:/mnt# mount -t nfs xxx.xx.x.xx /mnt/share
mount: directory to mount not in host:dir format

or I've tried this as well

Code:
root@dev:/mnt# mount -t auto snap /mnt/share
mount: special device snap does not exist

root@dev:/mnt# mount -t auto xxx.xx.x.xx /mnt/share
mount: special device xxx.xx.x.xx does not exist
also, the device is visable to me, I can ping it

Last edited by InJesus; 09-11-2006 at 02:49 PM.
 
Old 09-11-2006, 03:33 PM   #2
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
Hello,

you are trying to mount a complete servers filesystem.
This is not possible.
Check /etc/exports for the exported directorys.

Change snap in your fstab to snap:/directory/to/mount

HTH
 
Old 09-11-2006, 03:44 PM   #3
InJesus
Member
 
Registered: Oct 2005
Location: MN
Distribution: Slack, Slamd64
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by karpi
Hello,

you are trying to mount a complete servers filesystem.
This is not possible.
Check /etc/exports for the exported directorys.

Change snap in your fstab to snap:/directory/to/mount

HTH
that's their fstab, and it works perfectly there.......on one of there servers there is nothing in /etc/exports
 
Old 09-12-2006, 05:11 AM   #4
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
Chapters 3 and 4 of the nfs howto is where you need to be and its pretty simple reading, http://nfs.sourceforge.net/nfs-howto/

on the server you need to have edited /etc/hosts.allow etc/hosts/deny these files say who gets access and who don't. You need to edit /etc/exports to declare what directory(ies) get exported under what conditions and finaly you need the line in /etc/fstab on the client side

It's not tha difficult and the howto chapters are short. Also make sure that /etc/rc.d/rc.nfsd and /etc/rc.portmao are running too.
 
Old 09-12-2006, 05:45 AM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
just another link for you on nfs from alien bob's wiki, he did a nice job putting it into language that my feeble brain can tolerate :http://alien.slackbook.org/dokuwiki/...s_on_slackware
 
Old 09-12-2006, 09:49 AM   #6
InJesus
Member
 
Registered: Oct 2005
Location: MN
Distribution: Slack, Slamd64
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks for the resourses guys, I couldn't find much on my own

Cheers n GB

josh
 
  


Reply



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 digital camera, mounting in general? lugoteehalt Linux - Hardware 6 08-29-2006 12:52 PM
LXer: Lessons learned from the NSF TeraGrid LXer Syndicated Linux News 0 04-28-2006 12:21 PM
Problems Installing Mandriva Via Home Nsf Server (or ftp) nonsense28sal Mandriva 1 07-11-2005 02:23 PM
Need help in setting up FTP server or NSF for Suse 8.1 ikw38 Linux - Networking 1 05-16-2003 11:01 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:00 PM.

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
Open Source Consulting | Domain Registration