게시물 1,376건
   
umount : device is busy
글쓴이 : 최고관리자 날짜 : 2010-03-17 (수) 11:54 조회 : 16430
글주소 :
                                
/home 디렉토리를 umount 하려고 하는데 자꾸 장치가 사용중이라는 메세지가 뜬다.
이럴때 사용중인 프로세서들은 강제로 죽이고 umount 하면 된다.
[root@node1 home]# umount /dev/hda9
umount: /home: device is busy
umount: /home: device is busy

[root@node1 /]# fuser -cu /home  
/home:               27150c(root)

[root@node1 /]# fuser -ck /home  
[root@node1 /]# umount /dev/hda9

[root@node1 /]# df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hda3     ext3    2.0G  400M  1.5G  22% /
/dev/hda8     ext3    996M   34M  911M   4% /tmp
/dev/hda7     ext3    4.3G  470M  3.6G  12% /var
/dev/hda6     ext3    4.8G  2.7G  1.9G  59% /usr
/dev/hda5     ext3    5.7G  472M  5.0G   9% /usr/local
/dev/hda1     ext3     17G  187M   16G   2% /boot
tmpfs        tmpfs    859M     0  859M   0% /dev/shm
/dev/hdb1     ext3    111G   61G   45G  58% /home1

fuser 옵션
-u   Append the user name of the process owner to each PID.
-k   Kill processes accessing the file. Unless changed with -signal, SIGKILL is sent.  
      An  fuser process  never  kills  itself, but may kill other fuser processes. 
      The effective user ID of the process executing fuser is set to its real user ID before attempting to kill.

Usage: fuser [ -a | -s | -c ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...
             [ - ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...
       fuser -l
       fuser -V
Show which processes use the named files, sockets, or filesystems.
 
    -a        display unused files too
    -c        mounted FS
    -f        silently ignored (for POSIX compatibility)
    -i        ask before killing (ignored without -k)
    -k        kill processes accessing the named file
    -l        list available signal names
    -m        show all processes using the named filesystems
    -n SPACE  search in this name space (file, udp, or tcp)
    -s        silent operation
    -SIGNAL   send this signal instead of SIGKILL
    -u        display user IDs
    -v        verbose output
    -V        display version information
    -4        search IPv4 sockets only
    -6        search IPv6 sockets only
    -         reset options
  udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]]

 

이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.