ドライブがときどきフリーズするため、ケーブルを引き抜く必要があります。 (詳細については、以下の質問を参照してください):

そうするとドライブが損傷する(または最悪のシナリオでは破損する)と聞いたので、物理的な損傷を回避するデバイスを強制的に排出する方法があるかどうか疑問に思います。ドライブ(他の通常のドライブと同様)は、正常に読み取るかタイムアウトに達するまで1つのブロックを何度も読み取ろうとするため、強制的にイジェクトする必要があります。破損したブロックを読み取ろうとしてスタックすると、カーネルがプロセスをブロックします。結果が出るまで/ thread。 I / Oを待機しているアプリケーションは、停止したかのように動作するため、force quit / sigkillを使用してもアプリケーションは終了しません。家庭用HHDのタイムアウトは通常長いため、システムのコアGUIコンポーネント(Finder + Dock)が長時間フリーズし、通常の使用が妨げられます。

デバイスを強制的にイジェクトすることは、パーティションを強制的にアンマウントすることと同じではないことに注意してください。 HDDを強制的にイジェクトすると、読み取り/書き込みヘッダーがパーキングゾーンに着地し、ドライブの回転が停止します。

編集:ドライブを新しいもの(実際には同じモデル)に交換し、ddrescueを使用しましたすべてのデータをコピーします。それぞれ約1mbの3つの悪い領域を見つけました。 ddrescueはこれらの悪い領域(私はrawディスクアクセス、つまり/ dev / rdiskXを使用しています)に遭遇するとフリーズしたので、システムの問題ではありません。ただし、大容量記憶装置がスタックしたときに強制的にイジェクトする方法を知りたいのです。

