Hi again everyone.
Still struggling with this issue. I acquired two fresh HGST 1TB drives and they seem to be exhibiting the same behavior, which leads me to believe that this is a problem with the Ubuntu system itself.
As a quick test this afternoon, I used a spare 500GB Samsung 5400RPM drive, made a single partition and an ext4 filesystem, and was able to achieve speeds of around 20-30MB/s using dd with oflag=direct. Using the HGST drives in the same bay with the same test setup, I was only able to reach speeds of 6-7MB/s.
My conclusion is that Ubuntu 18.04, or at least the driver for the motherboard's SATA controller, has a strange conflict with these HGST drives. Again, with two different models of HGST drive (0J22413 and 0J38083) the same issue exists. Both test HGST drives were fresh drives at the beginning of testing and show no SMART errors. The only difference I can see is that both HGST drives are AF (Advanced Format) drives which I suppose could be causing issues since my motherboard is somewhat older (Supermicro X8SIL).
Any help would be greatly appreciated. I've had zero issues with HGST drives on other systems, and other manufacturer's drives work fine on this system. There's a strange conflict between these drives and my system and I don't even know where to start troubleshooting this strange issue.
Here's a quick hdparm for the working 500GB samsung drive:
Code:
Model=SAMSUNG HM501II, FwRev=2AJ10003, SerialNo=S267J90ZB33696
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-0,1,2,3,4,5,6,7
And for the nonworking HGST drive:
Code:
Model=HGST HTS541010A9E680, FwRev=JA0OA7J0, SerialNo=J88000D8GD5ABD
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-2,3,4,5,6,7
Not sure if that's useful to anyone but as far as I can tell they're practically identical. Like I said before as far as I can tell the SMART data is also perfect for all these drives.
Bookmarks