mount / umount problems
sys is 1.7ghz, 512m ram
/dev/hda 160g, /dev/hdb 120g /dev/hdc is a dual cd/dvd-rw, /dev/hdd is a cd-rw MDK 10.1, KDE 3.2 /etc/fstab: /dev/hdb5 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users,unhide 0 0 /dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0 /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hdb1 swap swap defaults 0 0 [root@localhost don]# umount /mnt/cdrom umount: /mnt/cdrom: device is busy umount: /mnt/cdrom: device is busy [root@localhost don]# There is no cd or dvd in /dev/hdc. No program that uses /dev/hdc is open. When inserting a cd or dvd, 'mount /mnt/cdrom' gives this error. [root@localhost don]# mount /mnt/cdrom mount: /dev/hdc already mounted or /mnt/cdrom busy mount: according to mtab, /dev/hdc is already mounted on /mnt/cdrom After opening /dev/hdc the first time with a file manager or k3b, I have to reboot to use it again. When it is mounted, I can open and close the cd/dvd at will. Any ideas on how to solve this? Also, is there a way that /dev/hdc is always mounted? I am the only user on this box so it doesn't matter if it's always mounted. dlw |
Backup your current fstab and then try setting your /dev/hdc filetype to iso9660, and removing all of your options with the exception of user.
|
Same as before.
No difference. In order to use /dev/hdc again the sys has to be rebooted. dlw |
I have the same problem - a solution for me is to use the lazy umount
The fam (file alteration monitor) daemon (famd) sometimes refuse to relaese the cdrom/floppy and can then not unmount - use the umount -l option |
If it doesn't matter if its always mounted, I suppose you could look into submount, and do it that way. I don't know whats going on though.
|
The -l option works.
Shutting down and booting up again is over... hopefully. I'll keep working on it. Thanks, dlw |
Another thing you could try is
Code:
/sbin/fuser/ -m /mnt/mount point Code:
kill PID Hope this helps too =] |
All times are GMT -5. The time now is 09:02 AM. |