# Re: clearing blocks wrongfully marked as bad if --update=no-bbl can't be used?

- From: Roman Mamedov \<hidden\>
- Date: 2016-11-04 18:59:17 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2016/11/6633332
- Thread: https://ratatoskr.run/linux-raid/2016/10/6633249/t.md

```text
On Fri, 4 Nov 2016 11:50:40 -0700
Marc MERLIN [ref] wrote:

> I can switch to GiB if you'd like, same thing:
> myth:/dev# dd if=/dev/md5 of=/dev/null bs=1GiB skip=8190
> dd: reading `/dev/md5': Invalid argument
> 2+0 records in
> 2+0 records out
> 2147483648 bytes (2.1 GB) copied, 21.9751 s, 97.7 MB/s

But now you cansee the cutoff point is exactly at 8192 -- a strangely familiar
number, much more so than "8.8 TB", right? :D

Could you recheck (and post) your mdadm --detail /dev/md5, if the whole array
didn't get cut to a half of its size in "Array Size".

Or maybe the remove bad block list code has some overflow bug which cuts each
device size to 2048 GiB, without the array size reflecting that. You run RAID5
of five members, (5-1)*2048 would give you exactly 8192 GiB.

-- 
With respect,
Roman
```
