I have a Ubuntu 11.10 headless machine setup with Software RAID 1. It has two drives, each drive has a main boot partition (sda1 & sdb1) and a small swap partition. I created a raid for the boot partitions (md0) but not for the swap partitions. OOpps!!?? The machine appears to be running fine, but how is the box handling swap? Is it striped, mirrored, or unused on one of the partitions. Should I create a second RAID for the swap partitions?
feedback
|
|
If you do not need swap (i.e. you have got enough free+cached ram to take up what is currently in swap), you can deactivate swap online: Now you can safely build your raid1, mkswap on that device, edit fstab and | |||
feedback
|
|
Right now I believe it is using them as two separate swap partitions - you can have multiple. I don't think mirroring swap is absolutely essential, considering its just scratch data anyways. However to keep things consistent I'd do it anyways. HTH. | |||||||||||
feedback
|