Advertisement
Guest User

Untitled

a guest
May 24th, 2017
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.73 KB | None | 0 0
  1. root@orangepizeroplus2:~# lsusb
  2. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  3. Bus 003 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
  4. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  5. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  6. Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp.
  7. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  8. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  9. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  10. root@orangepizeroplus2:~# cat /proc/partitions
  11. major minor #blocks name
  12.  
  13. 179 0 7634944 mmcblk2
  14. 179 1 62464 mmcblk2p1
  15. 179 2 131072 mmcblk2p2
  16. 179 3 7364032 mmcblk2p3
  17. 179 64 4096 mmcblk2boot1
  18. 179 32 4096 mmcblk2boot0
  19. 8 0 117220824 sda
  20. 8 1 117219783 sda1
  21. root@orangepizeroplus2:~# smartctl -a /dev/sda
  22. smartctl 6.4 2014-10-07 r4002 [aarch64-linux-4.10.0-sun50iw2] (local build)
  23. Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
  24.  
  25. /dev/sda: Unknown USB bridge [0x152d:0x0578 (0x404)]
  26. Please specify device type with the -d option.
  27.  
  28. Use smartctl -h to get a usage summary
  29.  
  30. root@orangepizeroplus2:~# smartctl -d sat -i -r ioctl,2 /dev/sda
  31. smartctl 6.4 2014-10-07 r4002 [aarch64-linux-4.10.0-sun50iw2] (local build)
  32. Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
  33.  
  34.  
  35. REPORT-IOCTL: Device=/dev/sda Command=IDENTIFY DEVICE
  36. Input: FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., CMD=0xec IN
  37. [ata pass-through(16): 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00 ]
  38. scsi_status=0x0, host_status=0x0, driver_status=0x0
  39. info=0x0 duration=0 milliseconds resid=0
  40. Incoming data, len=512 [only first 256 bytes shown]:
  41. 00 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00
  42. 10 00 00 00 00 56 43 54 4c 30 37 31 32 32 30 38 38
  43. 20 32 31 47 30 4e 47 20 20 00 00 00 00 00 00 4c 20
  44. 30 46 53 33 30 43 36 4e 49 45 54 20 4c 53 53 53 44
  45. 40 32 43 57 4b 32 31 48 30 20 36 20 20 20 20 20 20
  46. 50 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80
  47. 60 00 40 00 2f 00 40 00 00 00 00 07 00 ff 3f 10 00
  48. 70 3f 00 10 fc fb 00 10 b1 b0 4b f9 0d 00 00 07 00
  49. 80 03 00 78 00 78 00 78 00 78 00 10 4d 00 00 00 00
  50. 90 00 00 00 00 00 00 1f 00 0e 07 86 00 4c 01 00 00
  51. a0 fc 07 ff ff 6b 74 09 74 63 61 69 74 09 b4 63 61
  52. b0 7f 40 02 00 01 00 fe 00 fe ff 00 00 00 00 00 00
  53. c0 00 00 00 00 00 00 00 00 b0 4b f9 0d 00 00 00 00
  54. d0 00 00 08 00 00 40 00 00 cd 55 41 2e 2f 4d b3 58
  55. e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 40
  56. f0 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  57. [Duration: 0.002s]
  58. REPORT-IOCTL: Device=/dev/sda Command=IDENTIFY DEVICE returned 0
  59.  
  60. ===== [IDENTIFY DEVICE] DATA START (BASE-16) =====
  61. 000-015: 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |@..?7.......?...|
  62. 016-031: 00 00 00 00 56 43 54 4c 30 37 31 32 32 30 38 38 |....VCTL07122088|
  63. 032-047: 32 31 47 30 4e 47 20 20 00 00 00 00 00 00 4c 20 |21G0NG ......L |
  64. 048-063: 46 53 33 30 43 36 4e 49 45 54 20 4c 53 53 53 44 |FS30C6NIET LSSSD|
  65. 064-079: 32 43 57 4b 32 31 48 30 20 36 20 20 20 20 20 20 |2CWK21H0 6 |
  66. 080-095: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 | ..|
  67. 096-111: 00 40 00 2f 00 40 00 00 00 00 07 00 ff 3f 10 00 |.@./.@.......?..|
  68. 112-127: 3f 00 10 fc fb 00 10 b1 b0 4b f9 0d 00 00 07 00 |?........K......|
  69. 128-143: 03 00 78 00 78 00 78 00 78 00 10 4d 00 00 00 00 |..x.x.x.x..M....|
  70. 144-159: 00 00 00 00 00 00 1f 00 0e 07 86 00 4c 01 00 00 |............L...|
  71. 160-175: fc 07 ff ff 6b 74 09 74 63 61 69 74 09 b4 63 61 |....kt.tcait..ca|
  72. 176-191: 7f 40 02 00 01 00 fe 00 fe ff 00 00 00 00 00 00 |.@..............|
  73. 192-207: 00 00 00 00 00 00 00 00 b0 4b f9 0d 00 00 00 00 |.........K......|
  74. 208-223: 00 00 08 00 00 40 00 00 cd 55 41 2e 2f 4d b3 58 |.....@...UA./M.X|
  75. 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 40 |...............@|
  76. 240-255: 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..............|
  77. 256-271: 21 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 |!...............|
  78. 272-287: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  79. 288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  80. 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 a5 |................|
  81. 320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  82. 336-351: 03 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  83. 352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  84. 368-383: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  85. 384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  86. 400-415: 00 00 00 00 00 00 00 00 00 00 00 00 39 00 00 00 |............9...|
  87. 416-431: 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 |...@............|
  88. 432-447: 00 00 01 00 00 00 00 00 00 00 00 00 ff 10 00 00 |................|
  89. 448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  90. 464-479: 00 00 00 00 02 00 00 04 00 00 00 00 00 00 00 00 |................|
  91. 480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  92. 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 4a |...............J|
  93. ===== [IDENTIFY DEVICE] DATA END (512 Bytes) =====
  94.  
  95. === START OF INFORMATION SECTION ===
  96. Device Model: INTEL SSDSC2KW120H6
  97. Serial Number: CVLT70210288120GGN
  98. LU WWN Device Id: 5 5cd2e4 14d2f58b3
  99. Firmware Version: LSF036C
  100. User Capacity: 120,034,123,776 bytes [120 GB]
  101. Sector Size: 512 bytes logical/physical
  102. Rotation Rate: Solid State Device
  103. Form Factor: 2.5 inches
  104. Device is: Not in smartctl database [for details use: -P showall]
  105. ATA Version is: ACS-3 (minor revision not indicated)
  106. SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
  107. Local Time is: Wed May 24 02:51:14 2017 PDT
  108. SMART support is: Available - device has SMART capability.
  109. SMART support is: Enabled
  110.  
  111. root@orangepizeroplus2:~# vi /var/lib/smartmontools/drivedb/drivedb.h
  112. root@orangepizeroplus2:~# smartctl -a /dev/sda
  113. smartctl 6.4 2014-10-07 r4002 [aarch64-linux-4.10.0-sun50iw2] (local build)
  114. Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
  115.  
  116. === START OF INFORMATION SECTION ===
  117. Device Model: INTEL SSDSC2KW120H6
  118. Serial Number: CVLT70210288120GGN
  119. LU WWN Device Id: 5 5cd2e4 14d2f58b3
  120. Firmware Version: LSF036C
  121. User Capacity: 120,034,123,776 bytes [120 GB]
  122. Sector Size: 512 bytes logical/physical
  123. Rotation Rate: Solid State Device
  124. Form Factor: 2.5 inches
  125. Device is: Not in smartctl database [for details use: -P showall]
  126. ATA Version is: ACS-3 (minor revision not indicated)
  127. SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
  128. Local Time is: Wed May 24 02:51:50 2017 PDT
  129. SMART support is: Available - device has SMART capability.
  130. SMART support is: Enabled
  131.  
  132. === START OF READ SMART DATA SECTION ===
  133. SMART Status not supported: Incomplete response, ATA output registers missing
  134. SMART overall-health self-assessment test result: PASSED
  135. Warning: This result is based on an Attribute check.
  136.  
  137. General SMART Values:
  138. Offline data collection status: (0x00) Offline data collection activity
  139. was never started.
  140. Auto Offline Data Collection: Disabled.
  141. Self-test execution status: ( 0) The previous self-test routine completed
  142. without error or no self-test has ever
  143. been run.
  144. Total time to complete Offline
  145. data collection: ( 0) seconds.
  146. Offline data collection
  147. capabilities: (0x53) SMART execute Offline immediate.
  148. Auto Offline data collection on/off support.
  149. Suspend Offline collection upon new
  150. command.
  151. No Offline surface scan supported.
  152. Self-test supported.
  153. No Conveyance Self-test supported.
  154. Selective Self-test supported.
  155. SMART capabilities: (0x0003) Saves SMART data before entering
  156. power-saving mode.
  157. Supports SMART auto save timer.
  158. Error logging capability: (0x01) Error logging supported.
  159. General Purpose Logging supported.
  160. Short self-test routine
  161. recommended polling time: ( 2) minutes.
  162. Extended self-test routine
  163. recommended polling time: ( 15) minutes.
  164. SCT capabilities: (0x0039) SCT Status supported.
  165. SCT Error Recovery Control supported.
  166. SCT Feature Control supported.
  167. SCT Data Table supported.
  168.  
  169. SMART Attributes Data Structure revision number: 1
  170. Vendor Specific SMART Attributes with Thresholds:
  171. ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  172. 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0
  173. 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 19
  174. 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 51
  175. 170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0
  176. 171 Unknown_Attribute 0x0032 100 100 010 Old_age Always - 0
  177. 172 Unknown_Attribute 0x0032 100 100 010 Old_age Always - 0
  178. 174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 21
  179. 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 5
  180. 184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0
  181. 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
  182. 190 Airflow_Temperature_Cel 0x0032 024 038 000 Old_age Always - 24 (Min/Max 15/38)
  183. 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 21
  184. 199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 9
  185. 225 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 24899
  186. 226 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 0
  187. 227 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 0
  188. 228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 0
  189. 232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
  190. 233 Media_Wearout_Indicator 0x0032 099 099 000 Old_age Always - 0
  191. 241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 24899
  192. 242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 29846
  193. 249 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 868
  194. 252 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 7
  195.  
  196. SMART Error Log Version: 1
  197. No Errors Logged
  198.  
  199. SMART Self-test log structure revision number 1
  200. No self-tests have been logged. [To run self-tests, use: smartctl -t]
  201.  
  202. SMART Selective self-test log data structure revision number 1
  203. SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
  204. 1 70403103932424 70403103932424 Not_testing
  205. 2 70403103932424 70403103932424 Not_testing
  206. 3 70403103932424 70403103932424 Not_testing
  207. 4 70403103932424 70403103932424 Not_testing
  208. 5 70403103932424 70403103932424 Not_testing
  209. Selective self-test flags (0x4008):
  210. After scanning selected spans, do NOT read-scan remainder of disk.
  211. If Selective self-test is pending on power-up, resume after 0 minute delay.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement