Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Umounting a file system in Init 1

Umounting a file system in Init 1

2006-12-04       - By Rick Stevens

 Back
Reply:     1     2  

On Sat, 2006-12-02 at 19:43 -0800, Mobolaji.Osinuga@(protected)
wrote:
> Hello,
>
> I brought down my test system to single user mode using init 1. I have 2
> partitions on this system, /(/dev/sda1) and /var (/dev/sda6).
> I'm trying to umount the /var file system but it's reporting device busy.
> Umounting forcefully doesn't help either.
>
> Can someone give me a killer command to umount this partition, while still
> maintaining the serenity of my system? Or is this a forbidden process so
> that I can start with rescue disk instead?

The odds are that the system logger is still running and holding
/var/log/messages open.  First, try running (as the root user):

  service syslog stop

Then try unmounting /var.  If you still can't unmount it, you can find
out what progtrams have files open on it by doing by running this
command as the root user:

  lsof | grep /var

Find the process(es) that are still holding something on /var open and
shut them down.  You can shut them down rudely by doing (as root):

  kill -9 procid

Replace "procid" with the process ID you got from the 'lsof' command for
the process in question.

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-         C program run. C program crash. C programmer quit.         -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe