Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-25-2013, 09:00 AM   #1
Registered: Jul 2012
Posts: 37

Rep: Reputation: Disabled
rc/rce when trying to umount network share

I'm trying to unmount a network share. What are all the <x>rc and <x>rce entries?? How can I close them so I can unmount the share? Here is the output:

root@xyz:/var# umount -a /mnt
umount: /dev: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

root@xyz:/var# fuser -m /mnt
/mnt: 1rce 2rc 3rc 4rc 5rc 6rc 7rc 8rc 9rc 10rc 11rc 12rc 13rc 14rc 15rc 16rc 17rc 18rc 19rc 20rc 21rc 22rc 23rc 24rc 25rc 26rc 27rc 30rc 31rc 32rc 33rc 34rc 35rc 36rc 240rc 241rc 242rc 243rc 244rc 245rc 246rc 247rc 248rc 253rc 255rc 257rc 258rc 288rc 315rc 316rc 414rce 542rce 939rce 951rce 1136rce 1191rce 1563rce 1576rce 1577rce 1587rce 1595rce 1603rce 1604rce 1618rce 1634rce 1705rce 1706rce 1739rce 1748rce 1749rce 1755rce 1760rce 1764rce 1766rce 1777rce 1869rce 1870rce 1871rce 1884rce 1898rce 1911rce 1912rce 1926rce 1930rce 1932rc 1939rce 1942rce 1943rc 1962rce 1982rce 2001rce 2032rce 2076rce 2080rce 2081rce 2086rce 2120rce 2205rce 2370rce 2380rc 2381rc 2429rce 2440rce 2481re 2482re 2483re 2484re 2485re 2486re 2718rce 10290rce 14774rce 16047rc 16048rc 17781rce 17787rce 22962rce 22980rce 22988rce 22994rce 22996rce 22997rce 22998rce 23000rce 23003rce 23004rce 23007rce


Old 01-25-2013, 09:18 AM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,866

Rep: Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487
fuser reports the process id numbers for all processes that are accessing the /mnt directory.

The manpage on fuser gives:
  c      current directory.
  e      executable being run.
  f      open file. f is omitted in default display mode.
  F      open file for writing. F is omitted  in  default  display
  r      root directory.
  m      mmap'ed file or shared library.
Before you close them, you might check which processes they are. The first entry [1rce] is init.
So if you kill this, you will either crash the system, or force a reboot.

NOTE: you did "fuser -m /mnt", which gives the list of pids using the filesystem the directory is in. That means it is giving the pids for those processes using root.

If you wanted to see what was using filesystems mounted in /mnt (usually /mnt/xyz) then you would want to use the command "fuser -m /mnt/*" instead.

What you did is valid... if /mnt is actually has a filesystem mounted on it. You might consider using "fuser -M /mnt" which will not list any processes if the directory is not used as a mount point. (instead it dumps a "usage" message preceded by "No process specification given")


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
Invalid CIFS share and freeze on umount, ls, ... Igor_Yurenev Linux - Networking 0 07-02-2011 11:44 AM
CIFS share does not umount at shutdown feffer777 Ubuntu 3 07-15-2010 04:20 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 12:28 PM
samba CIFS umount hangs if disconnecting network Benanzo Linux - Networking 3 04-13-2007 09:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 AM.

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