Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@orangepizeroplus2:~# lsusb
- Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 003 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
- Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp.
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- root@orangepizeroplus2:~# cat /proc/partitions
- major minor #blocks name
- 179 0 7634944 mmcblk2
- 179 1 62464 mmcblk2p1
- 179 2 131072 mmcblk2p2
- 179 3 7364032 mmcblk2p3
- 179 64 4096 mmcblk2boot1
- 179 32 4096 mmcblk2boot0
- 8 0 117220824 sda
- 8 1 117219783 sda1
- root@orangepizeroplus2:~# smartctl -a /dev/sda
- smartctl 6.4 2014-10-07 r4002 [aarch64-linux-4.10.0-sun50iw2] (local build)
- Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
- /dev/sda: Unknown USB bridge [0x152d:0x0578 (0x404)]
- Please specify device type with the -d option.
- Use smartctl -h to get a usage summary
- root@orangepizeroplus2:~# smartctl -d sat -i -r ioctl,2 /dev/sda
- smartctl 6.4 2014-10-07 r4002 [aarch64-linux-4.10.0-sun50iw2] (local build)
- Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
- REPORT-IOCTL: Device=/dev/sda Command=IDENTIFY DEVICE
- Input: FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., CMD=0xec IN
- [ata pass-through(16): 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00 ]
- scsi_status=0x0, host_status=0x0, driver_status=0x0
- info=0x0 duration=0 milliseconds resid=0
- Incoming data, len=512 [only first 256 bytes shown]:
- 00 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00
- 10 00 00 00 00 56 43 54 4c 30 37 31 32 32 30 38 38
- 20 32 31 47 30 4e 47 20 20 00 00 00 00 00 00 4c 20
- 30 46 53 33 30 43 36 4e 49 45 54 20 4c 53 53 53 44
- 40 32 43 57 4b 32 31 48 30 20 36 20 20 20 20 20 20
- 50 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80
- 60 00 40 00 2f 00 40 00 00 00 00 07 00 ff 3f 10 00
- 70 3f 00 10 fc fb 00 10 b1 b0 4b f9 0d 00 00 07 00
- 80 03 00 78 00 78 00 78 00 78 00 10 4d 00 00 00 00
- 90 00 00 00 00 00 00 1f 00 0e 07 86 00 4c 01 00 00
- a0 fc 07 ff ff 6b 74 09 74 63 61 69 74 09 b4 63 61
- b0 7f 40 02 00 01 00 fe 00 fe ff 00 00 00 00 00 00
- c0 00 00 00 00 00 00 00 00 b0 4b f9 0d 00 00 00 00
- d0 00 00 08 00 00 40 00 00 cd 55 41 2e 2f 4d b3 58
- e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 40
- f0 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- [Duration: 0.002s]
- REPORT-IOCTL: Device=/dev/sda Command=IDENTIFY DEVICE returned 0
- ===== [IDENTIFY DEVICE] DATA START (BASE-16) =====
- 000-015: 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |@..?7.......?...|
- 016-031: 00 00 00 00 56 43 54 4c 30 37 31 32 32 30 38 38 |....VCTL07122088|
- 032-047: 32 31 47 30 4e 47 20 20 00 00 00 00 00 00 4c 20 |21G0NG ......L |
- 048-063: 46 53 33 30 43 36 4e 49 45 54 20 4c 53 53 53 44 |FS30C6NIET LSSSD|
- 064-079: 32 43 57 4b 32 31 48 30 20 36 20 20 20 20 20 20 |2CWK21H0 6 |
- 080-095: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 | ..|
- 096-111: 00 40 00 2f 00 40 00 00 00 00 07 00 ff 3f 10 00 |.@./.@.......?..|
- 112-127: 3f 00 10 fc fb 00 10 b1 b0 4b f9 0d 00 00 07 00 |?........K......|
- 128-143: 03 00 78 00 78 00 78 00 78 00 10 4d 00 00 00 00 |..x.x.x.x..M....|
- 144-159: 00 00 00 00 00 00 1f 00 0e 07 86 00 4c 01 00 00 |............L...|
- 160-175: fc 07 ff ff 6b 74 09 74 63 61 69 74 09 b4 63 61 |....kt.tcait..ca|
- 176-191: 7f 40 02 00 01 00 fe 00 fe ff 00 00 00 00 00 00 |.@..............|
- 192-207: 00 00 00 00 00 00 00 00 b0 4b f9 0d 00 00 00 00 |.........K......|
- 208-223: 00 00 08 00 00 40 00 00 cd 55 41 2e 2f 4d b3 58 |.....@...UA./M.X|
- 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 40 |...............@|
- 240-255: 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..............|
- 256-271: 21 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 |!...............|
- 272-287: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 a5 |................|
- 320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 336-351: 03 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 368-383: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 400-415: 00 00 00 00 00 00 00 00 00 00 00 00 39 00 00 00 |............9...|
- 416-431: 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 |...@............|
- 432-447: 00 00 01 00 00 00 00 00 00 00 00 00 ff 10 00 00 |................|
- 448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 464-479: 00 00 00 00 02 00 00 04 00 00 00 00 00 00 00 00 |................|
- 480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 4a |...............J|
- ===== [IDENTIFY DEVICE] DATA END (512 Bytes) =====
- === START OF INFORMATION SECTION ===
- Device Model: INTEL SSDSC2KW120H6
- Serial Number: CVLT70210288120GGN
- LU WWN Device Id: 5 5cd2e4 14d2f58b3
- Firmware Version: LSF036C
- User Capacity: 120,034,123,776 bytes [120 GB]
- Sector Size: 512 bytes logical/physical
- Rotation Rate: Solid State Device
- Form Factor: 2.5 inches
- Device is: Not in smartctl database [for details use: -P showall]
- ATA Version is: ACS-3 (minor revision not indicated)
- SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
- Local Time is: Wed May 24 02:51:14 2017 PDT
- SMART support is: Available - device has SMART capability.
- SMART support is: Enabled
- root@orangepizeroplus2:~# vi /var/lib/smartmontools/drivedb/drivedb.h
- root@orangepizeroplus2:~# smartctl -a /dev/sda
- smartctl 6.4 2014-10-07 r4002 [aarch64-linux-4.10.0-sun50iw2] (local build)
- Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
- === START OF INFORMATION SECTION ===
- Device Model: INTEL SSDSC2KW120H6
- Serial Number: CVLT70210288120GGN
- LU WWN Device Id: 5 5cd2e4 14d2f58b3
- Firmware Version: LSF036C
- User Capacity: 120,034,123,776 bytes [120 GB]
- Sector Size: 512 bytes logical/physical
- Rotation Rate: Solid State Device
- Form Factor: 2.5 inches
- Device is: Not in smartctl database [for details use: -P showall]
- ATA Version is: ACS-3 (minor revision not indicated)
- SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
- Local Time is: Wed May 24 02:51:50 2017 PDT
- 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: ( 0) seconds.
- Offline data collection
- capabilities: (0x53) 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.
- No 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: ( 15) minutes.
- SCT capabilities: (0x0039) SCT Status supported.
- SCT Error Recovery Control supported.
- SCT Feature Control supported.
- SCT Data Table supported.
- SMART Attributes Data Structure revision number: 1
- Vendor Specific SMART Attributes with Thresholds:
- ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
- 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0
- 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 19
- 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 51
- 170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0
- 171 Unknown_Attribute 0x0032 100 100 010 Old_age Always - 0
- 172 Unknown_Attribute 0x0032 100 100 010 Old_age Always - 0
- 174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 21
- 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 5
- 184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0
- 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
- 190 Airflow_Temperature_Cel 0x0032 024 038 000 Old_age Always - 24 (Min/Max 15/38)
- 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 21
- 199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 9
- 225 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 24899
- 226 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 0
- 227 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 0
- 228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 0
- 232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
- 233 Media_Wearout_Indicator 0x0032 099 099 000 Old_age Always - 0
- 241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 24899
- 242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 29846
- 249 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 868
- 252 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 7
- 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 70403103932424 70403103932424 Not_testing
- 2 70403103932424 70403103932424 Not_testing
- 3 70403103932424 70403103932424 Not_testing
- 4 70403103932424 70403103932424 Not_testing
- 5 70403103932424 70403103932424 Not_testing
- Selective self-test flags (0x4008):
- 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