Because my primary server went down today, I have a couple of servers that have 'stale NFS mounts' which I can't unmount...
# umount /home/storage/users umount: /home/storage/users: device is busy umount: /home/storage/users: device is busy
short of restarting...is there a trick that I can do to umount/remount?
Craig
Craig White wrote:
On Wed, 2008-07-30 at 21:36 -0700, nate wrote:
Craig White wrote:
short of restarting...is there a trick that I can do to umount/remount?
try umount /home/storage/users -l -f
perfect - thanks
Craig
If that ever also fails, you can find (and then kill) the processes that have the share open with:
fuser -m <mount_location>
That will give you a list of process ids that you can first get info about with "ps -ef <pid>" and kill with "kill <pid>" (or "kill -9 <pid>" for really stubborn ones).
Nate wrote on Wed, 30 Jul 2008 21:36:18 -0700 (PDT):
-l -f
Ah, well, good to know. I did it the last few times by editing mtab.
Kai