# USB unmount: target is busy

**URL:** <https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344>\
**Category:** General\
**Created:** [25 March 2022 14:47 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344 "2022-03-25T14:47:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [25 March 2022 14:47 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/1 "2022-03-25T14:47:40Z")

</div>

Dear all,

I have a problem with my USB. I cannot seem to eject it because the target is busy.  
I use it to store sensor data from my flow as .CSV

The question is: How can I "un-busy" my USB?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 March 2022 18:07 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/3 "2022-03-25T18:07:17Z")

</div>

You seem to be trying to unmount rather than eject (which will unmount anyway).

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [25 March 2022 18:08 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/4 "2022-03-25T18:08:35Z")

</div>

Thank-you for your reply. Could you explain me how to fix it?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 March 2022 18:09 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/5 "2022-03-25T18:09:48Z")

</div>

Have you looked up the Linux eject command?

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [25 March 2022 18:10 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/6 "2022-03-25T18:10:23Z")

</div>

sudo umount -f -l /media/pi/usb?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 March 2022 18:11 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/7 "2022-03-25T18:11:05Z")

</div>

That's the unmount command again. There is a different command for removable USB media. `eject`

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [25 March 2022 18:17 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/8 "2022-03-25T18:17:28Z")

</div>

> [@TotallyInformation](#):
>
> eject

Need to double check!

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [25 March 2022 19:42 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/9 "2022-03-25T19:42:20Z")

</div>

Doesn't seem to work

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 March 2022 21:50 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/10 "2022-03-25T21:50:22Z")

</div>

Seriously? Did you even do what I suggested first time around? I don't think you did.

Please go look up the details of the eject command and how to use it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 May 2022 21:51 UTC](https://discourse.nodered.org/t/usb-unmount-target-is-busy/60344/11 "2022-05-24T21:51:09Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
