[CentOS] Replace failed disk in raid

Wed Mar 5 14:31:59 UTC 2014
Nikos Gatsis - Qbit <ngatsis at qbit.gr>

On 5/3/2014 3:59 μμ, Reindl Harald wrote:
> Am 05.03.2014 14:55, schrieb Nikos Gatsis - Qbit:
>> A disk, part of a raid failed and I have to replace it.
>> My problem is the swap partition which is in raid0. The rest partitions
>> are in raid1 and I successfully removed them.
>> The partition in swap cant removed because is probably active.
>> How can I stop swap and remove partition?
>> After replacing the faulty disk and rebuilt how I start swap again?
> man swapoff
>
I have run swapoff and swap stop, but I cant still remove partition from
raid0.
Should I stop md also?
Thank you.