neszt Posted December 6, 2016 Share Posted December 6, 2016 Hello, Can i use a 8TB hdd with orange pi plus 2? Is there any hardware / sotfware limitation, or i do something wrong? Armbian sees only 1.40 TB of 8 TB. I started from: https://www.armbian.com/orange-pi-plus-2and downloaded the jessie server. root@orangepiplus:~# uname -a Linux orangepiplus 3.4.112-sun8i #10 SMP PREEMPT Sun Oct 23 16:06:55 CEST 2016 armv7l GNU/Linux root@orangepiplus:~# dmesg |grep "sda\|scsi" [ 1.293990] scsi0 : usb-storage 3-1:1.0 [ 2.293196] scsi 0:0:0:0: Direct-Access ST8000AS 0002-1NA17Z 0009 PQ: 0 ANSI: 0 [ 2.295330] sd 0:0:0:0: [sda] 2743151276 512-byte logical blocks: (1.40 TB/1.27 TiB) [ 2.296410] sd 0:0:0:0: [sda] Write Protect is off [ 2.296427] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00 [ 2.297386] sd 0:0:0:0: [sda] No Caching mode page found [ 2.297398] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 2.300507] sd 0:0:0:0: [sda] No Caching mode page found [ 2.300522] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 2.313140] sda: unknown partition table [ 2.316414] sd 0:0:0:0: [sda] No Caching mode page found [ 2.316430] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 2.316443] sd 0:0:0:0: [sda] Attached SCSI disk root@orangepiplus:~# smartctl -i /dev/sda smartctl 6.4 2014-10-07 r4002 [armv7l-linux-3.4.112-sun8i] (local build) Copyright © 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: ST8000AS0002-1NA17Z Serial Number: Z840L0M7 LU WWN Device Id: 5 000c50 0916fb2a1 Firmware Version: AR17 User Capacity: 8,001,563,222,016 bytes [8.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5980 rpm Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b SATA Version is: SATA 3.1, 6.0 Gb/s (current: 1.5 Gb/s) Local Time is: Tue Dec 6 14:25:04 2016 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled root@orangepiplus:~# cat /proc/partitions major minor #blocks name 8 0 1371575638 sda 179 0 15267840 mmcblk0 179 1 15114128 mmcblk0p1 179 32 4096 mmcblk0boot1 179 16 4096 mmcblk0boot0 root@orangepiplus:~# lsusb Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 05e3:0718 Genesys Logic, Inc. IDE/SATA Adapter Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@orangepiplus:~# cat /boot/config-3.4.112-sun8i |grep LBD CONFIG_LBDAF=y root@orangepiplus:~# lsmod Module Size Used by sunxi_cir 1601 0 pcf8591 3363 0 bmp085 3487 0 8189es 1076034 0 Hello, Can i use a 8TB hdd with orange pi plus 2? Is there any hardware / sotfware limitation, or do i something wrong? Armbian sees 1.40 TB hdd. I started from: https://www.armbian.com/orange-pi-plus-2and downloaded the jessie server. root@orangepiplus:~# uname -a Linux orangepiplus 3.4.112-sun8i #10 SMP PREEMPT Sun Oct 23 16:06:55 CEST 2016 armv7l GNU/Linux root@orangepiplus:~# dmesg |grep "sda\|scsi" [ 1.293990] scsi0 : usb-storage 3-1:1.0 [ 2.293196] scsi 0:0:0:0: Direct-Access ST8000AS 0002-1NA17Z 0009 PQ: 0 ANSI: 0 [ 2.295330] sd 0:0:0:0: [sda] 2743151276 512-byte logical blocks: (1.40 TB/1.27 TiB) [ 2.296410] sd 0:0:0:0: [sda] Write Protect is off [ 2.296427] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00 [ 2.297386] sd 0:0:0:0: [sda] No Caching mode page found [ 2.297398] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 2.300507] sd 0:0:0:0: [sda] No Caching mode page found [ 2.300522] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 2.313140] sda: unknown partition table [ 2.316414] sd 0:0:0:0: [sda] No Caching mode page found [ 2.316430] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 2.316443] sd 0:0:0:0: [sda] Attached SCSI disk root@orangepiplus:~# smartctl -i /dev/sda smartctl 6.4 2014-10-07 r4002 [armv7l-linux-3.4.112-sun8i] (local build) Copyright © 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: ST8000AS0002-1NA17Z Serial Number: Z840L0M7 LU WWN Device Id: 5 000c50 0916fb2a1 Firmware Version: AR17 User Capacity: 8,001,563,222,016 bytes [8.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5980 rpm Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b SATA Version is: SATA 3.1, 6.0 Gb/s (current: 1.5 Gb/s) Local Time is: Tue Dec 6 14:25:04 2016 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled root@orangepiplus:~# cat /proc/partitions major minor #blocks name 8 0 1371575638 sda 179 0 15267840 mmcblk0 179 1 15114128 mmcblk0p1 179 32 4096 mmcblk0boot1 179 16 4096 mmcblk0boot0 root@orangepiplus:~# lsusb Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 05e3:0718 Genesys Logic, Inc. IDE/SATA Adapter Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@orangepiplus:~# cat /boot/config-3.4.112-sun8i |grep LBD CONFIG_LBDAF=y root@orangepiplus:~# lsmod Module Size Used by sunxi_cir 1601 0 pcf8591 3363 0 bmp085 3487 0 8189es 1076034 0 root@orangepiplus:~# parted -l Error: /dev/sda: unrecognised disk label Model: ST8000AS 0002-1NA17Z (scsi) Disk /dev/sda: 1404GB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: root@orangepiplus:~# hdparm -g /dev/sda /dev/sda: geometry = 170753/255/63, sectors = 2743151276, start = 0 Link to comment Share on other sites More sharing options...
tkaiser Posted December 6, 2016 Share Posted December 6, 2016 The board has no SATA, just the slowest USB-to-SATA bridge in the world: GL830. This chip is also broken: https://irclog.whitequark.org/linux-sunxi/2016-06-27#16843360; Broken and slow as hell: simply avoid the SATA connector on boards that use this crappy IC (applies to Orange Pi Plus, Banana Pi M3 and H8 based "Cubietruck Plus" too) or simply avoid those boards using such a crappy "storage solution". Link to comment Share on other sites More sharing options...
Recommended Posts