Re: 5.2.x kernel: WD 8TB USB Drives: Unaligned partial completion (resid=78, sector_sz=512)

From: Martin K. Petersen
Date: Mon Aug 12 2019 - 22:12:51 EST



Justin,

>> Attached 2 x brand new Western Digital 8TB USB 3.0 drives awhile back
>> and ran some file copy tests and was getting these warnings-- is
>> there any way to avoid these warnings? I did confirm with parted
>> that the partition was aligned but this appears to be something
>> related to the firmware on the device according to [1] and [2]?

> sg_vpd_bdc.txt
> Block device characteristics VPD page (SBC):
> Nominal rotation rate: 5400 rpm
> Product type: Not specified
> WABEREQ=0
> WACEREQ=0
> Nominal form factor: 3.5 inch
> ZONED=0

Damien: What can we do to limit the messages in cases like this? Would
it make sense to make the residual warning conditional on sd_is_zoned()?

--
Martin K. Petersen Oracle Linux Engineering