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.
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 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.
You need to be more exact when describe what you are doing and what the result is.
"I have run swapoff and swap stop"
What where the exact commands and arguments you used and what was the output? Did you verify that the swap was actually disabled after running these commands?
"cant still remove partition from raid0"
What commands and arguments did you run to remove the drive? What was the result?
Regards, Dennis