# Re: kernel refuses devices mdadm -E accepts

- From: Wesley W. Terpstra \<hidden\>
- Date: 2015-01-21 12:37:10 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2015/01/6628832
- Thread: https://ratatoskr.run/linux-raid/2015/01/6628832/t.md

```text
On Wed, Jan 21, 2015 at 12:28 AM, Valentijn Sessink [ref] wrote:
> Make a snapshot using dmsetup.

Thanks for the tip. I did not know the blockdev --setro command.

I've attached the output of smartctl -A in smartctl.log, mdadm -E in
mdadm.log, and mdstat in mdstat.log.

The mdstat needs some explanation, perhaps
sd[a-d] are 3TB hard disks
sd[e-f] are SSDs
md121, md122, md125 : swap disks
md123, md124: uefi, boot
md126: PV with LV root
md125: bcache cache disk

what is missing is a raid5 on /dev/sd[a-d]4 which is the bcache backing device

Try: madam -A -o --run --force --freeze-reshape /dev/md120 /dev/sd[a-d]4
It failed the same as before. Logs in mdadm-a.log and dmesg.log

The system was in the middle of a reshape to move the data-offset from
5120 to 8192. No disks were added or removed. All disks are healthy. I
believe the system was rebooted mid-reshape.

Could this be a bug? That madam won't continue a data-offset reshape?
```

## Attachments

- [dmesg.log](https://ratatoskr.run/linux-raid/2015/01/6628832/attachment/0) (application/octet-stream, 669 bytes)
- [mdadm-a.log](https://ratatoskr.run/linux-raid/2015/01/6628832/attachment/1) (application/octet-stream, 308 bytes)
- [mdadm.log](https://ratatoskr.run/linux-raid/2015/01/6628832/attachment/2) (application/octet-stream, 3746 bytes)
- [mdstat.log](https://ratatoskr.run/linux-raid/2015/01/6628832/attachment/3) (application/octet-stream, 686 bytes)
- [smartctl.log](https://ratatoskr.run/linux-raid/2015/01/6628832/attachment/4) (application/octet-stream, 7661 bytes)
