Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
boards:rpi4:drive [2023/07/02 14:56] – external edit 127.0.0.1boards:rpi4:drive [2023/07/02 16:32] (current) darron
Line 1: Line 1:
-===Drive tests on Raspberry Pi 4===+===USB drive tests=== 
 + 
 +This tests are with spinning disks.
  
 ==Expansion drive== ==Expansion drive==
Line 33: Line 35:
 <code> <code>
 $ dmesg $ dmesg
- +sd 0:0:0:0: [sda] 156250000 512-byte logical blocks: (80.0 GB/74.5 GiB) 
-[    1.692788] sd 0:0:0:0: [sda] 156250000 512-byte logical blocks: (80.0 GB/74.5 GiB) +sd 0:0:0:0: [sda] Write Protect is off 
-[    1.693703] sd 0:0:0:0: [sda] Write Protect is off +sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 
-[    1.693744] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 +sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA 
-[    1.695463] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA +sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes 
-[    1.701792] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes + sda: sda1 
-[    1.732797]  sda: sda1 +sd 0:0:0:0: [sda] Attached SCSI disk
-[    1.762785] sd 0:0:0:0: [sda] Attached SCSI disk+
 </code> </code>
  
Line 64: Line 65:
 dmesg dmesg
 <code> <code>
-[    1.710381] sd 0:0:0:1: [sdb] 160086528 512-byte logical blocks: (82.0 GB/76.3 GiB) +sd 0:0:0:1: [sdb] 160086528 512-byte logical blocks: (82.0 GB/76.3 GiB) 
-[    1.715480] sd 0:0:0:1: [sdb] Write Protect is off +sd 0:0:0:1: [sdb] Write Protect is off 
-[    1.715543] sd 0:0:0:1: [sdb] Mode Sense: 43 00 00 00 +sd 0:0:0:1: [sdb] Mode Sense: 43 00 00 00 
-[    1.725829] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA +sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA 
-[    1.727300] sd 0:0:0:1: [sdb] Optimal transfer size 33553920 bytes +sd 0:0:0:1: [sdb] Optimal transfer size 33553920 bytes 
-[    1.770316]  sdb: sdb1 + sdb: sdb1 
-[    1.777180] sd 0:0:0:1: [sdb] Attached SCSI disk+sd 0:0:0:1: [sdb] Attached SCSI disk
 </code> </code>
  
Line 79: Line 80:
 <code> <code>
 $ dd if=/dev/zero of=/dev/sdb bs=4M $ dd if=/dev/zero of=/dev/sdb bs=4M
- 
 dd: error writing '/dev/sdb': No space left on device dd: error writing '/dev/sdb': No space left on device
 19542+0 records in 19542+0 records in
Line 95: Line 95:
 <code> <code>
 $ dmesg $ dmesg
- +sd 0:0:0:1: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) 
-[    1.706072] sd 0:0:0:1: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) +sd 0:0:0:1: [sdb] Write Protect is off 
-[    1.707256] sd 0:0:0:1: [sdb] Write Protect is off +sd 0:0:0:1: [sdb] Mode Sense: 43 00 00 00 
-[    1.707293] sd 0:0:0:1: [sdb] Mode Sense: 43 00 00 00 +sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA 
-[    1.709737] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA +sd 0:0:0:1: [sdb] Optimal transfer size 33553920 bytes 
-[    1.716606] sd 0:0:0:1: [sdb] Optimal transfer size 33553920 bytes +sd 0:0:0:1: [sdb] Attached SCSI disk
-[    1.789934] sd 0:0:0:1: [sdb] Attached SCSI disk+
 </code> </code>
  
Line 108: Line 107:
 <code> <code>
 $ dd if=/dev/zero of=/dev/sdb bs=4M $ dd if=/dev/zero of=/dev/sdb bs=4M
- 
 dd: error writing '/dev/sdb': No space left on device dd: error writing '/dev/sdb': No space left on device
 476933+0 records in 476933+0 records in
Line 120: Line 118:
 <code> <code>
 $ dmesg $ dmesg
- +sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) 
-[    1.659321] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) +sd 0:0:0:0: [sda] Write Protect is off 
-[    1.665512] sd 0:0:0:0: [sda] Write Protect is off +sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 
-[    1.665542] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 +sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA 
-[    1.677927] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA +sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes 
-[    1.679643] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes +sd 0:0:0:0: [sda] Attached SCSI disk
-[    1.756644] sd 0:0:0:0: [sda] Attached SCSI disk+
 </code> </code>
  
Line 133: Line 130:
 <code> <code>
 $ dd if=/dev/zero of=/dev/sda bs=4M $ dd if=/dev/zero of=/dev/sda bs=4M
- 
 dd: error writing '/dev/sda': No space left on device dd: error writing '/dev/sda': No space left on device
 119236+0 records in 119236+0 records in