Below is the etrecheck report: EtreCheck version: 5.0.5 (5A016) Report generated: 2019-07-10 18:33:17 Download EtreCheck from https://etrecheck.com Runtime: 4:41 Performance: Good Problem: Other problem Description: HDD freeze Major Issues: Anything that appears on this list needs immediate attention. Time Machine backup out-of-date - The last Time Machine backup is over 10 days old. System Integrity Protection disabled - System Integrity Protection is disabled. This computer is at risk of malware infection. Kernel panics - This system has experienced kernel panics that could be related to 3rd party software. Heavy CPU usage - Some processes are using an unusually high amount of CPU. Minor Issues: These issues do not need immediate attention but they may indicate future problems. Heavy RAM usage - This machine is using a large amount of RAM. Apps crashing - There have been numerous app crashes. Unsigned files - There are unsigned software files installed. They appear to be legitimate but should be reviewed. Abnormal shutdown - Your machine shut down abnormally. Hardware Information: MacBook Pro (13-inch, 2017, Four Thunderbolt 3 ports) MacBook Pro Model: MacBookPro14,2 1 3.1 GHz Intel Core i5 (i5-7267U) CPU: 2-core 16 RAM - Not upgradeable BANK 0/DIMM0 - 8 GB LPDDR3 2133 ok BANK 1/DIMM0 - 8 GB LPDDR3 2133 ok Battery: Health = Normal - Cycle count = 335 Video Information: Intel Iris Plus Graphics 650 - VRAM: 1536 MB Color LCD 2880 x 1800 Drives: disk0 - APPLE SSD AP0512J 500.28 GB (Solid State - TRIM: Yes) Internal PCI-Express 8.0 GT/s x4 NVM Express disk0s1 - EFI [EFI] 315 MB disk0s2 [APFS Container] 499.96 GB disk1 [APFS Virtual drive] 499.96 GB (Shared by 4 volumes) disk1s1 - M***************a (APFS) (Shared - 457.50 GB used) disk1s2 - Preboot (APFS) [APFS Preboot] (Shared - 46 MB used) disk1s3 - Recovery (APFS) [Recovery] (Shared - 1.04 GB used) disk1s4 - VM (APFS) [APFS VM] (Shared - 17.47 GB used) disk2 - Seagate BUP BK 5.00 TB External USB 5 Gbit/s USB disk2s1 - EFI (MS-DOS FAT32) [EFI] 210 MB disk2s2 - S******************) (Journaled HFS+) 5.00 TB (2.08 TB used) Mounted Volumes: disk1s1 - M***************a 499.96 GB (22.69 GB free) APFS Mount point: / disk1s4 - VM [APFS VM] (Shared - 17.47 GB used) APFS Mount point: /private/var/vm disk2s2 - S******************) 5.00 TB (2.92 TB free) Journaled HFS+ Mount point: /Volumes/S******************) disk4s2 - M***********0 41 MB (16 MB free) Mac OS Extended Disk Image Mount point: /Volumes/M***********0 Network: Interface en8: Belkin USB-C LAN Proxies: HTTP, HTTPS, SOCKS Interface en10: iPhone Proxies: HTTP, HTTPS, SOCKS Interface en0: Wi-Fi Proxies: HTTP, HTTPS, SOCKS Interface en7: Bluetooth PAN Proxies: HTTP, HTTPS, SOCKS System Software: macOS High Sierra 10.13.6 (17G65) Time since boot: About 6 days Configuration Files: File /etc/sudoers size: Found 1584 B but expected 1563 B File /etc/sysctl.conf exists but not expected /etc/hosts - Count: 12 Security: System Status Gatekeeper Enabled System Integrity Protection enabled (Custom Configuration) Unsigned Files: Launchd: ~/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.http.plist Executable: ~/Library/Application Support/ShadowsocksX-NG/privoxy --no-daemon privoxy.config Details: Exact match found in the whitelist - probably OK Launchd: ~/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.local.plist Executable: ~/Library/Application Support/ShadowsocksX-NG/ss-local -c ss-local-config.json -v Details: Exact match found in the whitelist - probably OK Launchd: /private/var/***/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.local.plist Executable: ~/Library/Application Support/ShadowsocksX-NG/ss-local -c ss-local-config.json -v Details: Exact match found in the whitelist - probably OK Launchd: /private/var/***/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.http.plist Executable: ~/Library/Application Support/ShadowsocksX-NG/privoxy --no-daemon privoxy.config Details: Exact match found in the whitelist - probably OK Launchd: /Library/LaunchAgents/com.oracle.java.Java-Updater.plist Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater -bgcheck Details: Exact match found in the whitelist - probably OK Launchd: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Java-Updater.plist Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater -bgcheck Details: Exact match found in the whitelist - probably OK Launchd: /Library/LaunchAgents/com.micromat.TechToolProAgent.plist Executable: /Library/PreferencePanes/TechTool Protection.prefPane/Contents/PlugIns/TechToolProAgent.app/Contents/MacOS/TechToolProAgent Details: Exact match found in the whitelist - probably OK Launchd: /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Helper-Tool Details: Exact match found in the whitelist - probably OK Launchd: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Helper-Tool.plist Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Helper-Tool Details: Exact match found in the whitelist - probably OK Launchd: /Library/LaunchDaemons/com.micromat.TechToolProDaemon.plist Executable: /Library/PreferencePanes/TechTool Protection.prefPane/Contents/PlugIns/TechToolProDaemon.app/Contents/MacOS/TechToolProDaemon Details: Exact match found in the whitelist - probably OK Kernel Extensions: /Library/Extensions intelhaxm.kext (7.3.0 - SDK 10.9) LuLu.kext (1.1.2 - SDK 10.14) ufsd_NTFS.kext (15.4.19 - SDK 10.10) /***/Library/Extensions ssuddrv.kext (1.4.32 - SDK 10.6) SamsungPortableSSDDriver.kext (1.5.02 - SDK 10.7) /***/Library/Extensions/ssuddrv.kext/Contents/PlugIns ssudmdmcontrol.kext (1.4.32 - SDK 10.6) ssudmdmdata.kext (1.4.32 - SDK 10.6) ssudmtp.kext (1.4.32 - SDK 10.5) ssudserial.kext (1.4.32 - SDK 10.6) System Launch Agents: [Not Loaded] 9 Apple tasks [Loaded] 164 Apple tasks [Running] 75 Apple tasks [Killed] 43 Apple tasks [Other] 3 Apple tasks System Launch Daemons: [Not Loaded] 36 Apple tasks [Loaded] 155 Apple tasks [Running] 105 Apple tasks [Killed] 39 Apple tasks [Other] One Apple task Launch Agents: [Loaded] com.oracle.java.Java-Updater.plist (? 732efa87 - installed 2019-06-25) [Other] com.adobe.AdobeCreativeCloud.plist (Adobe Systems, Inc. - installed 2019-06-18) [Not Loaded] com.adobe.GC.AGM.plist (Adobe Systems, Inc. - installed 2019-06-20) [Other] com.google.keystone.agent.plist (Google, Inc. - installed 2019-06-04) [Not Loaded] com.adobe.AAM.Updater-1.0.plist (Adobe Systems, Inc. - installed 2019-06-25) [Running] com.micromat.TechToolProAgent.plist (? c83170ec - installed 2019-06-24) [Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. - installed 2019-06-20) Launch Daemons: [Loaded] com.sweetpproductions.WiFiSpoofHelperTool.plist (SweetP Productions, Inc. - installed 2019-06-04) [Loaded] com.adobe.ARMDC.Communicator.plist (Adobe Systems, Inc. - installed 2019-06-18) [Loaded] com.google.keystone.daemon.plist (Google, Inc. - installed 2019-06-04) [Running] com.cleverfiles.cfbackd.plist (Justin Johnson - installed 2019-06-08) [Loaded] com.apple.bluetooth.PacketLoggerHelper.plist (Apple - installed 2019-05-13) [Running] com.micromat.TechToolProDaemon.plist (? c4e58e15 - installed 2019-06-24) [Loaded] com.oracle.java.Helper-Tool.plist (? e3fefdd2 - installed 2019-06-25) [Loaded] com.macpaw.CleanMyMac3.Agent.plist (MacPaw Inc. - installed 2018-05-26) [Loaded] com.adobe.ARMDC.SMJobBlessHelper.plist (Adobe Systems, Inc. - installed 2019-06-18) User Launch Agents: [Running] com.qiuyuzhou.shadowsocksX-NG.local.plist (? 0 - installed 2019-07-10) [Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. - installed 2019-06-20) [Loaded] com.macpaw.CleanMyMac3.Scheduler.plist (MacPaw Inc. - installed 2018-10-19) [Running] com.qiuyuzhou.shadowsocksX-NG.http.plist (? 0 - installed 2019-07-10) User Login Items: ShadowsocksX-NG-R8.app (? - installed 2018-10-08) (/Applications/ShadowsocksX-NG-R8.app) CleanMyMac 3 Menu.app (? - installed 2017-12-19) (/Applications/CleanMyMac 3.app/Contents/MacOS/CleanMyMac 3 Menu.app) Flux.app (Michael Herf - installed 2018-01-09) (/Applications/Flux.app) SmartDaemon.app (Justin Johnson - installed 2019-06-08) (/Library/Application Support/CleverFiles/SmartDaemon.app) EOS Utility.app (Canon Inc. - installed 2019-01-09) (/Applications/Canon Utilities/EOS Utility/EOS Utility.app) Image Transfer Utility 2.app (Canon Inc. - installed 2019-07-08) (/Applications/Canon Utilities/ImageTransferUtility2/Image Transfer Utility 2.app) ShadowsocksX-NG-R8 (? - installed 2018-10-08) (/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/AppTranslocation/44DA3994-FE3D-4B89-918A-72240AD18C44/d/ShadowsocksX-NG-R8.app/Contents/MacOS/ShadowsocksX-NG) Flux (Michael Herf - installed 2018-01-09) (/Applications/Flux.app/Contents/MacOS/Flux) SmartDaemon (Justin Johnson - installed 2019-06-08) (/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/AppTranslocation/67E37FDB-1E1F-4F5F-8F3F-711ABA225E44/d/SmartDaemon.app/Contents/MacOS/SmartDaemon) CleanMyMac 3 Menu (MacPaw Inc. - installed 2017-12-19) (/Applications/CleanMyMac 3.app/Contents/MacOS/CleanMyMac 3 Menu.app/Contents/MacOS/CleanMyMac 3 Menu) Internet Plug-ins: AdobeAAMDetect: 3.0.0.0 (installed 2019-06-18) FlashPlayer-10.6: 32.0.0.192 (installed 2019-05-15) QuickTime Plugin: 7.7.3 (installed 2018-07-04) AdobePDFViewerNPAPI: 17.012.20098 (installed 2019-06-25) AdobePDFViewer: 19.012.20034 (installed 2019-06-25) Flash Player: 32.0.0.192 (installed 2019-05-15) Scorch: (installed 2018-10-25) PepperFlashPlayer: 32.0.0.192 (installed 2019-05-18) JavaAppletPlugin: Java 8 Update 211 build 12 (installed 2019-06-25) Safari Extensions: Free Download Manager.safariextz - FreeDownloadManager.org - http://freedownloadmanager.org (installed 2018-09-28) 3rd Party Preference Panes: Flash Player (installed 2019-04-30) FUSE (installed 2018-12-18) Java (installed 2019-06-25) NTFS (installed 2018-10-02) Perian (installed 2013-12-11) TechTool Protection (installed 2019-06-24) Toolkit (installed 2019-03-15) Time Machine: Skip System Files: No Mobile backups: Auto backup: Yes Volumes being backed up: M***************a: Disk size: 499.96 GB - Disk used: 477.27 GB Destinations: J**********p [Local] (Last used) Total size: 5.00 TB Total number of backups: 14 Oldest backup: 2019-02-10 12:14:49 Last backup: 2019-02-19 20:52:43 Performance: System Load: 5.91 (1 min ago) 4.52 (5 min ago) 3.94 (15 min ago) Nominal I/O speed: 4.98 MB/s File system: 38.13 seconds Write speed: 1159 MB/s Read speed: 2986 MB/s Top Processes by CPU: Process (count) Source CPU Location Google Chrome Helper (172) Google, Inc. 89.89 % Google Chrome Google, Inc. 43.62 % kernel_task Apple 23.65 % fdm SoftDeluxe, Inc 22.64 % WindowServer Apple 15.62 % Top Processes by Memory: Process (count) Source RAM usage Location Google Chrome Helper (172) Google, Inc. 6.29 GB kernel_task Apple 2.26 GB Google Chrome Google, Inc. 815 MB fdm SoftDeluxe, Inc 573 MB Finder Apple 406 MB Top Processes by Network Use: Process Source Input Output Location os-book.com ? 198 MB 14 KB wget -r --xattr -c -N -kK -p --follow-ftp http: fdm SoftDeluxe, Inc 74 MB 7 MB ss-local ? 9 MB 805 KB ~/Library/Application Support/ShadowsocksX-NG mDNSResponder Apple 1011 KB 846 KB EmbeddedOSInstallService Apple 149 KB 210 KB Virtual Memory Information: Available RAM 1.61 GB Free RAM 69 MB Used RAM 14.39 GB Cached files 1.54 GB Swap Used 14.72 GB Software Installs (past 30 days): Name Version Install Date Adobe Acrobat DC (19.012.20034) 19.012.20034 2019-06-25 Java 8 Update 211 1.0 2019-06-25 Air Explorer 1.6.1 2019-07-08 Diagnostics Information (past 7 days): 2019-07-10 17:33:02 Xcode.app Crash /Applications/Xcode.app dyld: launch, loading dependent libraries, ignoring DYLD_* env vars 2019-07-10 11:47:41 AppDelete.app Crash /Applications/AppDelete.app Crashing on exception: *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array 2019-07-10 11:29:07 ifuse Crash /usr/local/Cellar/ifuse/1.1.3/bin/ifuse dyld: launch, loading dependent libraries 2019-07-09 13:43:52 quicklookd.app CPU /***/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd.app 2019-07-08 13:12:05 com.apple.WebKit.Plugin.64 Crash /***/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.Plugin.64.xpc/Contents/MacOS/com.apple.WebKit.Plugin.64 2019-07-08 10:41:24 UniversalInstaller.app Crash /var/folders/*/UniversalInstaller.app 2019-07-08 10:36:24 coreaudiod Crash /usr/sbin/coreaudiod 2019-07-06 11:46:07 KeyRecoveryAssistant.app Crash /Volumes/*/K**********************p dyld: launch, loading dependent libraries 2019-07-04 13:19:34 UpdaterStartupUtility Crash /Applications/Utilities/Adobe Application Manager/*/UpdaterStartupUtility abort() called *** error for object 0x7fb546711f98: incorrect checksum for freed object - object was probably modified after being freed. 2019-07-04 13:13:09 Last Shutdown Cause: 3 - Hard shutdown 2019-07-04 13:00:52 mdworker CPU /***/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mdworker 2019-07-03 20:54:26 Kernel Panic 3rd party kernel extensions: com.objective-see.lulu 1.1.2 com.devguru.driver.SamsungMTP 1.4.32 com.samsung.portablessd.driver 1.5.02 com.devguru.driver.SamsungACMData 1.4.32 End of report 

コメント

  • このドライブが心配です。バックアップを取得してください。別のポートと別のケーブルを試してください。うまくいかない場合は、新しいエンクロージャーを検討してください。うまくいかない場合は、新しいドライブ。
  • @historystampSMARTステータスは良好です。さらに、このドライブは新しく、'一度もドロップしていません。
  • 'ドライブとあなたのデータ。報告する内容は'正常ではありません。何かがおかしい。別のケーブルと別のポートを試してください。可能であれば、別のコンピューターを試してください。ドライブ上のデータをバックアップしてください。ドライブの障害履歴: prosofteng.com/blog/how-long-do-hard-drives-last
  • 削除:com。 macpaw.CleanMyMac3.Agent.plist(MacPaw Inc.-インストール済み2018-05-26)多くの人がこれを純粋なマルウェアと見なしています。
  • このアプリの内容は何ですか?インストール日が異なることに注意してください。 com.qiuyuzhou.shadowsocksX-NG.local.plist(?0-インストール済み2019-07-10)[実行中] com.qiuyuzhou.shadowsocksX-NG.http.plist(?0-インストール済み2019-07-10)

回答

diskutil ejectは( man diskutil を参照)。ディスクが使用中の場合、「イジェクトの待機中にボリュームがタイムアウトしました」で失敗する可能性があります。

 eject device Eject a disk. Media will become offline for the purposes of being a data store for file systems or being a member of con- structs such as software RAID or direct data. Additionally, removable media will become eligible for safe manual removal; automatically-removable media will begin its physical (motor- ized) eject sequence. 

