Re: cdrom does not un-mounts

From: Kevin Mark (kmark+debian-user_at_pipeline.com)
Date: 05/22/04

  • Next message: Karsten M. Self: "Re: Archives of prior testing/unstable packages?"
    Date: Sat, 22 May 2004 01:29:54 -0400
    To: Debian Users <debian-user@lists.debian.org>
    
    
    

    On Sat, May 22, 2004 at 10:22:14AM +0530, J.S.Sahambi wrote:
    > I am using Debian/sid. Some times when I mount a cdrom and try to
    > unmount it immediately, it gives the following error on the terminal:
    >
    > umount: /cdrom: device is busy
    > umount: /cdrom: device is busy
    >
    > But the fact is the cdrom is not being used by any of my terminals or
    > programs (as I have not used the terminal or any program to browse or
    > use the cdrom). The only way I have found to umount the cdrom in this
    > case is to logout (or kill the xserver with ctrl-alt-backspace) and
    > login are root or same user and unmount. Then the cdrom unmounts with
    > out any problem.
    >
    > Can anybody shed some light on it.
    >
    > Thanks
    > JSS
    >
    Hi J,
    there ususaly is something using the cdrom, you just have to find out
    what. The first thing is to make sure you are not in a subdirectory of
    the cdrom. (/cdrom or /cdrom/file1, etc). Make sure there are no
    programs 'viewing' the cdrom contents (like konquoror). the last option
    is the use the 'lsof' program. lsof == ls of == list the open files.
    it shows you the running programs and the files that they use.
    I think something like:
    lsof | grep cdrom
    might be useful.
    -Kev

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Karsten M. Self: "Re: Archives of prior testing/unstable packages?"

    Relevant Pages

    • Re: cdrom does not un-mounts
      ... Some times when I mount a cdrom and try to ... > But the fact is the cdrom is not being used by any of my terminals or ... > login are root or same user and unmount. ... Detach the filesystem from the filesystem hierarchy now, ...
      (Debian-User)
    • cdrom does not un-mounts
      ... Some times when I mount a cdrom and try to ... umount: /cdrom: device is busy ... But the fact is the cdrom is not being used by any of my terminals or ... login are root or same user and unmount. ...
      (Debian-User)
    • Re: cdrom does not un-mounts
      ... Some times when I mount a cdrom and try to ... > But the fact is the cdrom is not being used by any of my terminals or ... > login are root or same user and unmount. ...
      (Debian-User)
    • Re: Cannot umount any device, Mounting works ok
      ... I cannot unmount any device (floppy, cdrom, nfs share) ... > Umounting doesn't work neither in konsole nor on kde desktop. ...
      (comp.os.linux)
    • RE: umount question
      ... At 05:06 PM 3/30/2005, Kenneth Goodwin wrote: ... >your cdrom. ... >should eradicate the problem and let you unmount the drive. ...
      (RedHat)