0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

`The disk "..." wasn't ejected because one or more programs may be using it`の解決

Last updated at Posted at 2025-02-11

発端

外付けHDDでいろいろやったあとディスクを安全に取り出そうとしたら,
The disk "..." wasn't ejected because one or more programs may be using it
と出てくる, しかし特に何もしてない
何もしてないのに壊れたと同じ感じ

さて, これがなぜ出てくるのだ...?

解決手段

ターミナル等で以下を実行, なお<ストレージ名>はそのディスクの名前

$ sudo lsof | grep /Volumes/<ストレージ名>

これに出てきたもの(≒タスク)を消してく

$ sudo kill -9 <PID>

このは上のlsofの結果で出てきたリストの, 左から2つ目の数字

lsofでわかったこと

なんか...QuickLook動き続けている...
見終えたはずなのに, 動き続けている
もしかしてこいつのせいでずっと抜くことができなかったのか?
QuickLookをkillしたら一瞬で取り出せた

Finderを強制終了(再起動)したときに同時に消えているのか? QuickLookって
今は解決したし, また今度同様のことが起きたら探ってみよう

参考文献(URLのみ)

https://www.reddit.com/r/applehelp/comments/egwv25/comment/lwjdgyr/
(最終閲覧日: 2025-0228)

関係ない話

英語しかない話題を日本語で解説しておくと自分があとで英文読まなくて済むのでみんなやるべき

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?