Sponsored Content
Full Discussion: Is umount -l dangerous?
Operating Systems Linux Is umount -l dangerous? Post 302353507 by Corona688 on Tuesday 15th of September 2009 01:07:26 PM
Old 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

umount

: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

umount error

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

umount help

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

List of dangerous Unix command

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

umount is failing

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

how to force umount

sorry, wrong section, mod please close thread (0 Replies)
Discussion started by: robertngo
0 Replies

7. UNIX for Dummies Questions & Answers

accidentally umount -a

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

Umount CIFS

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

List of dangerous shell commands

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

Dangerous rm -rf command

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
automountd(1M)															    automountd(1M)

NAME
automountd - autofs mount/unmount daemon SYNOPSIS
name=value] DESCRIPTION
is an RPC server that answers file system mount and unmount requests from the filesystem. It uses local files or name service maps to locate filesystems to be mounted. These maps are described with the command (see automount(1M)). The daemon is automatically invoked if the variable is set to 1 in Options Trace. Expand each RPC call and display it to Verbose. Log status messages to Turn off browsing for all mount points. This option overrides the map option on the local host. Force all mounts to the local host to be NFS mounts instead of the default LOFS mounts. This is necessary for highly available NFS mounts. Assign value to the indicated map substitution variable. These assignments cannot be used to substitute variables in the master map Tracing While is running, the signal can be sent to to turn tracing on. It logs messages in To turn tracing off, send the signal again. RETURN VALUE
returns: 0 successful 1 failure EXAMPLES
To turn on tracing, enter: or No messages are displayed by the trace. Check the results in WARNINGS
Any filesystems that are being managed by should never be manually mounted or unmounted. Even if the mount or unmount operation appears to complete successfully, the resulting change of state to the managed filesystem can lead to disruptive or unpredictable results, including but not limited to: commands hanging or not returning expected results, and applications failing due to their dependencies on those mounted filesystems. A reboot may be necessary to resolve these issues. AUTHOR
was developed by Sun Microsystems, Inc. FILES
master map for automounter log file for automountd daemon SEE ALSO
automount(1M). automountd(1M)
All times are GMT -4. The time now is 03:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy