動作に不調があるわけではないのですが、2年近く使ったMacBook Pro 15インチのSSDの具合が気になったので調べてみました。
動作環境
- モデル: 15-inch, 2019
- プロセッサ: 8-Core Intel Core i9 CPU 9980HK 2.4GHz
- メモリ: 32GB 2400MHz DDR4
- SSD: 1TB (APFSフォーマット)
- OS: macOS Big Sur
導入手順
homebrewを使えば簡単に導入できます。
brew install smartmontools
ディスクを確認
diskutil list
コマンドを叩くと、ディスクの一覧が表示されるのでMac内蔵のSSDのdisk0
をターゲットとして実行します。
❯ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.0 TB disk0 1: EFI EFI 314.6 MB disk0s1 2: Apple_APFS Container disk1 1.0 TB disk0s2 /dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +1.0 TB disk1 Physical Store disk0s2 1: APFS Volume Macintosh HD - Data 508.4 GB disk1s1 2: APFS Volume Preboot 560.0 MB disk1s2 3: APFS Volume Recovery 625.7 MB disk1s3 4: APFS Volume VM 4.3 GB disk1s4 5: APFS Volume Macintosh HD 15.3 GB disk1s5 6: APFS Snapshot com.apple.os.update-... 15.3 GB disk1s5s1
S.M.A.R.T.情報を取得
smartctl -a /dev/disk0
を実行するだけ。
❯ smartctl -a /dev/disk0 smartctl 7.2 2020-12-30 r5155 [Darwin 20.6.0 x86_64] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Number: APPLE SSD AP1024M Firmware Version: 1161.100 PCI Vendor/Subsystem ID: 0x106b IEEE OUI Identifier: 0x000000 Controller ID: 0 NVMe Version: <1.2 Number of Namespaces: 1 Firmware Updates (0x02): 1 Slot Optional Admin Commands (0x0004): Frmw_DL Optional NVM Commands (0x0004): DS_Mngmt Maximum Data Transfer Size: 256 Pages Supported Power States St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat 0 + 0.00W - - 0 0 0 0 0 0 === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning: 0x00 Temperature: 37 Celsius Available Spare: 100% Available Spare Threshold: 99% Percentage Used: 6% Data Units Read: 406,920,252 [208 TB] Data Units Written: 287,417,051 [147 TB] Host Read Commands: 6,959,120,976 Host Write Commands: 4,088,322,245 Controller Busy Time: 0 Power Cycles: 193 Power On Hours: 4,599 Unsafe Shutdowns: 97 Media and Data Integrity Errors: 0 Error Information Log Entries: 0 Read 1 entries from Error Information Log failed: GetLogPage failed: system=0x38, sub=0x0, code=745
Percentage Used: 6%
と出ていたので2年使えばこんな物かなと思いました。M1 Macはスワップの関係で消耗が激しいらしいです。
DriveDxでも調べてみた
有料アプリのDriveDxでも調べてみましたが、SSD Lifetime Left Indicatorは94%とsmartmontools
での値と変わりありませんでした。
グラフィカルで見やすいですが、簡易的に調べるだけならsmartmontools
で十分だと考えています。