View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-01-2007, 03:38 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Thumbs up Issue with NFS

Hi LinuxExperts,

In my server, i have 2 share directory in NFS.

#vi /etc/exports

/acs/public *(rw,sync)
/share/pub *(rw,sync)

i want to remove the one share directory from NFS server at the same time it won't affect the network. give some solution for me.

thank u.
Old 02-01-2007, 03:54 AM   #2
Registered: Jan 2006
Location: Chennai, Tamil nadu, India
Distribution: Debian Etch Testing
Posts: 117

Rep: Reputation: 16
remove one line from /etc/exports and restart nfs server.

The clients can not get the removed share.
Old 02-02-2007, 11:46 AM   #3
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17

Hi gopinathassrj,

I would just suggest placing a # in front of the line you wish to leave out, than restart the nfs server. By doing this the line just becomes a comment and can be re-used if required later, by removing the #.



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
nfs mount issue cwwilson721 Slackware 4 07-10-2006 03:44 AM
NFS related issue push19180 Linux - Networking 1 05-19-2006 07:36 AM
nfs permissions issue geletine *BSD 4 05-11-2006 05:24 PM
NFS/Network issue poctob Linux - Networking 3 02-26-2006 02:58 PM
nfs and smbfs issue iquadri1 Linux - Networking 3 09-07-2001 01:06 PM

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration