Swap should only be in raid if using redundancy because the system won't crash if a drive with swap goes down (I've tested this myself). The kernel does striping on its own if you give the swap partitions the same priority in /etc/fstab (see <a href="http://tldp.org">tldp.org</a> on software raid), so no need for swap to be in raid 0.<br>
<br><div class="gmail_quote">On Mon, Nov 3, 2008 at 4:51 PM, Dotan Cohen <span dir="ltr"><<a href="mailto:dotancohen@gmail.com">dotancohen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2008/11/3 Christopher Lemire <<a href="mailto:christopher.lemire@gmail.com">christopher.lemire@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> I've been using Raid 1 for a while now. It increases my read speeds a little<br>
> bit I guess, but I haven't had a hard drive fail where it ever did me any<br>
> good. I just yanked a hard drive that was running in the raid out of my<br>
> computer and watched Linux not crash and continue to run uninterrupted and<br>
> also did simulated failures and rebuilding with mdadm. What I really want is<br>
> performance. Raid 0 offers more performance than 5 and raid is not a backup<br>
> solution, so what I want to do is this. Many people complains about raid 0,<br>
> but I have an idea. I want cron jobs to run rsync for backups synchronizing<br>
> my home folder to a new 640 gb Seagate hdd I'm looking at buying. The<br>
> backups should be automated and done often, so, I can have @reboot in my<br>
> crontab and rsync run by cron at times I am not likely to be doing anything<br>
> or much with my computer. And if rsync only has to copy only new or modified<br>
> files, it shouldn't take long at all to perform a backup and maybe I can<br>
> have it run ever 3 hours or whenever the computer has been idle for 15<br>
> minutes. I don't know how to do that except I think<br>
> gnome-screensaver-command could check if the screensaver is active and if it<br>
> is, I'm not using my computer, and rsync could go to work backuping up my<br>
> files. The two drives I'm using for raid 1 right now that I want to<br>
> reinstall Ubuntu 8.10 with raid 0 with are both identical sata2 Seagates 320<br>
> gb drives. I want the partitioning scheme to be identical on both, but how<br>
> would I do that if grub can't boot a Linux kernel that's in raid 0? I've<br>
> made a /boot partition and put it in Raid 1 before but people have told me<br>
> that its bad to have to have raid 1 and raid 0 that way and my performance<br>
> would be lost, so how can I keep both drives with the same partitioning<br>
> layout with Raid 0?<br>
><br>
<br>
</div></div>I'd keep the boot partition on sda and leave the corrosponding<br>
partition on sdb empty. Or, you could have that partition on sdb as<br>
swap. I don't think that you need to RAID swap if your goal is data<br>
redundancy. Just RAID the data partitions.<br>
<br>
--<br>
Dotan Cohen<br>
<br>
<a href="http://what-is-what.com" target="_blank">http://what-is-what.com</a><br>
<a href="http://gibberish.co.il" target="_blank">http://gibberish.co.il</a><br>
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת<br>
<br>
ä-ö-ü-ß-Ä-Ö-Ü<br>
<font color="#888888">--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Christopher Lemire <<a href="mailto:christopher.lemire@gmail.com">christopher.lemire@gmail.com</a>><br>Fedora 64 bit Linux Raid Level 1<br>