* External bitmap disappears
@ 2008-06-20 13:17 Jon Nelson
2008-06-20 13:45 ` Michael Tokarev
0 siblings, 1 reply; 4+ messages in thread
From: Jon Nelson @ 2008-06-20 13:17 UTC (permalink / raw)
To: Linux-Raid
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: External bitmap disappears
2008-06-20 13:17 External bitmap disappears Jon Nelson
@ 2008-06-20 13:45 ` Michael Tokarev
2008-06-20 13:48 ` Jon Nelson
0 siblings, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2008-06-20 13:45 UTC (permalink / raw)
To: Jon Nelson; +Cc: Linux-Raid
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: External bitmap disappears
2008-06-20 13:45 ` Michael Tokarev
@ 2008-06-20 13:48 ` Jon Nelson
2008-06-21 5:33 ` NeilBrown
0 siblings, 1 reply; 4+ messages in thread
From: Jon Nelson @ 2008-06-20 13:48 UTC (permalink / raw)
To: Michael Tokarev; +Cc: Linux-Raid
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 <mjt@tls.msk.ru> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: External bitmap disappears
2008-06-20 13:48 ` Jon Nelson
@ 2008-06-21 5:33 ` NeilBrown
0 siblings, 0 replies; 4+ messages in thread
From: NeilBrown @ 2008-06-21 5:33 UTC (permalink / raw)
To: Jon Nelson; +Cc: Michael Tokarev, Linux-Raid
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-21 5:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-20 13:17 External bitmap disappears Jon Nelson
2008-06-20 13:45 ` Michael Tokarev
2008-06-20 13:48 ` Jon Nelson
2008-06-21 5:33 ` NeilBrown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).