イジェクトする場合ディスク(つまり、再起動するか、プラグを抜いて/再挿入するまでマウントできません)の場合、たとえばdiskutil unmountDisk

 unmountDisk | umountDisk [force] device Unmount an entire disk (all volumes). Force will force- unmount the volumes (less kind to any open files; see also umount (8)). 

disk2が必要な場合、これはターミナルで実行することを意味します

diskutil unmountDisk /dev/disk2 

または(関連するリスクを強制したい場合)

続いて

diskutil eject /dev/disk2 

回答

Finderの[取り出し]ボタンをクリックしてもドライブが応答しない場合は、ドライブの取り出しを強制する可能性のあるポップアップメッセージが表示されます。

コメント

  • Finder(およびドライブにアクセスする他のアプリケーション)は、I / O遅延/エラーのために実際にフリーズします。さらに、ドライブのアンマウントは、ドライブのイジェクトと同じではありません。ドライブをイジェクトすると、' " diskutil list "

回答

システムを引き出さないと、システムがフリーズします。
システムに問題があります。これは正常な動作ではありません。これが発生する根本的な原因を探しましょう。

  • 再起動するとどうなりますか?
  • I / Oシステムのリセットを試す必要があります。 https://support.apple.com/en-us/HT204063
  • セーフブートを試してください。セーフモードで正常に動作するかどうか、これは、一部のソフトウェアがドライブの動作を妨害していることを意味します。

    マシンをシャットダウンします。シフトキーを押し続けます。電源を入れます。起動ドライブのファイルシステムが停止しているため、起動に通常より時間がかかります。必要に応じてチェックし、修理しました。セーフブートで除外される機能やアプリなど、セーフモードに関するすべて。セーフブートでは、マシンのビデオハードウェアを使用する代わりに、ソフトウェアドライバーを使用します。 http://support.apple.com/kb/ht1455

  • 問題のあるものを探したい場合お使いのマシンにあるソフトウェアについては、etrecheckレポートを投稿してください。Etrecheckは、マシンとソフトウェアを分析し、経験豊富なユーザーが問題を診断する際に役立つ情報を見つけたことを報告します。他の人が見ることができるように、ここに結果を投稿してください。 。

