bonusfrag Posted February 20, 2021 Share Posted February 20, 2021 1 minute ago, Albram said: Да. Со временем появится. и еще один вопрос. должно быть 10 */3 * * * root /opt/usr/bin/smarthtml или 10 */3 * * root /opt/usr/bin/smarthtml т.е. 2 или 3 звездочки до root? 1 Quote Link to comment Share on other sites More sharing options...
Albram Posted February 20, 2021 Share Posted February 20, 2021 5 минут назад, bonusfrag сказал: т.е. 2 или 3 звездочки до root? Информация из первого сообщения на первой странице, вроде бы, не должна оставлять сомнений... цитирую: «10 */3 * * * /opt/usr/bin/smarthtml.sh». 1 Quote Link to comment Share on other sites More sharing options...
SACRED Posted October 30, 2021 Share Posted October 30, 2021 Ни у какую не хочет читать smart, в чем ошибка? Quote Link to comment Share on other sites More sharing options...
Albram Posted October 30, 2021 Share Posted October 30, 2021 1 час назад, SACRED сказал: Ни у какую не хочет читать smart, в чем ошибка? А что показывает: smartctl -a /dev/sda Quote Link to comment Share on other sites More sharing options...
SACRED Posted October 30, 2021 Share Posted October 30, 2021 1 час назад, Albram сказал: А что показывает: smartctl -a /dev/sda Переустановил все по новой, вроде заработало. Из проблем осталось что cron чет не срабатывает, хотя прописал 10 */3 * * * /opt/usr/bin/smarthtml. И не понятно почему отсутствуют кнопки для ручного обновления информации. Quote Link to comment Share on other sites More sharing options...
Albram Posted November 4, 2021 Share Posted November 4, 2021 В 30.10.2021 в 20:33, SACRED сказал: И не понятно почему отсутствуют кнопки для ручного обновления информации. А в конфиге USE_CGI_MODULE включено? 1 Quote Link to comment Share on other sites More sharing options...
vai73 Posted November 8, 2021 Share Posted November 8, 2021 Вопрос, как вытащить ссылку в закладки браузера по пути storadge:\share\www\smart.html ? Ранее раздел opkg был на диске, расшаривался в локалке и файл был доступен по сети, теперь раздел storadge: в общий доступ не добавить. Quote Link to comment Share on other sites More sharing options...
Albram Posted November 8, 2021 Share Posted November 8, 2021 3 часа назад, vai73 сказал: Вопрос, как вытащить ссылку в закладки браузера по пути storadge:\share\www\smart.html ? Ранее раздел opkg был на диске, расшаривался в локалке и файл был доступен по сети, теперь раздел storadge: в общий доступ не добавить. А через web сервер смотреть никак? Quote Link to comment Share on other sites More sharing options...
vai73 Posted November 8, 2021 Share Posted November 8, 2021 (edited) 1 час назад, Albram сказал: А через web сервер смотреть никак? Расшифруйте - это как? а, понял что имеется в виду типа эта ссылка http://192.168.1.1:81/smart.html должна открывать страницу нужную. Там у меня эта штука не заработала, на 4 странице пытались запустить, не получилось. Edited November 8, 2021 by vai73 Quote Link to comment Share on other sites More sharing options...
Albram Posted November 8, 2021 Share Posted November 8, 2021 (edited) 18 минут назад, vai73 сказал: имеется в виду типа эта ссылка http://192.168.1.1:81/smart.html должна открывать страницу нужную. Да. В файле /opt/etc/lighttpd/lighttpd.conf строка "server.port = 81" раскоментирована? Edited November 8, 2021 by Albram 2 Quote Link to comment Share on other sites More sharing options...
vai73 Posted November 8, 2021 Share Posted November 8, 2021 11 минуту назад, Albram сказал: Да. В файле /opt/etc/lighttpd/lighttpd.conf строка "server.port = 81" раскоментирована? У меня там другой порт прописан был. Страница открылась по адресу http://192.168.1.1:8000/smart.html ! Спасибо. Quote Link to comment Share on other sites More sharing options...
Albram Posted November 8, 2021 Share Posted November 8, 2021 3 минуты назад, vai73 сказал: У меня там другой порт прописан был. Страница открылась по адресу http://192.168.1.1:8000/smart.html ! Спасибо. Отлично. Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 3, 2022 Share Posted April 3, 2022 Давно в этой теме никто не писал, пора это исправлять(надеюсь, кто-нибудь ответит). Поставил я smarthtml, но не показывает графики и не работает cron. Переустанавливал полностью и та же проблема. Сами изображения, sda.rrd, sda он формирует и при запуске smarthtml они обновляются. smarthtml.cgi crontab smarthtml.conf smarthtml Quote Link to comment Share on other sites More sharing options...
Albram Posted April 3, 2022 Share Posted April 3, 2022 49 минут назад, bes49magadan сказал: но не показывает графики и не работает cron А почему вы решили, что не показывает графики? Если только установили, то каких графиков ждёте сразу? Для них пока данных нет. Можете пооткрывать файлы png и сравнить с тем, что показывает через web интерфейс, думаю будет одинаково. Можете попробовать запустить команду: smarthtml makerrdgraph Она создаст график, если в базе rrd есть какие либо данные для этого. А так, не ранее чем через 3 часа начнут появляться. Про крон: по каким признакам выяснили что он не работает? Убедитесь что он запущен: ~ # ps | grep cron 732 root 4436 S cron -s 1 Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 3, 2022 Share Posted April 3, 2022 (edited) 47 минут назад, Albram сказал: А почему вы решили, что не показывает графики? Если только установили, то каких графиков ждёте сразу? Для них пока данных нет. Можете пооткрывать файлы png и сравнить с тем, что показывает через web интерфейс, думаю будет одинаково. Можете попробовать запустить команду: smarthtml makerrdgraph Она создаст график, если в базе rrd есть какие либо данные для этого. А так, не ранее чем через 3 часа начнут появляться. Про крон: по каким признакам выяснили что он не работает? Убедитесь что он запущен: ~ # ps | grep cron 732 root 4436 S cron -s Я ставил его дня 2 или 3 дня назад и ждал пока он отрисует графики, но чуда не произошло. Поэтому я и попробовал переустановить. SCT temperature history он вообще не рисует. У меня такое чувство, что в конфиге что-то не правильно. Ну и крон соответственно: 903 root 3020 S grep cron 4611 root 2248 S cron -s Edited April 3, 2022 by bes49magadan Quote Link to comment Share on other sites More sharing options...
Albram Posted April 3, 2022 Share Posted April 3, 2022 20 минут назад, bes49magadan сказал: Может это как-то влияет. Посмотрите на вывод команды: rrdtool info /opt/var/smarthtml/rrd/sda.rra Там будет информация о данных в rrd и видны какие атрибуты сохраняются. 1 Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 3, 2022 Share Posted April 3, 2022 7 минут назад, Albram сказал: Посмотрите на вывод команды: rrdtool info /opt/var/smarthtml/rrd/sda.rra Там будет информация о данных в rrd и видны какие атрибуты сохраняются. Вот Скрытый текст filename = "/opt/var/smarthtml/rrd/sda.rrd" rrd_version = "0003" step = 10800 last_update = 1648972074 ds[smart3].type = "GAUGE" ds[smart3].minimal_heartbeat = 21600 ds[smart3].min = NaN ds[smart3].max = NaN ds[smart3].last_ds = "0" ds[smart3].value = 0.0000000000e+00 ds[smart3].unknown_sec = 0 ds[smart190].type = "GAUGE" ds[smart190].minimal_heartbeat = 21600 ds[smart190].min = NaN ds[smart190].max = NaN ds[smart190].last_ds = "29" ds[smart190].value = 1.8775864246e+05 ds[smart190].unknown_sec = 0 ds[smart194].type = "GAUGE" ds[smart194].minimal_heartbeat = 21600 ds[smart194].min = NaN ds[smart194].max = NaN ds[smart194].last_ds = "29" ds[smart194].value = 1.8775864246e+05 ds[smart194].unknown_sec = 0 rra[0].cf = "MAX" rra[0].rows = 248 rra[0].cur_row = 242 rra[0].pdp_per_row = 1 rra[0].xff = 5.0000000000e-01 rra[0].cdp_prep[0].value = NaN rra[0].cdp_prep[0].unknown_datapoints = 0 rra[0].cdp_prep[1].value = NaN rra[0].cdp_prep[1].unknown_datapoints = 0 rra[0].cdp_prep[2].value = NaN rra[0].cdp_prep[2].unknown_datapoints = 0 rra[1].cf = "MAX" rra[1].rows = 365 rra[1].cur_row = 295 rra[1].pdp_per_row = 8 rra[1].xff = 5.0000000000e-01 rra[1].cdp_prep[0].value = 0.0000000000e+00 rra[1].cdp_prep[0].unknown_datapoints = 0 rra[1].cdp_prep[1].value = 2.5503513124e+01 rra[1].cdp_prep[1].unknown_datapoints = 0 rra[1].cdp_prep[2].value = 2.5503513124e+01 rra[1].cdp_prep[2].unknown_datapoints = 0 rra[2].cf = "MAX" rra[2].rows = 365 rra[2].cur_row = 230 rra[2].pdp_per_row = 40 rra[2].xff = 5.0000000000e-01 rra[2].cdp_prep[0].value = 0.0000000000e+00 rra[2].cdp_prep[0].unknown_datapoints = 0 rra[2].cdp_prep[1].value = 2.5503513124e+01 rra[2].cdp_prep[1].unknown_datapoints = 0 rra[2].cdp_prep[2].value = 2.5503513124e+01 rra[2].cdp_prep[2].unknown_datapoints = 0 Quote Link to comment Share on other sites More sharing options...
Albram Posted April 3, 2022 Share Posted April 3, 2022 (edited) 9 минут назад, bes49magadan сказал: Вот Данные есть. После smarthtml makerrdgraph данные на графике не появились? Edited April 3, 2022 by Albram 1 Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 3, 2022 Share Posted April 3, 2022 Только что, Albram сказал: Данные есть. После smarthtml makerrdgraph данные на графике не появились? Да на графике появились, но SCT temperature history по прежнему пуст. Quote Link to comment Share on other sites More sharing options...
Albram Posted April 3, 2022 Share Posted April 3, 2022 6 минут назад, bes49magadan сказал: но SCT temperature history по прежнему пуст smartctl -a -d sat /dev/sda что показывает? 1 Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 3, 2022 Share Posted April 3, 2022 1 минуту назад, Albram сказал: smartctl -a -d sat /dev/sda что показывает? Скрытый текст smartctl 7.2 2020-12-30 r5155 [mips-linux-4.9-ndm-5] (localbuild) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.14 (AF) Device Model: ST1000DM003-1CH162 Serial Number: S1D6V11X LU WWN Device Id: 5 000c50 05b6da091 Firmware Version: CC44 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 7200 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Apr 3 19:35:12 2022 +11 SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART Status not supported: Incomplete response, ATA output registers missing SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 575) seconds. Offline data collection capabilities: (0x73) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 108) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x3085) SCT Status supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 114 099 006 Pre-fail Always - 60009760 3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 092 092 020 Old_age Always - 8888 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 080 060 030 Pre-fail Always - 22019585327 9 Power_On_Hours 0x0032 059 059 000 Old_age Always - 36743 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 096 096 020 Old_age Always - 4706 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 2 2 2 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 064 053 045 Old_age Always - 36 (0 3 39 18 0) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 244 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 223022 194 Temperature_Celsius 0x0022 036 047 000 Old_age Always - 36 (128 0 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 1 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 22600h+46m+56.419s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 198814666950 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 218014932582 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. Quote Link to comment Share on other sites More sharing options...
Albram Posted April 3, 2022 Share Posted April 3, 2022 1 час назад, bes49magadan сказал: Показать содержимое smartctl 7.2 2020-12-30 r5155 [mips-linux-4.9-ndm-5] (localbuild) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.14 (AF) Device Model: ST1000DM003-1CH162 Serial Number: S1D6V11X LU WWN Device Id: 5 000c50 05b6da091 Firmware Version: CC44 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 7200 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Apr 3 19:35:12 2022 +11 SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART Status not supported: Incomplete response, ATA output registers missing SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 575) seconds. Offline data collection capabilities: (0x73) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 108) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x3085) SCT Status supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 114 099 006 Pre-fail Always - 60009760 3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 092 092 020 Old_age Always - 8888 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 080 060 030 Pre-fail Always - 22019585327 9 Power_On_Hours 0x0032 059 059 000 Old_age Always - 36743 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 096 096 020 Old_age Always - 4706 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 2 2 2 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 064 053 045 Old_age Always - 36 (0 3 39 18 0) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 244 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 223022 194 Temperature_Celsius 0x0022 036 047 000 Old_age Always - 36 (128 0 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 1 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 22600h+46m+56.419s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 198814666950 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 218014932582 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. smartctl -a -d sat -l scttemp /dev/sda 1 Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 3, 2022 Share Posted April 3, 2022 34 минуты назад, Albram сказал: smartctl -a -d sat -l scttemp /dev/sda Скрытый текст smartctl -a -d sat -l scttemp /dev/sda smartctl 7.2 2020-12-30 r5155 [mips-linux-4.9-ndm-5] (localbuild) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.14 (AF) Device Model: ST1000DM003-1CH162 Serial Number: S1D6V11X LU WWN Device Id: 5 000c50 05b6da091 Firmware Version: CC44 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 7200 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Apr 3 21:12:05 2022 +11 SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART Status not supported: Incomplete response, ATA output registers missing SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 575) seconds. Offline data collection capabilities: (0x73) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 108) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x3085) SCT Status supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 114 099 006 Pre-fail Always - 68077592 3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 092 092 020 Old_age Always - 8888 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 080 060 030 Pre-fail Always - 22019591637 9 Power_On_Hours 0x0032 059 059 000 Old_age Always - 36745 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 096 096 020 Old_age Always - 4706 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 2 2 2 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 064 053 045 Old_age Always - 36 (0 3 39 18 0) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 244 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 223029 194 Temperature_Celsius 0x0022 036 047 000 Old_age Always - 36 (128 0 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 1 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 22602h+12m+53.779s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 198835350180 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 218022062255 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. SCT Status Version: 3 SCT Version (vendor specific): 522 (0x020a) Device State: Active (0) Current Temperature: 38 Celsius Power Cycle Min/Max Temperature: 18/39 Celsius Lifetime Min/Max Temperature: 2/47 Celsius Under/Over Temperature Limit Count: 0/0 SCT Data Table command not supported Quote Link to comment Share on other sites More sharing options...
Albram Posted April 3, 2022 Share Posted April 3, 2022 41 минуту назад, bes49magadan сказал: Показать содержимое smartctl -a -d sat -l scttemp /dev/sda smartctl 7.2 2020-12-30 r5155 [mips-linux-4.9-ndm-5] (localbuild) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.14 (AF) Device Model: ST1000DM003-1CH162 Serial Number: S1D6V11X LU WWN Device Id: 5 000c50 05b6da091 Firmware Version: CC44 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 7200 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Apr 3 21:12:05 2022 +11 SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART Status not supported: Incomplete response, ATA output registers missing SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 575) seconds. Offline data collection capabilities: (0x73) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 108) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x3085) SCT Status supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 114 099 006 Pre-fail Always - 68077592 3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 092 092 020 Old_age Always - 8888 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 080 060 030 Pre-fail Always - 22019591637 9 Power_On_Hours 0x0032 059 059 000 Old_age Always - 36745 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 096 096 020 Old_age Always - 4706 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 2 2 2 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 064 053 045 Old_age Always - 36 (0 3 39 18 0) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 244 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 223029 194 Temperature_Celsius 0x0022 036 047 000 Old_age Always - 36 (128 0 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 1 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 22602h+12m+53.779s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 198835350180 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 218022062255 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. SCT Status Version: 3 SCT Version (vendor specific): 522 (0x020a) Device State: Active (0) Current Temperature: 38 Celsius Power Cycle Min/Max Temperature: 18/39 Celsius Lifetime Min/Max Temperature: 2/47 Celsius Under/Over Temperature Limit Count: 0/0 SCT Data Table command not supported smartctl -iAHl scttemp /dev/sda 1 Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 3, 2022 Share Posted April 3, 2022 34 минуты назад, Albram сказал: smartctl -iAHl scttemp /dev/sda Скрытый текст smartctl -iAHl scttemp /dev/sda smartctl 7.2 2020-12-30 r5155 [mips-linux-4.9-ndm-5] (localbuild) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.14 (AF) Device Model: ST1000DM003-1CH162 Serial Number: S1D6V11X LU WWN Device Id: 5 000c50 05b6da091 Firmware Version: CC44 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 7200 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Apr 3 22:31:32 2022 +11 SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART Status not supported: Incomplete response, ATA output registers missing SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 114 099 006 Pre-fail Always - 68077592 3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 092 092 020 Old_age Always - 8889 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 080 060 030 Pre-fail Always - 22019591648 9 Power_On_Hours 0x0032 059 059 000 Old_age Always - 36746 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 096 096 020 Old_age Always - 4706 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 2 2 2 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 073 053 045 Old_age Always - 27 (0 3 39 18 0) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 244 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 223032 194 Temperature_Celsius 0x0022 027 047 000 Old_age Always - 27 (128 0 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 1 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 22602h+14m+23.521s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 198835350180 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 218022062255 SCT Status Version: 3 SCT Version (vendor specific): 522 (0x020a) Device State: Active (0) Current Temperature: 37 Celsius Power Cycle Min/Max Temperature: 18/39 Celsius Lifetime Min/Max Temperature: 2/47 Celsius Under/Over Temperature Limit Count: 0/0 SCT Data Table command not supported Quote Link to comment Share on other sites More sharing options...
Albram Posted April 3, 2022 Share Posted April 3, 2022 Только что, bes49magadan сказал: SCT Data Table command not supported Похоже вот в чём дело. Не поддерживается, хотя и странно. 1 Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 3, 2022 Share Posted April 3, 2022 6 минут назад, Albram сказал: Похоже вот в чём дело. Не поддерживается, хотя и странно. Всё равно спасибо большое, что пытались помочь. Насколько я понимаю мой хард не поддерживает. Если найду другой хард, то попробую с другим. Quote Link to comment Share on other sites More sharing options...
Albram Posted April 3, 2022 Share Posted April 3, 2022 1 минуту назад, bes49magadan сказал: Насколько я понимаю мой хард не поддерживает. Попробуйте сначала обновить микропрограмму диску, на сайте сигейта по вашему серийнику предлагает обновить, наверное не зря. Скрытый текст Я нашёл в инете smart с такого же диска, там тоже нет поддержки SCT table command. 1 Quote Link to comment Share on other sites More sharing options...
bes49magadan Posted April 5, 2022 Share Posted April 5, 2022 В 03.04.2022 в 22:48, Albram сказал: Попробуйте сначала обновить микропрограмму диску, на сайте сигейта по вашему серийнику предлагает обновить, наверное не зря. Показать содержимое Я нашёл в инете smart с такого же диска, там тоже нет поддержки SCT table command. Обновил я микропрограмму, к сожалению SCT temperature history не появилась. Из плюсов починил cron, нужно было дать разрешения для crontab. Quote Link to comment Share on other sites More sharing options...
Nefertum Posted July 14, 2022 Share Posted July 14, 2022 Почему я получаю такую ошибку? /opt/usr/bin/smarthtml.sh /opt/usr/bin/smarthtml.sh: line 1: smarthtml.cgi000755: not found Content-type: text/html; charset=utf-8 Error! Wrong call ()... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.