Talk:RAID/Software

Why is this article suggesting the swap partition to be RAID1? I'd use (and am using, in fact) a RAID0 for swapping (over three disks). Almost doubles the speed if there is need for swapping. If one HDD would fail, I don't care about this swap partition. My OS & data are on a RAID5 so these should be safe if n=1 HDD would crash.

Maybe the version 1.0 superblocks Note should be a Warning as it's a bit of a show stopper.

It seems to me that on some configurations [i.e. no UPS, capacitors, or controller batteries, usage of encrypted filesystems, and probably depends on RAID configuration] one might need to explicitly disable disc write cache to ensure filesystem's consistency. Current state can be be checked by sdparm --get=WCE /dev/sdX, or by hdparm.

There can be a problem using TuxOnIce with raided swap - resume is called before md devices are mapped. -- This can be done using initramfs: devices have to be mapped manually from init script and resume can be performed (before mounting filesystems!) with 'echo 1 > /sys/power/tuxonice/do_resume'