I've bought a new 4TB hard drive, a Western Digital WD40PURX, to replace an existing 1TB drive, and because I don't have a free internal SATA port - I've used a USB-to-SATA adapter I had lying around to connect the drive temporarily so I can move the data over - before switching the drives.
But when I'm trying to partition the drive, Ubuntu only sees 1.6 TB of size:
# gdisk -l /dev/sdg GPT fdisk (gdisk) version 1.0.1 Partition table scan: MBR: not present BSD: not present APM: not present GPT: not present Creating new GPT entries. Disk /dev/sdg: 3519069872 sectors, 1.6 TiB Logical sector size: 512 bytes Disk identifier (GUID): B19A7DC5-52A5-44AD-B295-51C8853A9EBB Partition table holds up to 128 entries First usable sector is 34, last usable sector is 3519069838 Partitions will be aligned on 2048-sector boundaries Total free space is 3519069805 sectors (1.6 TiB)
# smartctl -x /dev/sdg smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.8.0-49-generic] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Purple Device Model: WDC WD40PURX-64GVNY0 Serial Number: WD-WCC4E3YY1VKE LU WWN Device Id: 5 0014ee 2b849189a Firmware Version: 80.00A80 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2 (minor revision not indicated) SATA Version is: SATA 3.0, 6.0 Gb/s (current: 1.5 Gb/s) Local Time is: Wed Apr 26 11:23:10 2017 IDT SMART support is: Available - device has SMART capability. SMART support is: Enabled AAM feature is: Unavailable APM feature is: Unavailable Rd look-ahead is: Enabled Write cache is: Enabled ATA Security is: Disabled, NOT FROZEN [SEC1] Write SCT (Get) Feature Control Command failed: Read of ATA output registers not implemented [JMicron] Wt Cache Reorder: Unknown (SCT Feature Control command failed)
# lsusb | grep SATA Bus 001 Device 002: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
I've search around for something like a size limit for USB mass storage devices, but that doesn't seem to be the case.
[Update]: After looking at the discussions pointed to by @Mitch, I've tried setting the drive to "Advanced Format" using a jumper, without success - after setting the jumper, the drive still identifies as "Sector size: 512 bytes logical, 4096 bytes physical".
I'd appreciate any thoughts on the subject.