Re: [BUG] xfs.mkfs recognizes wrong disk size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 5, 2017 at 1:19 PM, Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
> On 1/5/17 1:13 PM, Darrick J. Wong wrote:
>>>> It later leads to IO error:
>>>> `dmesg`:
>>>> [1807875.741674] blk_update_request: I/O error, dev sdf, sector 2930266664
>>>> [1807875.741732] blk_update_request: I/O error, dev sdf, sector 2930266664
>> The kernel complains about "sector 2930266664", which is in 512-byte blocks.
>>
>> 2930266664 * 512 = 1500296531968, or halfway across your 3TB disk.
>>
>> Makes sense since the log generally ends up halfway across the disk.
>> Not sure if there's any output before 1807875.741674 but this sort of
>> looks like a disk error or something?
>
> Oh, right.  Like my physics teacher said, "think units before you think
> numbers!"  ;)  I usually remember ...
>
> This doesn't look like a size mismatch problem, this looks like a failing
> disk problem.
>
> -Eric

It looks I need to scan for bad blocks. Thanks for your time :)

-- 

Regards,
        Wu, Xingbo (吴兴博)  <wuxb45@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux