External bitmap disappears
I've configured a raid10,f2 with an external bitmap:
mdadm --grow --bitmap=/md0.bitmap /dev/md0
The root ('/') filesystem is NOT on the raid. It's a normal partition (/dev/sdb1, the boot device actually).
After reboot, cat /proc/mdstat does not show a bitmap. What's up with that? That sure doesn't seem right.
Signature · 1 line
Jon
Quoted 8 lines · Jon Nelson
I've configured a raid10,f2 with an external bitmap:
mdadm --grow --bitmap=/md0.bitmap
/dev/md0The root ('/') filesystem is NOT on the raid. It's a normal partition (
/dev/sdb1, the boot device actually).
After reboot, cat/proc/mdstatdoes not show a bitmap. What's up with that? That sure doesn't seem right.
If a bitmap isn't stored inside a superblock, you have to specify the same filename when ASSEMBLING the array.
Add it to mdadm.conf file.
/mjt
I'd like to offer a suggestion, then:
perhaps mdadm --detail --scan
could add bitmap= to it's output as appropriate?
Quoted 18 lines · Michael Tokarev
Quoted 8 lines · Jon Nelson
I've configured a raid10,f2 with an external bitmap:
mdadm --grow --bitmap=/md0.bitmap
/dev/md0The root ('/') filesystem is NOT on the raid. It's a normal partition (
/dev/sdb1, the boot device actually).
After reboot, cat/proc/mdstatdoes not show a bitmap. What's up with that? That sure doesn't seem right.If a bitmap isn't stored inside a superblock, you have to specify the same filename when ASSEMBLING the array.
Add it to mdadm.conf file.
/mjt
Signature · 1 line
Jon
Quoted 4 lines · Jon Nelson
I'd like to offer a suggestion, then:
perhaps mdadm --detail --scan
could add bitmap= to it's output as appropriate?
That's an excellent suggestion.
(makes note in ever-growing TODO list)
Thanks.
NeilBrown