Create a swap lv in the vg you created out of /dev/md1, assuming /dev/md0 is /boot.
-Ross
----- Original Message ----- From: centos-bounces@centos.org centos-bounces@centos.org To: 'centos@centos.org' centos@centos.org Sent: Mon Feb 04 17:29:45 2008 Subject: [CentOS] Install on two discs with Software Raid and LVM
I am mirroring two drives during install, what's the best practice here for the swap partition? Maybe two separate lv's from independent vg's *not* mirrored for swap and the let the OS manage it? Boot and the / vg will be mirrored.
Thanks! jlc
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
Create a swap lv in the vg you created out of /dev/md1, assuming /dev/md0 is /boot.
-Ross
Oh, I thought it wasn’t good to run swap inside software raid? If I was wrong, I assume this is beneficial since if one of the HD’s tanks while its running, it will survive the failure and not need to reboot?
Thanks! jlc
on 2/4/2008 2:43 PM Joseph L. Casale spake the following:
Create a swap lv in the vg you created out of /dev/md1, assuming /dev/md0 is /boot.
-Ross
Oh, I thought it wasn’t good to run swap inside software raid? If I was wrong,
I assume this is beneficial since if one of the HD’s tanks while its running, it will survive the failure and not need to reboot?
Thanks! jlc
That is an old assumption from the infancy of software raid, less than optimal installed ram, and slower processors. When ram was expensive, you used more swap because it was cheaper. But ram is so much cheaper now that it make no sense to run a machine that needs to touch swap except in an emergency.