linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm failed to remove internal bitmap
@ 2015-02-13  9:46 gary
  2015-02-16  3:34 ` NeilBrown
  0 siblings, 1 reply; 4+ messages in thread
From: gary @ 2015-02-13  9:46 UTC (permalink / raw)
  To: linux-raid

Hi,

I used v3.3.1 mdadm to do some test for bitmap, but when switch bitmap from
internal to none, the output shows fail info about remove internal 
bitmap, is it
just a warning? Since the bitmap seems to be cleared, and it doesn't 
show with
v3.2.6 mdadm with the same steps.

linux:~ # mdadm --create md0 --raid-devices=2 --level=mirror 
--assume-clean /dev/vdb /dev/vdc
mdadm: Note: this array has metadata at the start and
     may not be suitable as a boot device.  If you plan to
     store '/boot' on this device please ensure that
     your boot-loader understands md/v1.x metadata, or use
     --metadata=0.90
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md/md0 started.
linux:~ # cat /proc/mdstat
Personalities : [raid1]
md127 : active raid1 vdc[1] vdb[0]
       523712 blocks super 1.2 [2/2] [UU]

unused devices: <none>
linux:~ # mdadm --grow --bitmap=internal /dev/md127
linux:~ # cat /proc/mdstat
Personalities : [raid1]
md127 : active raid1 vdc[1] vdb[0]
       523712 blocks super 1.2 [2/2] [UU]
       bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>
linux:~ # mdadm --grow --bitmap=none /dev/md127
mdadm: failed to remove internal bitmap.
linux:~ # cat /proc/mdstat
Personalities : [raid1]
md127 : active raid1 vdc[1] vdb[0]
       523712 blocks super 1.2 [2/2] [UU]

unused devices: <none>

Thanks,
Gary

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-16  6:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13  9:46 mdadm failed to remove internal bitmap gary
2015-02-16  3:34 ` NeilBrown
2015-02-16  6:42   ` gary
2015-02-16  6:48     ` 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).