Re: umount question : can i force umount ???



On Tue, 28 Aug 2007 16:28:18 +0200, Jan Gerrit Kootstra typed this
message:

noi ance wrote:
On Mon, 27 Aug 2007 14:58:21 -0400, sysadmin typed this message:


Hi here is my question :


root@mailserver# umount -f /mnt/forage umount2: Device or resource busy
umount: /mnt/forage: device is busy


how can i umount such a filesystem . It is shared through nfs with a
lot of other directories, but i can't stop my nfs server .


Thanks
Franck


umout /mnt/forage -L for lazy unmount

something is using a file on the mounted device keeping it from
unmounting, like maybe you're in a folder on the device when trying to
umount. 1
Noi Ance,


Should not this be:

umount -l /mnt/forage


Does not the give problems when you try to mount the filesystem before
the umount process has ended? In the background the umount still starts
some cleaning tasks that will run as soon as the device becomes
available.


Best regards,


Jan Gerrit Kootstra

Should be lower case L correct. If there's something holding the device
it will not umount but otherwise will umount first then clean up tasks.

.



Relevant Pages