Matthias Bethke <[EMAIL PROTECTED]> posted [EMAIL PROTECTED],
excerpted below, on  Thu, 14 Aug 2008 00:54:48 +0200:

> I have two 500G disks, mirrored in a software-RAID0 on all partitions
> but swap which is on two separate 16G partitions.

OK, if it's RAID-0, it's striped, not mirrored, and you have NO 
redundancy at all.  If either of those disks fails, your SOL.

If it's mirrored, you meant RAID-1.

I might have let it pass, but if you think you're mirrored (RAID-1) and 
are striped (RAID-0) instead, you could be in for one NASTY surprise if 
one of the disks dies.  So I thought it wise to post and warn you, just 
in case it WASN'T just a typo and you screwed up, BEFORE something 
happens and you lose the data.

But you're correct about swap, at least if you have them set at the same 
priority.  The kernel will automatically stripe across all swap 
partitions set at the same priority, so if you have multiple disks, put a 
swap partition on each and set the priority equal (in fstab if you 
automate swap loading from there), and the kernel will automatically 
stripe them, increasing your swap performance accordingly. =8^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to