LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting problems (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-problems-663719/)

davidstvz 08-18-2008 08:16 PM

mounting problems
 
I was trying to install vsftpd (and a million dependencies) from the dvd for SuseLinux10, but the thing is having trouble reading the DVD (it's probably a bit scratched). I thought I might be able to install from an OpenSuse 10.2 DVD, but the drive bay won't open when I hit the button so I haven't been able to try.

I'm sure a reboot would solve this... and I actually could reboot right now, but at the same time I bet there is a way to fix it without rebooting and I'd like to know how (I won't be able to reboot at will starting in about... 7 days).

So, I figured I'd just unmount it and remount it... that didn't work

classes:/dev # umount /dev/hdc
classes:/dev # mount /dev/hdc
mount: /dev/hdc already mounted or /var/adm/YaST/InstSrcManager/IS_CACHE_0x00000006/MEDIA busy
mount: according to mtab, /dev/hdc is already mounted on /var/adm/YaST/InstSrcManager/IS_CACHE_0x00000006/MEDIA

I had to kill a YaST session since it was hanging due to the bad DVD. Speaking of killing processes... I think I'll save that for another thread.

klearview 08-18-2008 08:36 PM

Try:

umount -f /pass/to/cdrom

If that doesn't work open /etc/mtab with vim and remove the line with your CD drive from it. Then issue 'eject'.

Hope this helps.

Uncle_Theodore 08-18-2008 08:37 PM

Did you try the

eject

command from a root terminal?

davidstvz 08-19-2008 12:56 AM

Quote:

Originally Posted by Uncle_Theodore (Post 3252080)
Did you try the

eject

command from a root terminal?

I tried /dev/hda eject (the same way I would issue a rewind command to a tape drive). That didn't work.

Klearview, I will save that for future reference.

I went ahead and gave up and rebooted though. I could eject the drive then (of course), but it still wouldn't read disks. Turns out the drive is bad (or needed a cleaning, yet it was hardly ever used and I have no cleaning kit anyway). I swapped a new drive in and it works flawless now. It's annoying to not be able to eject though.


All times are GMT -5. The time now is 09:00 PM.