Orange Pi Plus 2 memiliki port SATA, walaupun kecepatannya terbatas, Walaupun terbatas kalo untuk pengguna rumahan atau kantor kecil sudah lebih dari cukup sebagai media file sharing ;)

Koneksi SATA Orange Pi

Hubungkan hardisk SATA ke Orange Pi Plus 2 seperti gambar dibawah ini
Orange Pi PC 2 SATA HARDISK

Cek apakah hardisk ketedect atau ngga dengan dmesg
Hardisk 2.5″ 5400 RPM

dmesg | grep sd
### output
[    2.294555] sd 0:0:0:0: [sda] 976773164 512-byte logical blocks: (500 GB/465 GiB)
[    2.295543] sd 0:0:0:0: [sda] Write Protect is off
[    2.295559] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[    2.296772] sd 0:0:0:0: [sda] No Caching mode page found
[    2.296787] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    2.300061] sd 0:0:0:0: [sda] No Caching mode page found
[    2.300076] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    2.330941]  sda: sda1

Bila menggunakan hardisk 3.5″ 7200 RPM, hardisk baru terdeteksi sekitar 14 menit setelah start-up. Lihat log dmesg dibawah ini

[    5.765211] systemd[1]: Started Load Kernel Modules.
[    5.814957] systemd[1]: Started LSB: Set keymap.
[    5.864839] systemd[1]: Started udev Coldplug all Devices.
[    5.866877] systemd[1]: Time has been changed
[    5.867194] systemd[1]: Starting Apply Kernel Variables...
[    5.951053] systemd[1]: Mounted Configuration File System.
[    5.951207] systemd[1]: Mounting FUSE Control File System...
[    6.000866] systemd[1]: Starting Create Static Device Nodes in /dev...
[    6.060838] systemd[1]: Starting Syslog Socket.
[    6.065711] systemd[1]: Listening on Syslog Socket.
[    6.065821] systemd[1]: Starting Journal Service...
[    6.195498] systemd[1]: Started Journal Service.
[    6.455505] systemd-udevd[179]: starting version 215
[    6.739914] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x77)
[    6.739956] bmp085: probe of 0-0077 failed with error -70
[    6.747637] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x48)
[    6.747849] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x48)
[    7.290406] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    7.547065] Adding 131068k swap on /var/swap.  Priority:-1 extents:2 across:139260k SS
[    8.984693] systemd-journald[178]: Received request to flush runtime journal from PID 1
[    9.307068] gmac0: probed
[    9.340357] gmac0 gmac0: eth0: eth0: PHY ID 001cc915 at 0 IRQ poll (gmac0-0:00)
[   10.489246] Registered IR keymap rc-empty
[   10.489947] rc0: sunxi-ir as /devices/virtual/rc/rc0
[   10.493507] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0
[   13.340352] PHY: gmac0-0:00 - Link is Up - 100/Full
[  865.534139] ehci_irq: highspeed device connect
[  865.800129] usb 3-1: new high-speed USB device number 2 using sunxi-ehci
[  865.984342] scsi0 : usb-storage 3-1:1.0
[  866.981725] scsi 0:0:0:0: Direct-Access     USB TO I DE/SATA Device   0009 PQ: 0 ANSI: 0
[  866.986252] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[  866.987508] sd 0:0:0:0: [sda] Asking for cache data failed
[  866.987537] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  866.996170] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[  866.997360] sd 0:0:0:0: [sda] Asking for cache data failed
[  866.997387] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  866.997415] sd 0:0:0:0: [sda] Attached SCSI disk

itupun hardisk tersebut tidak bisa digunakan, mungkin kekurangan arus.

Check hardisk SATA ls -la /dev/sd*

$ ls -la /dev/sd*
brw-rw---- 1 root disk 8, 0 Oct 24 20:40 /dev/sda

mount hardisk
Lokasi mount hardisk saya buat di /hd

mkdir /hd
mount /dev/sda /hd

Tes kecepatan hardisk

$ dd if=/dev/zero of=/hd/tesaja bs=1G count=1 oflag=direct
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 67.3311 s, 15.9 MB/s

Leave a comment

Your email address will not be published. Required fields are marked *