systemctl status smartd 입력하면 아래와 같이 나옵니다.
root@com1 [일 9월 25] [15:37] ~
# systemctl status smartd
● smartmontools.service - Self Monitoring and Reporting Technology (SMART) Daemon
Loaded: loaded (/lib/systemd/system/smartmontools.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-09-25 15:36:20 KST; 16h ago
Docs: man:smartd(8)
man:smartd.conf(5)
Main PID: 2953 (smartd)
Status: "Next check of 4 devices will start at 08:06:20"
Tasks: 1 (limit: 19051)
Memory: 1.8M
CPU: 114ms
CGroup: /system.slice/smartmontools.service
└─2953 /usr/sbin/smartd -n
9월 26 05:06:20 com1 smartd[2953]: Device: /dev/nvme0, Critical Warning (0x0c): Reliability, R/O
9월 26 05:36:20 com1 smartd[2953]: Device: /dev/nvme0, Critical Warning (0x0c): Reliability, R/O
9월 26 06:06:21 com1 smartd[2953]: Device: /dev/sdc [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 50 to 51
9월 26 06:06:21 com1 smartd[2953]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 50 to 49
질문 1 : 에러나 경고가 최근것만 출력되는데, 최초것까지 모두 조회할 수 있을까요 ?
질문 2 : Next check 는 대략 30분후에 한다고 쓰여있는데, 제가 임의로 검사 주기 설정하는 것이 가능한가요 ?
µð½ºÅ©º°·Î ÁöÁ¤Çؼ SMARTÀÇ ÇöÁ¦°ªÀ» °¡Á®¿Ã ¼ö µµ ÀÖ½À´Ï´Ù
ÇöÁ¦°ª üũÇؼ ¹®Á¦ ÀÖ´ÂÁö È®ÀÎÇغ¸¼¼¿ä
°¢Á¾ µ¥¸óµéÀÇ Ç®·Î±×¸¦ º¸´Â ¹æ¹ýÀ» ¹®Àǵ帰°Ì´Ï´Ù.
°ú°Å ±â·ÏÀ» º¸·Á¸é ±× ÆÄÀÏÀ» ¿¾îº¸´Â°Ô Á¤´äÀÌ°ÚÁö¿ä.
µ¥¸ó ÇÁ·Î±×·¥µéÀÇ Ã½Å©ÁÖ±â ¹× ¼³Á¤³»¿ëµéÀº °¢ÀÚ ´Ù¸£¹Ç·Î
/etc µð·ºÅ丮 ¾îµò°¡¿¡ ???.conf ÇüÅ·ΠÀúÀåµÇ¾î ÀÖ°ÚÁÒ.
Âü°í·Î smartd °ü·Ã ÇÁ·Î±×·¥µéÀ» ¼³Ä¡Çغ¸´Ï log ±â·ÏÀº /va/log/syslog ÆÄÀÏ¿¡ ³²°ÜÁö³×¿ä.
°ú°Å ±â·ÏÀ» »ìÆ캸·Á¸é ´ëÃæ grep -rn "smartd" syslog* ÀÌ·¸°Ô ¸í·ÉÀ» ³»¸®¸é µÇ°Ú½À´Ï´Ù.
Çѹø ã¾Æº¸°Ú½À´Ï´Ù.
¸Â´ÆÁö ¸ð¸£°Ú´Âµ¥.. smartctl Àΰ¡.. ±× ¸í·ÉÀ» »ç¿ëÇϽøé ÇöÀç smart »óÅ ·¹Æ÷Æ®µµ º¼ ¼ö ÀÖ±¸¿ä
journalctl -u smartd.service Çϴϱî
-- No entries --
À̰͸¸ µü! ³ª¿À°í ¾Ï°Íµµ ¾È³ª¿É´Ï´Ù ¤¾
À§¿¡¸¦ º¸´Ï smartmontools.service À¸·Î ¹Ù²Ù½Ã¸é µÉ°Å°°½À´Ï´Ù.
journalctl -u smartmontools.serivce ÇÏ´Ï±î µ¥¸ó ½ÃÀÛÇßÀ»¶§ ºÎÅÍ ÇöÀç±îÁö ¸ðµÎ ³ª¿À³×¿ä.
Ȥ½Ã, clear ÇÏ´Â ¹æ¹ýµµ ÀÖÀ»±î¿ä ? Áï, ·Î±×¸¦ ½Ï´Ù »èÁ¦ÇÏ´Â ¹æ¹ýÀ̶ó´ø°¡...
Çѹø man journalctl Çغ¸½Ã¸é µµ¿òµÉ¸¸ÇÑ°Ô ÀÖÀ»¼öµµ ÀÖÀ»°Å °°½À´Ï´Ù.
Á¶¾ð´ë·Î ¸Þ´º¾ó ÆäÀÌÁö »ìÆ캸°í ÀÖ¾î¿ä^^