[Raspberry Pi] USB デバイスのアンマウントができないとき
環境:Raspberry Pi 3 Model B、Raspberry Pi OS Buster
Raspberry Pi で USB メモリ等をアンマウントようとしても target is busy などと表示されることがある。
$ sudo umount [デバイス名 or マウントポイント]
umount: [デバイス名 or マウントポイント]: target is busy.
手っ取り早く強制的にアンマウントするには以下のオプションを付ければいい。
$ sudo umount -l [デバイス名 or マウントポイント]
あるいは
$ sudo umount -f [デバイス名 or マウントポイント]
参考:
【 umount 】コマンド――ファイルシステムのマウントを解除する:Linux基本コマンドTips(184) - @IT
https://www.atmarkit.co.jp/ait/articles/1802/16/news025.html
linux - How to unmount a busy device - Stack Overflow
https://stackoverflow.com/questions/7878707/how-to-unmount-a-busy-device
この記事が気に入ったらサポートをしてみませんか?