[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Hi Matt:
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

Yeah, you are right.
But soft raid is also manipulated by real machine, so this need discussing furthermore.


Thanks a lot
-Wanlong Gao


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]