I have a 3TB drive attached via SATA, with independent PSU. Despite my best efforts I cannot get it to be recognized as anything more than 801GB/746GiB. This drive works in another machine fine. I tried a low-level wipe (dd if=/dev/zero of=/dev/sda bs=1M), as well as creating new GPT partition tables.
hdparm -I does correctly report info, but `cat /sys/class/block/sda/queue/physical_block_size` reports block size at 512. Any thoughts?
Device Details:
Orange Pi+ 2
Armbian Debian 3.4 image
Linux XX 3.4.113-sun8i #10 SMP PREEMPT armv7l GNU/Linux
WD 3TB Green (WD30EZRX)
OS installed on eMMC on system
Excerpt from kernel log when attaching drive:
[ 4.534594] sd 0:0:0:0: [sda] 1565565868 512-byte logical blocks: (801 GB/746 GiB)
[ 4.550334] sd 0:0:0:0: [sda] Write Protect is off
[ 4.561887] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 4.562827] sd 0:0:0:0: [sda] No Caching mode page found
[ 4.574843] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.590700] sd 0:0:0:0: [sda] No Caching mode page found
[ 4.623980] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.698642] sda: sda1
[ 4.702202] sd 0:0:0:0: [sda] No Caching mode page found
[ 4.702214] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.702226] sd 0:0:0:0: [sda] Attached SCSI disk
hdparm -I :
ATA device, with non-removable media
Model Number: WDC WD30EZRX-00MMMB0
Serial Number: WD-WCAWZ1242100
Firmware Revision: 80.00A80
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 5860533168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 2861588 MBytes
device size with M = 1000*1000: 3000592 MBytes (3000 GB)
cache/buffer size = unknown
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns