[lug] Force umount

Jason Davis mohadib at openactive.org
Mon Aug 9 14:21:52 MDT 2004


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??

jd



> 
> On Mon, 2004-08-09 at 14:49, Shannon Johnston wrote:
> > I've got a smb mount that is being difficult. I'm not sure what's wrong
> > but I'm getting some I/O errors. Does anybody know of a way to force
> > umount? 
> > 
> > [root at TDT shared]# ls
> > ls: .: Input/output error
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug




More information about the LUG mailing list