External bitmap disappears
External bitmap disappears
am 20.06.2008 15:17:09 von Jon Nelson
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.
--
Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: External bitmap disappears
am 20.06.2008 15:45:34 von Michael Tokarev
Jon Nelson wrote:
> 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.
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
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: External bitmap disappears
am 20.06.2008 15:48:14 von Jon Nelson
I'd like to offer a suggestion, then:
perhaps mdadm --detail --scan
could add bitmap= to it's output as appropriate?
On Fri, Jun 20, 2008 at 8:45 AM, Michael Tokarev wrote:
> Jon Nelson wrote:
>> 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.
>
> 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
>
>
--
Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: External bitmap disappears
am 21.06.2008 07:33:03 von NeilBrown
On Fri, June 20, 2008 11:48 pm, Jon Nelson wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html