Results 1 to 10 of 10

Thread: "Device Is Busy" when unmounting devices ARRRGH

  1. #1
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    "Device Is Busy" when unmounting devices ARRRGH

    OK, I finally got my old zip drive working and recognized.

    And I even got my Fuji FinePix 2300 camera to be recognized as a simple USB storage device. I can download my pics and everything. (That was a revelation!!!)

    BUT! How do I unmount and or "refresh" these devices when I want to

    1. eject, and put in a new zip disk

    OR

    2. change memory cards in the camera so that it sees a fresh one? I mean, I will typically use more than one memory card on a trip or photo shoot

    When I do: umount /mnt/zip OR umount /dev/sdb4

    I get "device is busy". And I can't even manually eject the disk by pressing the eject button.

    THE CAMERA:

    If I do: umount /mnt/camera

    I again get "device is busy".

    This prevents me from changing out memory cards.

    What's the trick here? How do unmount these things?

    sakiZ

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    I find that sometimes opening a file in konqueror helps.

    If nothing else works try a lazy -l unmount. The shows it as not being mounted, but programs useing it can still access it and it could cause corruption. Just wait a little bit, then try to remove.

  3. #3
    Member registered user
    Join Date
    Nov 2004
    Location
    Bellevue, WA
    Posts
    83
    Quote Originally Posted by firebyrd10
    I find that sometimes opening a file in konqueror helps.
    Konqueror leaves some open handles (do a top after using konqueror on a mounted directory) that prevents umounting devices. I usually use:
    Code:
    umount -f /<rebel directory>
    to force the unmount. You have to make sure that there is no other software is using the device. Such distraction can corrupt the filesystem on the device you are trying to unmount. For example, saving configuration files when you shutdown Knoppix.

    --GN

  4. #4
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    Thanks!

    Umount -f !!!

    I'm going to have to buy that Hack Knoppix book. I assume this kind of info is in it.

    sakiZ

  5. #5
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Quote Originally Posted by gnarvaja
    Code:
    umount -f /<rebel directory>
    to force the unmount. --GN

    I've found that even that doesn't work sometimes, it just won't unmounmt.


    What is doing a top?

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    top is a prosess/mem... monitoring tool. it displays what program uses how much memory and cpu, what pid it has (process id, the one you use too kill things)...

  7. #7
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    Once you have finished downloading or copying your photo files you need to change back out of the /mnt/camera and /mnt/zip
    directories, and close any programs such as konqueror that may be allowing you to view the files. Once this has been done I would expect the umount commands to work, without the -f. Then you can change the memory card and mount the new one.
    Regards,
    Mark

  8. #8
    Member registered user
    Join Date
    Nov 2004
    Location
    Bellevue, WA
    Posts
    83
    Quote Originally Posted by markpreston
    Once you have finished downloading or copying your photo files you need to change back out of the /mnt/camera and /mnt/zip
    directories, and close any programs such as konqueror that may be allowing you to view the files. Once this has been done I would expect the umount commands to work, without the -f. Then you can change the memory card and mount the new one.
    When using Konqueror check the following setting:
    Code:
    1. Select Settings -> Configure Konqueror
    2. Select the 'Performance' icon at the bottom
    3. Make sure that in the preloading sections, the number of preloaded instances is 0
    This way you make sure that Konqueror *really* closes and frees any resouorces it might hold, particularly mounted devices.

    top is a pretty ps -ef

    --GN

  9. #9
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    I don't know much about #1 but I have a zip and I have to wait for it to stop spinning and then it works great. If I mount it right away then everything works properly even if it is still spinning/working. Never had any problem with a busy zip. Need more info to help.

  10. #10
    Member registered user
    Join Date
    Nov 2004
    Location
    Bellevue, WA
    Posts
    83
    Quote Originally Posted by rrfish72
    I don't know much about #1 but I have a zip and I have to wait for it to stop spinning and then it works great. If I mount it right away then everything works properly even if it is still spinning/working. Never had any problem with a busy zip. Need more info to help.
    I had the problem with USB / PCMCIA flash drives too. By removing the memory cards/sticks too soon or with unsuccesful umounts I ended with corrupted files. Konqueror is not the only offender, but since I changed the setting I don't have the problem as often.

    --GN

Similar Threads

  1. System is "suddenly" busy!
    By wmlabChuck in forum Hardware & Booting
    Replies: 0
    Last Post: 05-17-2005, 04:37 PM
  2. USR 56k PCI modem "busy"/"not found",rec
    By oman in forum General Support
    Replies: 0
    Last Post: 08-03-2004, 06:44 PM
  3. cardmgr "SIOCSIFFLAGS: no such device" for laptop
    By kimanaw in forum Networking
    Replies: 0
    Last Post: 02-10-2004, 12:52 AM
  4. Cant use CD rom device "not a valid block device"
    By YuXeL in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 12-08-2003, 01:48 AM
  5. Hang at "Creating devices..." in 3.3
    By JustMike in forum General Support
    Replies: 2
    Last Post: 09-28-2003, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R730 Server 2.30Ghz 32-Core 128GB 8x 3TB 12G H730P ESXi 7.0 picture

Dell PowerEdge R730 Server 2.30Ghz 32-Core 128GB 8x 3TB 12G H730P ESXi 7.0

$935.50



Dell R740XD 24SFF 12 NVMe 2.4Ghz 48-C 256GB H730P 2x10G+2x1G NIC 2x1100W Rails picture

Dell R740XD 24SFF 12 NVMe 2.4Ghz 48-C 256GB H730P 2x10G+2x1G NIC 2x1100W Rails

$4332.07



Dell R740XD 24SFF 12 NVMe 2.9Ghz 48-C 256GB H730P 2x10G+2x1G NIC 2x1100W Rails picture

Dell R740XD 24SFF 12 NVMe 2.9Ghz 48-C 256GB H730P 2x10G+2x1G NIC 2x1100W Rails

$6332.07



Dell R740XD 24SFF 12 NVMe 2.4Ghz 48-C 384GB H730P 2x10G+2x1G NIC 2x1100W Rails picture

Dell R740XD 24SFF 12 NVMe 2.4Ghz 48-C 384GB H730P 2x10G+2x1G NIC 2x1100W Rails

$4528.07



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x Xeon  E5-2620 @ 2.0GHz 64GB RAM NO HDDs picture

Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs

$108.96



Dell PowerEdge R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w  picture

Dell PowerEdge R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w

$315.00



Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w

$289.99