Unmount Home Directory

From Define Wiki
Revision as of 09:41, 1 May 2013 by Michael (talk | contribs) (Created page with "==== Unmount Home Directory ==== Note: PCM 3.0 unmount home directory gets: <syntaxhighlight> umount: /home device is busy </syntaxhighlight> * Check which process is using /home <syntaxhighlight> lsof | gr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Unmount Home Directory

Note: PCM 3.0 unmount home directory gets:

umount: /home device is busy
  • Check which process is using /home
lsof | grep home
# 
# java       6027    root  cwd     DIR      253,2   4096   100827137   /home/viglen
# npviewer  28242    root  cwd     DIR      253,2   4096   100827137   /home/viglen
# ipmi-temp 30072    root  cwd     DIR      253,2   4096   100827137   /home/viglen 

ps -ef | grep java
grep java /etc/rc.d/init.d
  • Stop pmc process that currently using /home
service stop pmc
  • Unmount /home and restarts pmc (webgui)

<syntaxhighlight>