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 replacing the faulty disk and rebuilt how I start swap again?
Thank you in advance Nikos
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
On 2014-03-05, Nicolas Thierry-Mieg Nicolas.Thierry-Mieg@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 /path/to/md/swap/device
--keith
From: Nikos Gatsis - Qbit ngatsis@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