Can anyone point in the right direction on how to remove SWAP out of a RAID1 configuration on Ubuntu 10.04 server? According to the Ubuntu Advanced installation guide, here, it said to add swap to the raid but I am having some serious performance issues. I would like to remove it from the array and recreate it, with the same size, on the two separate drives. Zero data loss on the other array is a must.
Its a remote computer so I would prefer to do it via command-line if possible.
Here is the output from cat /proc/mdstat
md0 : active raid1 sdb1 sda1 19530688 blocks [2/2] [UU] md1 : active raid1 sdb2 sda2 957230016 blocks [2/2] [UU]
Swap is on the md0 device.