インストールして実行

  • etrecheckをダウンロードします。 http://www.etrecheck.com/ ダウンロードページ。ダウンロードリンクは画面の下部にあります
  • etrecheckをインストールします。ダウンロードフォルダに移動します。EtreCheckPro.zipをダブルクリックします
  • 必要に応じて、アプリをアプリケーションフォルダにドラッグします。
  • etrecheckをダブルクリックして実行します。最初の5回の実行は無料です。

    別の説明方法EtreCheckアプリケーションの出力をインストール、実行、およびレポートします。OldToadの記述が役立つ場合があります。 https://discussions.apple.com/docs/DOC-250000211

コメント

  • システムがフリーズしません。 'は、フリーズするドライブにアクセスするアプリケーションです。たとえば、FinderやDockなどです。 macOSの主なGUIエクスペリエンスはDockとFinderに基づいているため、システムがフリーズしているように感じられ(マウスを動かすことはできます)、フリーズしたデバイスを取り除くと、これらのアプリケーションは正常になります。
  • ' NVRAMとSMCのリセットを試しました。何も変わりませんでした。
  • セーフブートは私にはうまくいかないようです。ファームウェアのパスワードを無効にしようとしましたが、'セーフモードに入ることができないようです。機会があれば再試行します。
  • Apple Hardware Testを実行しましたが、ハードウェアの問題はありません。
  • fsckを定期的に実行しますが、 " overallocation 修復されないapfsの問題'。

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です