Duncan wrote:

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^)


Note that in such a situation if either disk fails you're likely to end up with a panic when your swap device isn't accessible. If uptime is a concern mirrored swap is better (but slower).

Of course, if you're running on consumer hardware chances are that computer is going to fail if a drive hangs up in any case - most motherboards don't handle drive failures gracefully, but server-class hardware usually isolates drives so that a drive failure doesn't take down the system.

If the bulk of your data is mirrored you'll get everything back on reboot after removing the bad drive. However, you will likely lose anything in memory.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to