Comment 3 for bug 371338

Revision history for this message
Sander Smeenk (ubuntu-freshdot) wrote :

This issue seems related to the device once being used for swap.

I'm experiencing /exactly/ the same problem as you describe above.
I've swapoff'd the md-device, but still i'm unable to stop the array alltogether or remove a member from it.
Everything results in EBUSY.

Ubuntu 6.06.2 LTS
Linux 2.6.15-54-amd64-k8 #1 SMP PREEMPT Thu Apr 2 20:27:18 UTC 2009 x86_64 GNU/Linux
mdadm - v1.12.0 - 14 June 2005

I also tried compiling 2.6.7.1 from Jaunty. The resulting binary works for other operations but also fails removing or stopping the raidset with EBUSY. This makes me wonder if this is mdadm related.