[lug] Force umount

Michael D. Hirsch mhirsch at nubridges.com
Tue Aug 10 07:26:49 MDT 2004


On Monday 09 August 2004 04:21 pm, Jason Davis wrote:
> On Mon, 2004-08-09 at 14:15, Hugh Brown wrote:
> > The most reliable way is to reboot.
> >
> > However, I would first check to see that there are no processes with
> > files open on the share (lsof|grep "sharename").  If there are, I'd go
> > through the kill cycle (-HUP, -TERM, -KILL) on those pids.  Once there
> > is nothing using the share, then try umount once and then use umount -f
> > to force the unmounting of the share.
> >
> > HTH,
> >
> > Hugh
>
> you could also try umount -L , also see if smbstatus gives you a pid to
> kill or lsof??

Which umount do you use?  On RH 9 umount doesn't have a -L option.

Michael



More information about the LUG mailing list