ܼ

SMARTѤHDD / SSDΥơƻˡ

SMARTӥ

SMARTͭ졢ӥưƤ뤳ȤȤʤ롣

SMARTϥǥХե򻲾Ȥ뤿ᡢ̥桼Ǥϼ¹Ԥ뤳ȤǤʤ
򤹤뤿ᡢsmartctlSUIDͿ롣

  • # chmod u+s /usr/sbin/smartctl
  • SUIDʤξ
    # sudo -u zabbix /usr/sbin/smartctl -a /dev/sda
    smartctl 7.1 2020-04-05 r5049 [x86_64-linux-4.18.0-372.19.1.el8_6.x86_64] (local build)
    Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
    
    Smartctl open device: /dev/sda failed: Permission denied
  • SUIDͿ
    # sudo -u zabbix /usr/sbin/smartctl -a /dev/sda
    smartctl 7.1 2020-04-05 r5049 [x86_64-linux-4.18.0-372.19.1.el8_6.x86_64] (local 
    build)
    Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Family:     Innodisk 3IE3/3ME3/3ME4 SSDs
    Device Model:     InnoDisk Corp. - mSATA 3ME4
    ʲά

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2022-08-18 () 01:25:44 (103d)