LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 08-11-2008, 11:59 AM   #1
rob07mxa
LQ Newbie
 
Registered: Nov 2007
Posts: 19

Rep: Reputation: 0
/sbin/fuser -ki [device] not working


Hi,
I am trying to unmount logical volume /var. the unmount utility reported the device is busy. I used
“/sbin/fuser -mv /var” to find out which processes are using the volume. Then I tried to stop these processes using the command “/sbin/fuser -ki /var” but nothing happened.

Code:
[root@localhost ~]# /sbin/fuser -ki /var
[root@localhost ~]#
I tried again and I got the same result. I used “/sbin/fuser -mv /var” and the same processes are still running and the device is still busy.
I understand that I can use the PID with kill command to stop some of these processes, but that is not a practical solution if there is long list of processes. Also stopping some of them using kill command, can just reboot the system. In general, manually stopping these processes is not practical at all.
My question is, WHY “/sbin/fuser -ki /var” is not working or giving any warning or reporting messages?
(OS Fedora 8)
thanks in anticipation.
 
Old 08-14-2008, 04:21 PM   #2
kenoshi
Member
 
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 31
fuser -mki /var

I'm assuming /var is a separate filesystem by itself.

You really should do this in runlevel 1 btw.

Last edited by kenoshi; 08-14-2008 at 04:24 PM.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Device busy when unmounting - better alternative to 'fuser'? drkstr Slackware 4 09-12-2006 08:25 AM
Chkroot scan - /sbin/init & /sbin/ifconfig INFECTED bicoba Linux - Security 4 06-07-2006 09:16 AM
/sbin/hwclock --systohc not working AnimaSola Linux - Software 6 04-25-2005 01:06 PM
Want2use /sbin cmds undr non-root account w/o sudo. Is it safe 2 add /sbin 2 my PATH? kornerr Linux - General 4 02-25-2005 09:29 AM
/usr/sbin/pppd stopped working thugzclub Linux - Networking 0 08-08-2002 10:17 PM


All times are GMT -5. The time now is 11:48 PM.

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