LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-05-2009, 11:43 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 719

Rep: Reputation: 39
unmounting all nfs filesystems without unmounting local ones


Hi there --

I want to unmount all NFS filesystems on one of our systems, while retaining the local mounts. The umount -a command comes to mind, but
when I run it, the /boot filesystem also gets unmounted, and I need
that one to remain available.

What would the correct command syntax to use in this case. The operating
system in question is the Fedora Core 2 distribution. Thanks.
 
Old 03-05-2009, 12:00 PM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
why not
# umount -a -t nfs
this will umount all file systems which are nfs

<from man page>
-t vfstype
Indicate that the actions should only be taken on file systems
of the specified type. More than one type may be specified in a
comma separated list. The list of file system types can be pre-
fixed with no to specify the file system types on which no
action should be taken.

<//>
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difficulty unmounting NFS exported filesystems rperlberg Linux - Server 2 05-11-2007 02:12 PM
Unmounting remote filesystems, is there a way to stop that? M$ISBS Slackware 13 05-11-2007 01:05 PM
Unmounting remote filesystems? BajaNick Linux - General 2 05-18-2004 12:22 AM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 01:10 AM
unmounting NFS filesystems failed??? matjaz85 Linux - General 1 05-02-2002 07:19 PM


All times are GMT -5. The time now is 12:26 AM.

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