umount device busy ...ARGGHHH
Newbie needs help. have been working through installing Debian/Samba to use as a server. (my first one!!!) I have mostly everything working but cannot get the second internal drive to automatically mount thou it was in there during the original install.
All I want to do is edit FSTAB but cannot save. I understand that I need to umount but get device busy. I have mounted the cd and went there and tried to run terminal and umount but still get 'device busy'. Not sure what I have missed something!?!?! |
Did you edit fstab as the root user? What do you need to umount? You can use the lsof command to see what program is still accessing the drive. Then use kill to close that process.
|
I did edit as FSTAB as root. I think that I need to umount so that I can save the edited FSTAB. I was getting access denied when trying to save. I was reading in some posts that I need to umount so that I can actually write the edited file. I ran LSOF but not sure what I am looking for. I ran lsof /var and nothing came up.
|
You shouldn't need to umount anything to save fstab. There may be something holding it hostage, though, and keeping you from saving.
Try Code:
lsof | grep fstab Generally you need to be root to mount/umount a device also. Try Code:
lsof | grep /media/cdrom |
run this command 'lsof | grep fstab' and got 'can't stat() ext3 files system /deve/static/dev Output information maybe incomplete.'
Just to mention again. this drive was in when Debian was installed. Thou it was recognized, it did not get setup in fstab on install and can be mounted manually. |
All times are GMT -5. The time now is 07:25 AM. |