04-06-2007
Quote:
Originally Posted by suntac
[root@oebs05 oebs]# umount syrupg21
umount: /oebs/syrupg21: device is busy
device bussy so I like to check what is working on the system....
[root@oebs05 oebs]# fuser -muv /oebs/syrupg21/
it because you are still in the oebs directory -- so you cant unmount it.
leave it first -- cd ~
cheers.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Twofold question for you unix "guru's"
1) When attempting to use the umount command I get a message stating that the partition that I want to unmount is busy. Is there another command that I need to use prior to the umount command to clear the partition of activity????? ... (2 Replies)
Discussion started by: rod23
2 Replies
2. UNIX for Dummies Questions & Answers
the program as follow:
mount /dev/fd0135ds18 /mnt
cd /mnt
touch file1
cat /file2 >/mnt/file1
umount /dev/fd135ds18
when error
tell device busy
could you tell me the reason? (1 Reply)
Discussion started by: fresh
1 Replies
3. UNIX for Advanced & Expert Users
hi all,
I inherit a Solaris7 system with /home mounted via a share from the NFS server. When I look at mnttab, there are two entries mounted under /home. Let's say they are server:/home/a and server:/home/b. I would like to maintain /home/a but not /home/b. However, I just don't know where... (4 Replies)
Discussion started by: andrec
4 Replies
4. HP-UX
Anyone have any idea why I cannot umount a directory even though fuser shows no process attached to it?
fuser -cu /data/oracle/GMPSHRDM/export
/data/oracle/GMPSHRDM/export:
umount /data/oracle/GMPSHRDM/export
umount: cannot unmount /data/oracle/GMPSHRDM/export : Device busy
umount:... (2 Replies)
Discussion started by: keelba
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am writing a multi-cd spanning installer for a particular software in Linux (Redhat 4 or greater / Suse )
My Program is in Java. A Shell Script is used to fork the java process. I found out that when the Installer tries to go to the next disc when prompted so, by the installer, the eject... (1 Reply)
Discussion started by: jiju.jacob
1 Replies
6. HP-UX
sorry, wrong section, mod please close thread (0 Replies)
Discussion started by: robertngo
0 Replies
7. HP-UX
Hello,
yeah... here my question :
Exist some way to force umount on HP other than reboot?
Thanks
gb (12 Replies)
Discussion started by: gogol_bordello
12 Replies
8. Linux
I had a umount busy issue, that the usual fuser -mk did not solve, I did a umount -l and was able to unmount the device, I then got in trouble by the storage team staff:
Here was a snippet of their response:
Using "umount -l" is a potentially dangerous act.
The command combination for a lazy... (8 Replies)
Discussion started by: pastajet
8 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I accidentally unmounted filesystems using umount -a command.
How to recover from this. Please help. Thanks in advance!
when i try to use mount -a i got the following output.
# mount -a
mount: /dev/vg00/lvol05 already mounted or /opt busy
mount: /dev/vg00/lvol07 already... (4 Replies)
Discussion started by: lramsb4u
4 Replies
10. UNIX for Dummies Questions & Answers
hi guys
I have to umount a CIFS from a Windows machine...but it's been imposible
there is one special task
/sbin/umount.cifs /mondobackup
that task cannot be kill...so I cannot umount the unit
any idea how to kill this and umount this CIFS share?
by the way I've tried
umount... (5 Replies)
Discussion started by: kopper
5 Replies
LEARN ABOUT REDHAT
umount
UMOUNT(8) Linux Programmer's Manual UMOUNT(8)
NAME
umount - unmount file systems
SYNOPSIS
umount [-hV]
umount -a [-dflnrv] [-t vfstype] [-O options]
umount [-dflnrv] dir | device [...]
DESCRIPTION
The umount command detaches the file system(s) mentioned from the file hierarchy. A file system is specified by giving the directory where
it has been mounted. Giving the special device on which the file system lives may also work, but is obsolete, mainly because it will fail
in case this device was mounted on more than one directory.
Note that a file system cannot be unmounted when it is `busy' - for example, when there are open files on it, or when some process has its
working directory there, or when a swap file on it is in use. The offending process could even be umount itself - it opens libc, and libc
in its turn may open for example locale files. A lazy unmount avoids this problem.
Options for the umount command:
-V Print version and exit.
-h Print help message and exit.
-v Verbose mode.
-n Unmount without writing in /etc/mtab.
-r In case unmounting fails, try to remount read-only.
-d In case the unmounted device was a loop device, also free this loop device.
-a All of the file systems described in /etc/mtab are unmounted. (With umount version 2.7 and later: the proc filesystem is not
unmounted.)
-t vfstype
Indicate that the actions should only be taken on file systems of the specified type. More than one type may be specified in a
comma separated list. The list of file system types can be prefixed with no to specify the file system types on which no action
should be taken.
-O options
Indicate that the actions should only be taken on file systems with the specified options in /etc/fstab. More than one option type
may be specified in a comma separated list. Each option can be prefixed with no to specify options for which no action should be
taken.
-f Force unmount (in case of an unreachable NFS system). (Requires kernel 2.1.116 or later.)
-l Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is
not busy anymore. (Requires kernel 2.4.11 or later.)
THE LOOP DEVICE
The umount command will free the loop device (if any) associated with the mount, in case it finds the option `loop=...' in /etc/mtab, or
when the -d option was given. Any pending loop devices can be freed using `losetup -d', see losetup(8).
FILES
/etc/mtab table of mounted file systems
SEE ALSO
umount(2), mount(8), losetup(8).
HISTORY
A umount command appeared in Version 6 AT&T UNIX.
Linux 2.0 26 July 1997 UMOUNT(8)