All of lore.kernel.org
 help / color / mirror / Atom feed
* umount --force fails
@ 2003-04-09 20:38 Anders Widman
  2003-04-10  8:12 ` Oleg Drokin
  0 siblings, 1 reply; 2+ messages in thread
From: Anders Widman @ 2003-04-09 20:38 UTC (permalink / raw)
  To: reiserfs-list


   Why can't I use "umount /mnt/disk --force"?

     [root]# umount /mnt/disk --force
     umount2: Device or resource busy
     umount: /dev/Server/Root: not mounted
     umount: /mnt/disk: Illegal seek

   No kernel errors are logged.

   The reason why I want to use "--force" is that I have Samba running
   sharing this folder (plus many others). I do not want to stop Samba
   just to unmount just one of the filesystems.

   Is there a way that I can get around this? I thought that "--force"
   would  force  an umount of the filesystem even if some program were
   using it?

   //Anders


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: umount --force fails
  2003-04-09 20:38 umount --force fails Anders Widman
@ 2003-04-10  8:12 ` Oleg Drokin
  0 siblings, 0 replies; 2+ messages in thread
From: Oleg Drokin @ 2003-04-10  8:12 UTC (permalink / raw)
  To: Anders Widman; +Cc: reiserfs-list

Hello!

On Wed, Apr 09, 2003 at 10:38:47PM +0200, Anders Widman wrote:

>    Why can't I use "umount /mnt/disk --force"?

It is only implemented for NFS. At least that's what my man page says.

>    Is there a way that I can get around this? I thought that "--force"
>    would  force  an umount of the filesystem even if some program were
>    using it?

I think it is possible to do that for any fs, but some decisions should be made like
what to do with processes having open filehandles/cwd to the mounted filesystem and so on.
Please consult lkml archives for more info on that topic.

Bye,
    Oleg

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-10  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 20:38 umount --force fails Anders Widman
2003-04-10  8:12 ` Oleg Drokin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.