on 04/11/2011 04:59 PM James wrote the following:
> snip...
>
> Both drives are identical (edited to fit gmane):
> Disk identifier: 0xab83344a
>    Device Boot Start         End      Blocks   Id  System
> /dev/sda1   * 2048      526335      262144   fd  Lraid auto
> /dev/sda2   526336    10573823     5023744   fd  Lraid auto
> /dev/sda3   573824  3907029167  1948227672   fd  Lraid auto
>
>
> OK so my question is does this fstab look ok, workable? improvements?
> snip...
> /dev/md2          swap           swap    defaults        0 0
>
I guess you have made md2 a RAID0 for swap, right (post the output of:
cat /proc/mdstat)?
I think you don't need to put swap on RAID0.
Just make the swap (in fstab) with the same priority (pri=) like:
/dev/sda2    none    swap    sw,pri=3    0 0
/dev/sdb2    none    swap    sw,pri=3    0 0
(of course, first stop md2, change the partition ids to 82, and then
mkswap ...)



Reply via email to