Code: Select all
pluca luca # umount /dev/hdc
umount: /mnt/cdrom: device is busy
umount: /mnt/cdrom: device is busyCode: Select all
fuser -u /dev/hdcThanks for any help, it's not too good to restart each time I unmount the volume.
Code: Select all
pluca luca # umount /dev/hdc
umount: /mnt/cdrom: device is busy
umount: /mnt/cdrom: device is busyCode: Select all
fuser -u /dev/hdcI'm surely in this case. Strange that I haven't seen this for years and now I see it so often.Row wrote:c) A process was working with the app, got closed but freed incorrectly its file descriptors, so there is no process anywhere but kernel still keeps a file descriptor pointing to the device. Solution: just pray. In fact, I don't know any way to fix this but rebooting.
Code: Select all
umount -l /dev/dvdTrue.vadik56 wrote:You can unmount with -l "lazy" option that way you can at least remove your dvd:Code: Select all
umount -l /dev/dvd

I don't know whether this is the same problem I had or not. Anyway, in my case it is not necessary to reboot the system. It is only necessary to restart NFS on the client machine. That's it.mattmatteh wrote:the only option is to reboot ? i was working on an install and could not umount /mnt/gentoo/dev
logger ~ # umount /mnt/gentoo/dev
umount: /mnt/gentoo/dev: device is busy
umount: /mnt/gentoo/dev: device is busy
logger ~ # lsof | grep 'mnt/gentoo/dev'
udevd 11601 root 0u CHR 1,3 983 /mnt/gentoo/dev/null
udevd 11601 root 1u CHR 1,3 983 /mnt/gentoo/dev/null
udevd 11601 root 2u CHR 1,3 983 /mnt/gentoo/dev/null
logger ~ #
rebooting is a windows solution. is there a bug to be filed ?
i have another box like this too where i need it un mounted but can not reboot.
anyone have a solution to this ?
matt

mattRow wrote:c) A process was working with the app, got closed but freed incorrectly its file descriptors, so there is no process anywhere but kernel still keeps a file descriptor pointing to the device. Solution: just pray. In fact, I don't know any way to fix this but rebooting.
Thank you so much, I almost got crazy about thisRow wrote: c) A process was working with the app, got closed but freed incorrectly its file descriptors, so there is no process anywhere but kernel still keeps a file descriptor pointing to the device. Solution: just pray. In fact, I don't know any way to fix this but rebooting.
Kernel will always close files open by a process before completely destroying it.Row wrote: c) A process was working with the app, got closed but freed incorrectly its file descriptors, so there is no process anywhere but kernel still keeps a file descriptor pointing to the device. Solution: just pray. In fact, I don't know any way to fix this but rebooting.