PDA

View Full Version : Can't unmount a filesystem?


theSteveCo
01-11-2002, 11:05 AM
I was recently working w/ NFS restores from a tape drive. When I went to unmount the filesystem from the client machine it refused to let me do so. I thought for sure I'd end up having to reboot the machine as some service seemed to have some bizarre problem.

The next day, my "root" session having expired in my shell, I realized that as the unpriveleged user 'scole' my cwd was /mnt/whatever, the same one I had been trying to unmount. I had switched to root from there and my prompt, therefore, didn't tell me I was actually in that directory.

Realizing my fumble I quickly conducted a test session to determine how I might know this was the problem in the future. Sure enough, 'lsof' was able to tell me WHO was in that dir (the unpriveleged shell, in this case).

I guess it's one of those things where you just want to say 'duh' once you figure it out, but it's not so entirely obvious when you're in the midst of the situation.

Likely2BAirborn
01-30-2002, 11:15 AM
LOL Steve look at the views of this thread compaired to replys! Just take linux off:twofinger I don't think your going to find answers here.

theSteveCo
01-30-2002, 11:20 AM
As long as it's my board, Linux stays!!!

Likely2BAirborn
01-30-2002, 11:22 AM
And down comes the mighty foot <thump>. Twas a joke, at my work talkin smack about linux is fighting words.

Wolf
01-31-2002, 03:37 AM
So you mounted your filesystem? But now you're stuck and can't unmount it? Kinky. Try calling the fire dept. They can probably separate you from your filesystem. :p

R roku
02-01-2002, 12:09 AM
hehehe, you guys are turkeys!!! j/k Steve please keep the penguin forum up, god knows i could use some of your help here from time to time..

theSteveCo
02-01-2002, 12:21 AM
Don't get me started about the difficulty in mounting floppies. :twofinger

Wolf
02-12-2002, 02:24 AM
Originally posted by theSteveCo
Don't get me started about the difficulty in mounting floppies. :twofinger

Sounds like a personal problem. :twofinger
Have you tried the little blue pill? :laughing