09-15-2009
That's not accurate either. I went and tested it before spouting off, you know...
Users who have open directories are not stopped from traversing them, opening files in them, writing things in files, or perhaps even creating files. In other words, a lazy unmount doesn't do anything at all to the filesystem until it's free -- it just fakes it. That is, it denies access to a mounted filesystem until everyone closes all references to it. That's pretty much the worst of both worlds: It's mounted, so you can't do a thing to the devices, but it acts like its offline and denies everyone access. If the administration couldn't quickly find whatever reference is plugging up the unmount, they really would have to reboot the machine, it's either that or send the people who need to use that partition home for the day.
It wouldn't be so bad if there was a way to cancel a lazy unmount...
Last edited by Corona688; 09-15-2009 at 02:21 PM..
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. UNIX for Dummies Questions & Answers
Hi Guys,
I wonder if one of you would have a list of dangerous commands on unix.
Regards (8 Replies)
Discussion started by: JBB873
8 Replies
5. Solaris
I am trying to umount a NFS share.
When I do the following:
# umount syrupg21
umount: /oebs/syrupg21: device is busy
device bussy so I like to check what is working on the system....
# fuser -muv /oebs/syrupg21/
#
So no locks should be there... any clue?
Regards,
Johan... (3 Replies)
Discussion started by: suntac
3 Replies
6. HP-UX
sorry, wrong section, mod please close thread (0 Replies)
Discussion started by: robertngo
0 Replies
7. 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
8. 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
9. Shell Programming and Scripting
Hello,
I have a Application which needs to run shell scripts in a elevated state (root) for system interrogation. So I execute each script using bash -C. This has worked really well.
I now want to add another layer of security, I cant inspect each of the scripts before they get deployed to the... (4 Replies)
Discussion started by: tjones1105
4 Replies
10. War Stories
Hello All,
I am posting a intresting story which is posted by Mark Brader but actual story is from Mario Wolczko. Original link is here
Thanks,
R. Singh (4 Replies)
Discussion started by: RavinderSingh13
4 Replies
LEARN ABOUT X11R4
umount.nfs
UMOUNT.NFS(8) System Manager's Manual UMOUNT.NFS(8)
NAME
umount.nfs, umount.nfs4 - unmount a Network File System
SYNOPSIS
umount.nfs dir [-fvnrlh ]
DESCRIPTION
umount.nfs and umount.nfs4 are a part of nfs(5) utilities package, which provides NFS client functionality.
umount.nfs4 and umount.nfs are meant to be used by the umount(8) command for unmounting NFS shares. This subcommand, however, can also be
used as a standalone command with limited functionality.
dir is the directory on which the file system is mounted.
OPTIONS
-f Force unmount the file system in case of unreachable NFS system.
-v Be verbose.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip delet-
ing an entry.
-r In case unmounting fails, try to mount read-only.
-l Lazy unmount. Detach the file system from the file system hierarchy now, and cleanup all references to the file system as soon as it
is not busy anymore.
-h Print help message.
NOTE
For further information please refer nfs(5) and umount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO
nfs(5), umount(8),
AUTHOR
Amit Gud <agud@redhat.com>
6 Jun 2006 UMOUNT.NFS(8)