getting device busy on smbfs mounted area

2009-03-20 Thread Mark D Vandale
In our fstab we mount a smbfs filesystem on z/OS.. It works for a while but at some point we are getting hung up. I have no idea what's causing this. Executing any cmd against it hangs for a while and the returns this device busy message. Is there a way to get around this or force it to be

Re: getting device busy on smbfs mounted area

2009-03-20 Thread Scott Rohling
You could try umount -l /p2dev (lazy unmount) Scott On Fri, Mar 20, 2009 at 10:17 AM, Mark D Vandale mvand...@csc.com wrote: In our fstab we mount a smbfs filesystem on z/OS.. It works for a while but at some point we are getting hung up. I have no idea what's causing this. Executing

Re: getting device busy on smbfs mounted area

2009-03-20 Thread Dominic Coulombe
Hi Mark, Try the lsof command to display open files : lsof +D /p2dev From the man page : +D This option causes lsof to search for all open instances of directory D and all the files and directories it contains to its complete depth. Processing of the +D