Skip to content

ROCKPro64 - Samsung Portable SSD T5 500GB

Hardware
  • In meinem alten NAS war die T5 das Bootdevice und hing am USB3-Port. Das einzige Gerät, das ich vom USB3-Port vernünftig starten kann. Dann testen wir das mal mit dem neuesten Release 0.10,12, u-boot im SPI.

    Wird sauber erkannt und startet das System.

    [    5.726156] usb 8-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
    [    5.767384] usb 8-1: New USB device found, idVendor=04e8, idProduct=61f5, bcdDevice= 1.00
    [    5.768136] usb 8-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [    5.768786] usb 8-1: Product: Portable SSD T5
    [    5.769190] usb 8-1: Manufacturer: Samsung
    [    5.769572] usb 8-1: SerialNumber: 1234567E3315
    [    5.776359] scsi host0: uas
    [    5.778297] scsi 0:0:0:0: Direct-Access     Samsung  Portable SSD T5  0    PQ: 0 ANSI: 6
    [    5.780558] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [    5.781359] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
    [    5.782324] sd 0:0:0:0: [sda] Write Protect is off
    [    5.782765] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
    [    5.783052] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    5.784181] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
    [    5.864177] GPT:Primary header thinks Alt. header is not at the end of the disk.
    [    5.864861] GPT:4101553 != 976773167
    [    5.865185] GPT:Alternate GPT header not at the end of the disk.
    [    5.865722] GPT:4101553 != 976773167
    [    5.866133] GPT: Use GNU Parted to correct GPT errors.
    [    5.866638]  sda: sda1 sda2 sda3 sda4
    [    5.872326] sd 0:0:0:0: [sda] Attached SCSI disk
    [    6.902548] EXT4-fs (sda4): mounted filesystem with writeback data mode. Opts: (null)
    

    lsusb

    root@rockpro64:~# lsusb
    Bus 008 Device 002: ID 04e8:61f5 Samsung Electronics Co., Ltd Portable SSD T5
    Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 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 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    

    df

    root@rockpro64:~# df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            917M     0  917M   0% /dev
    tmpfs           192M  5.2M  187M   3% /run
    /dev/sda4       459G  5.2G  435G   2% /
    tmpfs           957M     0  957M   0% /dev/shm
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           957M     0  957M   0% /sys/fs/cgroup
    /dev/sda3       229M   45M  168M  21% /boot
    /dev/sda2        12M     0   12M   0% /boot/efi
    tmpfs           192M     0  192M   0% /run/user/1000
    

    dd

    root@rockpro64:~# dd if=/dev/zero of=sd.img bs=1M count=4096 conv=fdatasync,notrunc
    4096+0 records in
    4096+0 records out
    4294967296 bytes (4.3 GB, 4.0 GiB) copied, 10.2325 s, 420 MB/s
    

    iozone

    root@rockpro64:~# iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
    	Iozone: Performance Test of File I/O
    	        Version $Revision: 3.429 $
    		Compiled for 64 bit mode.
    		Build: linux 
    
    	Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
    	             Al Slater, Scott Rhine, Mike Wisner, Ken Goss
    	             Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
    	             Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
    	             Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
    	             Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
    	             Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
    	             Vangel Bojaxhi, Ben England, Vikentsi Lapa.
    
    	Run began: Sun Apr 26 12:27:46 2020
    
    	Include fsync in write timing
    	O_DIRECT feature enabled
    	Auto Mode
    	File size set to 102400 kB
    	Record Size 4 kB
    	Record Size 16 kB
    	Record Size 512 kB
    	Record Size 1024 kB
    	Record Size 16384 kB
    	Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
    	Output is in kBytes/sec
    	Time Resolution = 0.000001 seconds.
    	Processor cache size set to 1024 kBytes.
    	Processor cache line size set to 32 bytes.
    	File stride size set to 17 * record size.
                                                                  random    random     bkwd    record    stride                                    
                  kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
              102400       4    39473    43553    43429    43407    28844    43979                                                          
              102400      16    99125   110086   139237   140321    88984   107029                                                          
              102400     512   351532   348307   284313   312907   298748   345134                                                          
              102400    1024   376448   375621   349070   351109   342185   373018                                                          
              102400   16384   420922   421686   406547   408913   408091   421238                                                          
    
    iozone test complete.