W biosie zmieniem : HARD DISK S.M.A.R.T. na enabled a nastepnie wykonalem :
ubuntu@ubuntu:~$ sudo su -
root@ubuntu:~# sudo smartctl -a /dev/sda
sudo: smartctl: command not found
root@ubuntu:~# smartctl -s on /dev/sda
The program 'smartctl' is currently not installed. You can install it by typing:
apt-get install smartmontools
root@ubuntu:~# apt-get install smartmontools
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Zostaną zainstalowane następujące dodatkowe pakiety:
bsd-mailx postfix
Sugerowane pakiety:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin
dovecot-common postfix-cdb postfix-doc gsmartcontrol smart-notifier
Polecane pakiety:
mailx mailutils
Zostaną zainstalowane następujące NOWE pakiety:
bsd-mailx postfix smartmontools
0 aktualizowanych, 3 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Konieczne pobranie 0 B/1597 kB archiwów.
Po tej operacji zostanie dodatkowo użyte 5442 kB miejsca na dysku.
Kontynuować? [T/n] t
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Wybieranie wcześniej niewybranego pakietu postfix.
(Odczytywanie bazy danych ... 170586 plików i katalogów obecnie zainstalowanych.)
Preparing to unpack .../postfix_2.11.0-1_amd64.deb ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing archive /var/cache/apt/archives/postfix_2.11.0-1_amd64.deb (--unpack):
podproces nowy skrypt pre-installation zwrócił kod błędu 1
Wybieranie wcześniej niewybranego pakietu bsd-mailx.
Preparing to unpack .../bsd-mailx_8.1.2-0.20131005cvs-1_amd64.deb ...
Unpacking bsd-mailx (8.1.2-0.20131005cvs-1) ...
Wybieranie wcześniej niewybranego pakietu smartmontools.
Preparing to unpack .../smartmontools_6.2+svn3841-1.2_amd64.deb ...
Unpacking smartmontools (6.2+svn3841-1.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Wystąpiły błędy podczas przetwarzania:
/var/cache/apt/archives/postfix_2.11.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu:~# smartctl -s on /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.19.0-25-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke,
www.smartmontools.org=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
root@ubuntu:~# smartctl -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.19.0-25-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke,
www.smartmontools.org=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar Blue (SATA 6Gb/s)
Device Model: WDC WD10EZEX-00RKKA0
Serial Number: WD-WCC1S1162098
LU WWN Device Id: 5 0014ee 207a3d629
Firmware Version: 80.00A80
User Capacity: 1,000,204,886,016 bytes [1,00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sun Aug 6 11:01:29 2017 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
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: (10620) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 122) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x30b5) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 752
3 Spin_Up_Time 0x0027 174 171 021 Pre-fail Always - 2258
4 Start_Stop_Count 0x0032 094 094 000 Old_age Always - 6505
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 7276
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 094 094 000 Old_age Always - 6497
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 53
193 Load_Cycle_Count 0x0032 198 198 000 Old_age Always - 6451
194 Temperature_Celsius 0x0022 107 102 000 Old_age Always - 36
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 8
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 5
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 68
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.