Re: debian software raid1
From: Roberto Spadim <hidden>
Date: 2011-04-19 22:01:08
hum, some doubts.... what´s better (faster / secure)? swap over one disk (no raid) swap over one md raid1 swap over one md raid0 swap over one md raid10 swap over one md raid5 swap over one md raid6 2011/4/19 Steven Haigh [off-list ref]:
On 20/04/2011 7:10 AM, Gordon Henderson wrote:quoted
I'm actually of the opinion that to NOT put swap on RAID in an otherwise RAIDed system is just plain silly. Do it. You know it makes sense!I think the preferred method at the moment (and at least for 2010/2011) is to have a smallish RAID1 partition for /boot then create a second RAID array for everything else and use LVM on top of that. That allows you to have the host on the same RAID1 and use the flexibility to use LVM for all your other requirements. I personally run a Xen virtualisation server - it has the following: /dev/md0 - /boot - 512Mb - RAID1 /dev/md1 - VG 'RAID1' - rest of disk - RAID1 /dev/md2 - VG 'RAID5' - 3 x 1Tb whole disks - RAID5 Then the majority of the 7 VMs on that machine live on the RAID5 VG (with one special case that is on the RAID1 VG) and it runs very happily. The swap and root of Dom0 is on the RAID1 VG. This seems to be the best way I've found to have the most flexibility and not have to change things as time progresses. -- Steven Haigh Email: netwiz@crc.id.au Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299 There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
-- Roberto Spadim Spadim Technology / SPAEmpresarial -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html