Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Mon 29 Jan 00:46:35 UTC 2018
- # Échec : Unknown code ext2 70 adding to in-memory bad block list
- ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
- 5 Reallocated_Sector_Ct 0x0033 095 095 010 Pre-fail Always - 6640
- 190 Airflow_Temperature_Cel 0x0022 066 050 045 Old_age Always - 34 (Min/Max 21/39)
- 197 Current_Pending_Sector 0x0012 099 089 000 Old_age Always - 168
- From block 0 to 3907018583
- Testing with pattern 0xaa: done
- Reading and comparing: badblocks: Unknown code ext2 70 adding to in-memory bad block list
- real 3248m54.478s
- user 46m19.510s
- sys 173m28.120s
- #
- # Sun 28 Jan 13:23:14 UTC 2018
- # Nouvel essai avec le Rasperry Pi 3B : échec.
- # avec la mémoire partagée dédiée au GPU mise au minimum de 16 Mo
- # login graphique désactivé
- # zram non utilisé pour ce test
- # Raspbian limitée aux services du système (raspbian lite conseillée)
- # toutes les Interfacing Options (Configure connections to peripherals) désactivées sauf SSH
- │ P1 Camera Enable/Disable connection to the │
- │ P2 SSH Enable/Disable remote command lin │
- │ P3 VNC Enable/Disable graphical remote a │
- │ P4 SPI Enable/Disable automatic loading │
- │ P5 I2C Enable/Disable automatic loading │
- │ P6 Serial Enable/Disable shell and kernel m │
- │ P7 1-Wire Enable/Disable one-wire interface │
- │ P8 Remote GPIO Enable/Disable remote access to G │
- root@raspberrypi:~# free -ht
- total used free shared buffers cached
- Mem: 970M 258M 712M 6.6M 58M 135M
- -/+ buffers/cache: 64M 906M
- Swap: 511M 0B 511M
- Total: 1.4G 258M 1.2G
- SWAP de 512 Mo # L'utilité reste à démontrer...
- root@raspberrypi:~# swapon -v
- NAME TYPE SIZE USED PRIO
- /var/swap file 512M 0B -1
- root@raspberrypi:~# time badblocks -s -v -w -o /root/sda-pi-4TB-25371066-badblocks-o.txt /dev/sda
- Checking for bad blocks in read-write mode
- From block 0 to 3907018583
- Testing with pattern 0xaa: done
- Reading and comparing: 30.73% done, 50:35:09 elapsed. (0/0/0 errors)
- root@raspberrypi:~# smartctl /dev/sda -a -d sat | grep -e Reallocated_Sector_Ct -e Current_Pending_Sector -e RAW_VALUE -e Airflow_Temperature_Cel
- ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
- 5 Reallocated_Sector_Ct 0x0033 096 096 010 Pre-fail Always - 5648
- 190 Airflow_Temperature_Cel 0x0022 063 050 045 Old_age Always - 37 (Min/Max 21/38)
- 197 Current_Pending_Sector 0x0012 100 089 000 Old_age Always - 0
- # /Nouvel essai avec le Rasperry Pi 3B
- ---------------
- #! Jan 26 00:15
- #! [111074.236251] Out of memory: Kill process 21652 (badblocks) score 854 or sacrifice child
- #! [111074.236268] Killed process 21652 (badblocks) total-vm:867932kB, anon-rss:788596kB, file-rss:0kB, shmem-rss:0kB
- #!
- #! 2886026367 / 3907018583 secteurs effectués (écriture) avec le motif 0xaa
- Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux (modèle 3B)
- sur MGE600 / 12 V DC 55 Ah
- adaptateur USB-SATA ID 2537:1066 https://usb-ids.gowdy.us/read/UD/2537/1066
- https://www.amazon.fr/gp/product/B01EKW50O4/
- (en screen)
- root@raspberrypi:~# time badblocks -s -v -w -o /root/sda-pi-4TB-dock-badblocks-o.txt /dev/sda
- Checking for bad blocks in read-write mode
- From block 0 to 3907018583
- Testing with pattern 0xaa: 0.03% done, 0:40 elapsed. (0/0/0 errors)
- [detached from 19950.pts-0.raspberrypi]
- Les registres à surveiller (https://www.debian-fr.org/t/evaluation-des-dommages-sur-un-raid6-logiciel-conduite-a-tenir/75678/4)
- Reallocated sector count : secteurs réalloués (suite à une écriture ou une lecture réussie)
- Current pending sectors : secteurs dont la lecture a échoué
- root@raspberrypi:~# date && smartctl /dev/sda -a -d sat | grep -e Reallocated_Sector_Ct -e Current_Pending_Sector -e RAW_VALUE && ls -lh /root/sda-pi-4TB-dock-badblocks-o.txt
- Wed 24 Jan 19:29:03 UTC 2018
- ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
- 5 Reallocated_Sector_Ct 0x0033 097 097 010 Pre-fail Always - 4016
- 197 Current_Pending_Sector 0x0012 100 089 000 Old_age Always - 0
- -rw-r--r-- 1 root root 0 Jan 24 18:32 /root/sda-pi-4TB-dock-badblocks-o.txt
- La totale :
- root@raspberrypi:~# smartctl /dev/sda -a -d sat
- smartctl 6.4 2014-10-07 r4002 [armv7l-linux-4.9.35-v7+] (local build)
- Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
- === START OF INFORMATION SECTION ===
- Model Family: Seagate NAS HDD
- Device Model: ST4000VN000-1H4168
- Serial Number: W300QPNC
- LU WWN Device Id: 5 000c50 06deb2658
- Firmware Version: SC43
- User Capacity: 4,000,787,030,016 bytes [4.00 TB]
- Sector Sizes: 512 bytes logical, 4096 bytes physical
- Rotation Rate: 5900 rpm
- Form Factor: 3.5 inches
- Device is: In smartctl database [for details use: -P show]
- ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
- SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
- Local Time is: Wed Jan 24 19:19:39 2018 UTC
- 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: ( 107) 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: ( 539) minutes.
- Conveyance self-test routine
- recommended polling time: ( 2) minutes.
- SCT capabilities: (0x10bd) SCT Status supported.
- SCT Error Recovery Control supported.
- SCT Feature Control supported.
- SCT Data Table 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 118 082 006 Pre-fail Always - 187867968
- 3 Spin_Up_Time 0x0003 092 091 000 Pre-fail Always - 0
- 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 250
- 5 Reallocated_Sector_Ct 0x0033 097 097 010 Pre-fail Always - 4016
- 7 Seek_Error_Rate 0x000f 082 060 030 Pre-fail Always - 4493847504
- 9 Power_On_Hours 0x0032 063 063 000 Old_age Always - 33166
- 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
- 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 248
- 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
- 187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 303
- 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 4295032833
- 189 High_Fly_Writes 0x003a 001 001 000 Old_age Always - 846
- 190 Airflow_Temperature_Cel 0x0022 064 050 045 Old_age Always - 36 (Min/Max 21/36)
- 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 - 47
- 193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 733
- 194 Temperature_Celsius 0x0022 036 050 000 Old_age Always - 36 (0 16 0 0 0)
- 197 Current_Pending_Sector 0x0012 100 089 000 Old_age Always - 0
- 198 Offline_Uncorrectable 0x0010 100 089 000 Old_age Offline - 0
- 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
- SMART Error Log Version: 1
- ATA Error Count: 304 (device log contains only the most recent five errors)
- CR = Command Register [HEX]
- FR = Features Register [HEX]
- SC = Sector Count Register [HEX]
- SN = Sector Number Register [HEX]
- CL = Cylinder Low Register [HEX]
- CH = Cylinder High Register [HEX]
- DH = Device/Head Register [HEX]
- DC = Device Command Register [HEX]
- ER = Error register [HEX]
- ST = Status register [HEX]
- 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 304 occurred at disk power-on lifetime: 32978 hours (1374 days + 2 hours)
- When the command that caused the error occurred, the device was active or idle.
- After command completion occurred, registers were:
- ER ST SC SN CL CH DH
- -- -- -- -- -- -- --
- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
- Commands leading to the command that caused the error were:
- CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
- -- -- -- -- -- -- -- -- ---------------- --------------------
- 60 00 40 ff ff ff 4f 00 9d+05:10:57.940 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:10:57.700 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:10:57.700 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:10:57.289 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:10:53.256 READ FPDMA QUEUED
- Error 303 occurred at disk power-on lifetime: 32978 hours (1374 days + 2 hours)
- When the command that caused the error occurred, the device was active or idle.
- After command completion occurred, registers were:
- ER ST SC SN CL CH DH
- -- -- -- -- -- -- --
- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
- Commands leading to the command that caused the error were:
- CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
- -- -- -- -- -- -- -- -- ---------------- --------------------
- 60 00 40 ff ff ff 4f 00 9d+05:05:12.225 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:05:12.215 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:05:12.204 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:05:12.204 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:05:12.195 READ FPDMA QUEUED
- Error 302 occurred at disk power-on lifetime: 32978 hours (1374 days + 2 hours)
- When the command that caused the error occurred, the device was active or idle.
- After command completion occurred, registers were:
- ER ST SC SN CL CH DH
- -- -- -- -- -- -- --
- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
- Commands leading to the command that caused the error were:
- CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
- -- -- -- -- -- -- -- -- ---------------- --------------------
- 60 00 40 ff ff ff 4f 00 9d+05:05:02.307 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:05:02.307 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:05:02.307 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:05:02.306 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:05:02.306 READ FPDMA QUEUED
- Error 301 occurred at disk power-on lifetime: 32978 hours (1374 days + 2 hours)
- When the command that caused the error occurred, the device was active or idle.
- After command completion occurred, registers were:
- ER ST SC SN CL CH DH
- -- -- -- -- -- -- --
- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
- Commands leading to the command that caused the error were:
- CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
- -- -- -- -- -- -- -- -- ---------------- --------------------
- 60 00 40 ff ff ff 4f 00 9d+05:04:51.467 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:04:51.467 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:04:51.458 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:04:51.449 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:04:51.439 READ FPDMA QUEUED
- Error 300 occurred at disk power-on lifetime: 32978 hours (1374 days + 2 hours)
- When the command that caused the error occurred, the device was active or idle.
- After command completion occurred, registers were:
- ER ST SC SN CL CH DH
- -- -- -- -- -- -- --
- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
- Commands leading to the command that caused the error were:
- CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
- -- -- -- -- -- -- -- -- ---------------- --------------------
- 60 00 40 ff ff ff 4f 00 9d+05:04:38.301 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:04:38.301 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:04:38.301 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:04:38.301 READ FPDMA QUEUED
- 60 00 40 ff ff ff 4f 00 9d+05:04:38.301 READ FPDMA QUEUED
- 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement