LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack 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: 133

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, Salix and Porteus
Posts: 545

Rep: Reputation: 43
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,515

Rep: Reputation: 62
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 11:43 PM.

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