[Libguestfs] [PATCH] New API: mdadm-stop for stopping MD devices.

Matthew Booth mbooth at redhat.com
Wed Nov 23 15:02:19 UTC 2011


On 23/11/11 14:43, Wanlong Gao wrote:
> This API is used to stop a md device.
> When we want to move a device to another md array, we should
> stop the md device which contained this device first.

I'm not convinced we should extend the md api in libguestfs to active 
manipulation. I wasn't convinced that mdadm-create was worthwhile 
either, but it made a test case ever so slightly tidier. To me, MD 
devices are the domain of physical machines. We need to be able to 
*read* them (for P2V apart from anything else), but I think manipulation 
is opening an unnecessary can of worms.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list