[CentOS] Replace failed disk in raid

2014-03-05 Thread Nikos Gatsis - Qbit
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? After

Re: [CentOS] Replace failed disk in raid

2014-03-05 Thread Nicolas Thierry-Mieg
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

Re: [CentOS] Replace failed disk in raid

2014-03-05 Thread John Doe
From: Nikos Gatsis - Qbit ngat...@qbit.gr How can I stop swap and remove partition? After replacing the faulty disk and rebuilt how I start swap again? # apropos swap | grep '(8)' JD ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Replace failed disk in raid

2014-03-05 Thread Nikos Gatsis - Qbit
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

Re: [CentOS] Replace failed disk in raid

2014-03-05 Thread Dennis Jacobfeuerborn
On 05.03.2014 15:31, Nikos Gatsis - Qbit wrote: 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

Re: [CentOS] Replace failed disk in raid

2014-03-05 Thread Keith Keller
On 2014-03-05, Nicolas Thierry-Mieg nicolas.thierry-m...@imag.fr wrote: On 03/05/2014 02:55 PM, Nikos Gatsis - Qbit wrote: After replacing the faulty disk and rebuilt how I start swap again? swapon -a You'll probably also need to remake the swap space before doing swapon: mkswap