Growing (really grow) a raid1 (mdadm --grow)

Hi,

I need to increase a RAID1. I followed a post in another forum which told the following actions:

  1. do a backup
  2. remove on of the raid devices from the raid (mdadm -f …; mdadm -r …)
  3. increase the partition with the removed raid device
  4. add it again to the raid
  5. wait till syncing is finished
  6. repeat steps 2-5 for the other device
  7. remove the write-intent bitmap (mdadm -G /dev/mdX --bitmap=none)
  8. mdadm -G /dev/mdX --size=max
  9. mdadm --wait /dev/mdX
  10. mdadm -G /dev/mdX --bitmap=internal

Everything works until step 8. If I do a mdadm --detail /dev/mdX after it, the raid1 still has the same size as before.
What is wrong in that?
I even did that under a rescue system, because the raid1 is where my real /usr is. From reading about growing a raid 1 I got the impression, that it should be doable even in a running system.

Thank you for your answers.

Best regards and a happy new year

Dieter

didiw wrote:
> I need to increase a RAID1. I followed a post in another forum which
> told the following actions:

i hope someone here can help you, but i wonder why you didn’t ask for
help from the person/forum whose prescription you used?

was the guide you used directly applicable to your system? or, is that
the problem?


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
Programming: a race between software engineers building bigger/better
idiot-proof programs, and the universe building bigger/better idiots.
So far, the universe is winning. Rick Cook