Sponsored Content
Full Discussion: Is umount -l dangerous?
Operating Systems Linux Is umount -l dangerous? Post 302353583 by mark54g on Tuesday 15th of September 2009 04:48:17 PM
Old 09-15-2009
Interesting. That was not at all how it was explained to me. I did not have a chance to test it at the time I responded, but I'll give it a go. I have only been using it for NFS mounts when the remote machine has gone offline and the local machine has not "let go".
 

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
FIXMOUNT(8)						      System Manager's Manual						       FIXMOUNT(8)

NAME
fixmount - fix remote mount entries SYNOPSIS
fixmount [ -adervq ] [ -h name ] host ... DESCRIPTION
fixmount is a variant of showmount(8) that can delete bogus mount entries in remote mountd(8C) daemons. The actions specified by the options are performed for each host in turn. OPTIONS
-a -d -e These options work as in showmount(8) except that only entries pertaining to the local host are printed. -r Removes those remote mount entries on host that do not correspond to current mounts, i.e., which are left-over from a crash or are the result of improper mount protocol. The actuality of mounts is verified using the entries in /etc/mtab. -v Verify remote mounts. Similar to -r except that only a notification message is printed for each bogus entry found. The remote mount table is not changed. -A Issues a command to the remote mountd declaring that ALL of its filesystems have been unmounted. This should be used with caution, as it removes all remote mount entries pertaining to the local system, whether or not any filesystems are still mounted locally. -q Be quiet. Suppresses error messages due to timeouts and "Program not registered", i.e., due to remote hosts not supporting RPC or not running mountd. -h name Pretend the local hostname is name. This is useful after the local hostname has been changed and rmtab entries using the old name remain on a remote machine. Unfortunately, most mountd's won't be able to successfully handle removal of such entries, so this option is useful in combination with -v only. This option also saves time as comparisons of remotely recorded and local hostnames by address are avoided. FILES
/etc/mtab List of current mounts. /etc/rmtab Backup file for remote mount entries on NFS server. SEE ALSO
showmount(8), mtab(5), rmtab(5), mountd(8C). BUGS
No attempt is made to verify the information in /etc/mtab itself. Since swap file mounts are not recorded in /etc/mtab, a heuristic specific to SunOS is used to determine whether such a mount is actual (replacing the string "swap" with "root" and verifying the resulting path). Symbolic links on the server will cause the path in the remote entry to differ from the one in /etc/mtab. To catch those cases, a filesys- tem is also deemed mounted if its local mount point is identical to the remote entry. I.e., on a SunOS diskless client, server:/export/share/sunos.4.1.1 is actually /usr/share. Since the local mount point is /usr/share as well this will be handled correctly. There is no way to clear a stale entry in a remote mountd after the local hostname (or whatever reverse name resolution returns for it) has been changed. To take care of these cases, the remote /etc/rmtab file has to be edited and mountd restarted. The RPC timeouts for mountd calls can only be changed by recompiling. The defaults are 2 seconds for client handle creation and 5 seconds for RPC calls. 26 Feb 1993 FIXMOUNT(8)
All times are GMT -4. The time now is 06:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy