[CentOS] Replace failed disk in raid

Nicolas Thierry-Mieg Nicolas.Thierry-Mieg at imag.fr
Wed Mar 5 14:00:50 UTC 2014



On 03/05/2014 02:55 PM, Nikos Gatsis - Qbit wrote:
> Hello list
> 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?

swapoff -a

> After replacing the faulty disk and rebuilt how I start swap again?

swapon -a



More information about the CentOS mailing list