[root@backup ~]# cat /etc/centos-release CentOS Linux release 7.9.2009 (Core) [root@backup ~]# uname -a Linux backup.localdomain 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30 15:51:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux # the drive is from 2009, so lifetime 33546 means 65536 + 33546 = 99082 # -> self-test log order is unusual: # the first bad sector LBA is 768453424 [root@backup ~]# /usr/local/sbin/smartctl -l selftest /dev/sdd smartctl 7.2 2020-12-30 r5155 [x86_64-linux-3.10.0-1160.49.1.el7.x86_64] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 90% 33546 768453424 # 2 Short offline Completed without error 00% 8065 - # 3 Short offline Completed without error 00% 8041 - # 4 Short offline Completed without error 00% 8017 - # 5 Short offline Completed without error 00% 7993 - # 6 Short offline Completed without error 00% 7969 - # 7 Extended offline Completed without error 00% 7948 - # 8 Short offline Completed without error 00% 7945 - # 9 Short offline Completed without error 00% 7921 - #10 Short offline Completed without error 00% 7897 - #11 Short offline Completed without error 00% 7873 - #12 Short offline Completed without error 00% 7849 - #13 Short offline Completed without error 00% 7825 - #14 Short offline Completed without error 00% 7801 - #15 Extended offline Completed without error 00% 7780 - #16 Short offline Completed without error 00% 7777 - #17 Short offline Completed without error 00% 7754 - #18 Short offline Completed without error 00% 7730 - #19 Short offline Completed without error 00% 7706 - #20 Short offline Completed without error 00% 7682 - #21 Short offline Completed without error 00% 7658 - # in order to make another xerror log record: [root@backup ~]# dd if=/dev/zero of=/dev/sdd bs=512 seek=768453424 count=1 dd: error writing ‘/dev/sdd’: Input/output error 1+0 records in 0+0 records out 0 bytes (0 B) copied, 2.56117 s, 0.0 kB/s # show the last record from xerror log: [root@backup ~]# /usr/local/sbin/smartctl -i -l xerror,1 /dev/sdd smartctl 7.2 2020-12-30 r5155 [x86_64-linux-3.10.0-1160.49.1.el7.x86_64] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Black Device Model: WDC WD6401AALS-00L3B2 Serial Number: WD-WCASY5462030 LU WWN Device Id: 5 0014ee 2ad88b13f Firmware Version: 01.03B01 User Capacity: 640,135,028,736 bytes [640 GB] Sector Size: 512 bytes logical/physical Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS (minor revision not indicated) SATA Version is: SATA 2.5, 3.0 Gb/s Local Time is: Tue Jan 11 09:31:13 2022 +07 SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART Extended Comprehensive Error Log Version: 1 (6 sectors) Device Error Count: 89 (device log contains only the most recent 24 errors) CR = Command Register FEATR = Features Register COUNT = Count (was: Sector Count) Register LBA_48 = Upper bytes of LBA High/Mid/Low Registers ] ATA-8 LH = LBA High (was: Cylinder High) Register ] LBA LM = LBA Mid (was: Cylinder Low) Register ] Register LL = LBA Low (was: Sector Number) Register ] DV = Device (was: Device/Head) Register DC = Device Control Register ER = Error register ST = Status register Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 89 [16] occurred at disk power-on lifetime: 33550 hours (1397 days + 22 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER -- ST COUNT LBA_48 LH LM LL DV DC -- -- -- == -- == == == -- -- -- -- -- 40 -- 51 00 00 00 2d ab 00 cd 30 40 00 Error: UNC at LBA = 0x2dab00cd30 = 196142484784 Commands leading to the command that caused the error were: CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name -- == -- == -- == == == -- -- -- -- -- --------------- -------------------- 60 00 08 00 40 00 00 2d cd ab 30 40 08 15d+12:24:30.054 READ FPDMA QUEUED 61 00 08 00 38 00 00 2d cb 94 78 40 08 15d+12:24:26.015 WRITE FPDMA QUEUED 61 00 08 00 30 00 00 2d c7 85 e0 40 08 15d+12:24:26.014 WRITE FPDMA QUEUED 61 00 08 00 28 00 00 2d c7 84 10 40 08 15d+12:24:26.014 WRITE FPDMA QUEUED 61 00 08 00 20 00 00 2d c7 70 08 40 08 15d+12:24:26.014 WRITE FPDMA QUEUED # note that 0x2DCDAB30 <> 0x2dab00cd30 # and so 196142484784 is wrong [root@backup ~]# echo 'obase=16; 768453424' | bc 2DCDAB30 # sources are just downloaded from https://deac-ams.dl.sourceforge.net/project/smartmontools/smartmontools/7.2/smartmontools-7.2.tar.gz # build log: [tmpbuild@backup smartmontools-7.2]$ ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking dependency style of gcc... gcc3 checking for pkg-config... /bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for nm... nm checking whether this is a build from SVN... no checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking for linux/cciss_ioctl.h... yes checking for __int128... yes checking for long double with more range or precision than double... yes checking for getopt_long... yes checking for clock_gettime... yes checking for ftime... yes checking for gettimeofday... yes checking whether byte ordering is bigendian... no checking whether g++ supports __attribute__((packed))... yes checking cap-ng.h usability... no checking cap-ng.h presence... no checking for cap-ng.h... no checking systemd/sd-daemon.h usability... no checking systemd/sd-daemon.h presence... no checking for systemd/sd-daemon.h... no checking for sigaction... yes checking for g++ option to accept C++11... -std=gnu++11 checking for regcomp... yes checking whether os_linux.cpp uses new interface... yes checking whether NVMe device scanning could be safely enabled... yes checking whether g++ supports -Wformat=2... yes checking whether g++ supports -fstack-protector-strong... yes checking whether _FORTIFY_SOURCE is predefined... no checking whether g++ supports _FORTIFY_SOURCE=2... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands checking whether make sets $(MAKE)... (cached) yes configure: ----------------------------------------------------------------------------- smartmontools-7.2 configuration: host operating system: x86_64-pc-linux-gnu C++ compiler: g++ C compiler: gcc preprocessor flags: -D_FORTIFY_SOURCE=2 C++ compiler flags: -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong C compiler flags: -g -O2 linker flags: OS specific modules: os_linux.o cciss.o dev_areca.o binary install path: /usr/local/sbin man page install path: /usr/local/share/man doc file install path: /usr/local/share/doc/smartmontools examples install path: /usr/local/share/doc/smartmontools/examplescripts drive database file: /usr/local/share/smartmontools/drivedb.h database update script: /usr/local/sbin/update-smart-drivedb database update branch: branches/RELEASE_7_2_DRIVEDB download tools: curl wget lynx svn GnuPG for verification: gpg local drive database: /usr/local/etc/smart_drivedb.h smartd config file: /usr/local/etc/smartd.conf smartd warning script: /usr/local/etc/smartd_warning.sh smartd plugin path: /usr/local/etc/smartd_warning.d PATH within scripts: /usr/local/bin:/usr/bin:/bin smartd initd script: [disabled] smartd save files: [disabled] smartd attribute logs: [disabled] SELinux support: no libcap-ng support: no systemd notify support: no NVMe DEVICESCAN: yes ----------------------------------------------------------------------------- configure: WARNING: The default for the inclusion of NVME devices in smartd.conf 'DEVICESCAN' and 'smartctl --scan' has been changed to 'yes' on this platform. If '--without-nvme-devicescan' is still needed, please inform smartmontools-support@listi.jpberlin.de. Use option '--with-nvme-devicescan' to suppress this warning. configure: WARNING: systemd(1) is used on this system but smartd systemd notify support will not be available because libsystemd-dev[el] package is not installed. Use option '--without-libsystemd' to suppress this warning. [tmpbuild@backup smartmontools-7.2]$ make make all-am make[1]: Entering directory `/home/tmpbuild/work/smartmontools-7.2' cat ChangeLog NEWS $(SOURCES) | $(VERSION_FROM_SVN_IDS) > svnversion.h g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT smartctl.o -MD -MP -MF .deps/smartctl.Tpo -c -o smartctl.o smartctl.cpp mv -f .deps/smartctl.Tpo .deps/smartctl.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT atacmdnames.o -MD -MP -MF .deps/atacmdnames.Tpo -c -o atacmdnames.o atacmdnames.cpp mv -f .deps/atacmdnames.Tpo .deps/atacmdnames.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT atacmds.o -MD -MP -MF .deps/atacmds.Tpo -c -o atacmds.o atacmds.cpp mv -f .deps/atacmds.Tpo .deps/atacmds.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT ataidentify.o -MD -MP -MF .deps/ataidentify.Tpo -c -o ataidentify.o ataidentify.cpp mv -f .deps/ataidentify.Tpo .deps/ataidentify.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT ataprint.o -MD -MP -MF .deps/ataprint.Tpo -c -o ataprint.o ataprint.cpp mv -f .deps/ataprint.Tpo .deps/ataprint.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT dev_ata_cmd_set.o -MD -MP -MF .deps/dev_ata_cmd_set.Tpo -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp mv -f .deps/dev_ata_cmd_set.Tpo .deps/dev_ata_cmd_set.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT dev_intelliprop.o -MD -MP -MF .deps/dev_intelliprop.Tpo -c -o dev_intelliprop.o dev_intelliprop.cpp mv -f .deps/dev_intelliprop.Tpo .deps/dev_intelliprop.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT dev_interface.o -MD -MP -MF .deps/dev_interface.Tpo -c -o dev_interface.o dev_interface.cpp mv -f .deps/dev_interface.Tpo .deps/dev_interface.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT dev_jmb39x_raid.o -MD -MP -MF .deps/dev_jmb39x_raid.Tpo -c -o dev_jmb39x_raid.o dev_jmb39x_raid.cpp mv -f .deps/dev_jmb39x_raid.Tpo .deps/dev_jmb39x_raid.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT json.o -MD -MP -MF .deps/json.Tpo -c -o json.o json.cpp mv -f .deps/json.Tpo .deps/json.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT knowndrives.o -MD -MP -MF .deps/knowndrives.Tpo -c -o knowndrives.o knowndrives.cpp mv -f .deps/knowndrives.Tpo .deps/knowndrives.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT nvmecmds.o -MD -MP -MF .deps/nvmecmds.Tpo -c -o nvmecmds.o nvmecmds.cpp mv -f .deps/nvmecmds.Tpo .deps/nvmecmds.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT nvmeprint.o -MD -MP -MF .deps/nvmeprint.Tpo -c -o nvmeprint.o nvmeprint.cpp mv -f .deps/nvmeprint.Tpo .deps/nvmeprint.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT scsicmds.o -MD -MP -MF .deps/scsicmds.Tpo -c -o scsicmds.o scsicmds.cpp mv -f .deps/scsicmds.Tpo .deps/scsicmds.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT scsiata.o -MD -MP -MF .deps/scsiata.Tpo -c -o scsiata.o scsiata.cpp mv -f .deps/scsiata.Tpo .deps/scsiata.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT scsinvme.o -MD -MP -MF .deps/scsinvme.Tpo -c -o scsinvme.o scsinvme.cpp mv -f .deps/scsinvme.Tpo .deps/scsinvme.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT scsiprint.o -MD -MP -MF .deps/scsiprint.Tpo -c -o scsiprint.o scsiprint.cpp mv -f .deps/scsiprint.Tpo .deps/scsiprint.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT utility.o -MD -MP -MF .deps/utility.Tpo -c -o utility.o utility.cpp mv -f .deps/utility.Tpo .deps/utility.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT os_linux.o -MD -MP -MF .deps/os_linux.Tpo -c -o os_linux.o os_linux.cpp mv -f .deps/os_linux.Tpo .deps/os_linux.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT cciss.o -MD -MP -MF .deps/cciss.Tpo -c -o cciss.o cciss.cpp mv -f .deps/cciss.Tpo .deps/cciss.Po g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT dev_areca.o -MD -MP -MF .deps/dev_areca.Tpo -c -o dev_areca.o dev_areca.cpp mv -f .deps/dev_areca.Tpo .deps/dev_areca.Po g++ -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -o smartctl smartctl.o atacmdnames.o atacmds.o ataidentify.o ataprint.o dev_ata_cmd_set.o dev_intelliprop.o dev_interface.o dev_jmb39x_raid.o json.o knowndrives.o nvmecmds.o nvmeprint.o scsicmds.o scsiata.o scsinvme.o scsiprint.o utility.o os_linux.o cciss.o dev_areca.o g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -D_FORTIFY_SOURCE=2 -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -MT smartd.o -MD -MP -MF .deps/smartd.Tpo -c -o smartd.o smartd.cpp mv -f .deps/smartd.Tpo .deps/smartd.Po g++ -g -O2 -Wall -W -Wformat=2 -fstack-protector-strong -o smartd smartd.o atacmdnames.o atacmds.o dev_ata_cmd_set.o dev_intelliprop.o dev_interface.o dev_jmb39x_raid.o knowndrives.o nvmecmds.o scsicmds.o scsiata.o scsinvme.o utility.o os_linux.o cciss.o dev_areca.o /bin/sh ./config.status --file=update-smart-drivedb config.status: creating update-smart-drivedb chmod +x update-smart-drivedb /bin/sh ./config.status --file=smartd_warning.sh config.status: creating smartd_warning.sh chmod +x smartd_warning.sh $(MAN_FILTER) < ./smartd.conf.5.in > smartd.conf.5 $(MAN_FILTER) < ./smartctl.8.in > smartctl.8 $(MAN_FILTER) < ./smartd.8.in > smartd.8 $(MAN_FILTER) < ./update-smart-drivedb.8.in > update-smart-drivedb.8 make[1]: Leaving directory `/home/tmpbuild/work/smartmontools-7.2' # install by root (locale is ru_RU.UTF-8): [root@backup smartmontools-7.2]# make install make[1]: Вход в каталог `/home/tmpbuild/work/smartmontools-7.2' /bin/mkdir -p '/usr/local/sbin' /bin/install -c smartctl smartd '/usr/local/sbin' /bin/mkdir -p '/usr/local/sbin' /bin/install -c update-smart-drivedb '/usr/local/sbin' /bin/mkdir -p '/usr/local/etc' /bin/install -c -m 644 './smartd.conf' '/usr/local/etc/smartd.conf' /bin/mkdir -p '/usr/local/etc/smartd_warning.d' /bin/mkdir -p '/usr/local/share/doc/smartmontools' /bin/install -c -m 644 AUTHORS ChangeLog ChangeLog-6.0-7.0 COPYING INSTALL NEWS README TODO smartd.conf '/usr/local/share/doc/smartmontools' /bin/mkdir -p '/usr/local/share/smartmontools' /bin/install -c -m 644 drivedb.h '/usr/local/share/smartmontools' /bin/mkdir -p '/usr/local/share/doc/smartmontools/examplescripts' /bin/install -c -m 644 examplescripts/README '/usr/local/share/doc/smartmontools/examplescripts' /bin/mkdir -p '/usr/local/share/doc/smartmontools/examplescripts' /bin/install -c examplescripts/Example1 examplescripts/Example2 examplescripts/Example3 examplescripts/Example4 examplescripts/Example5 examplescripts/Example6 examplescripts/Example7 examplescripts/Example8 '/usr/local/share/doc/smartmontools/examplescripts' /bin/mkdir -p '/usr/local/share/man/man5' /bin/install -c -m 644 smartd.conf.5 '/usr/local/share/man/man5' /bin/mkdir -p '/usr/local/share/man/man8' /bin/install -c -m 644 smartctl.8 smartd.8 update-smart-drivedb.8 '/usr/local/share/man/man8' /bin/mkdir -p '/usr/local/etc' /bin/install -c smartd_warning.sh '/usr/local/etc' make[1]: Выход из каталога `/home/tmpbuild/work/smartmontools-7.2'