Re: debian software raid1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/04/11 18:03, Iordan Iordanov wrote:
There are articles that propose mirroring partitions independently
(rather than the entire disk), and not mirroring swap, but adding two
swap partitions with equal priority.

Adding two swap partitions with equal priority is swap's way of implementing striping rather than mirroring.

So it depends what you're after: if you want as much swap space as possible then don't use md for swap and just create several swap partitions with equal priority. If on the other hand you're after robustness, in particular including the ability for the server to survive disk failure, then you will need to add a RAID layer.

You can of course do both. In a previous machine I had a 4-disk RAID5. On each of the 4 disks I had also set aside some space, which I organised into two 2-partition RAID0 devices, which I then used as swap devices with equal priority.

I have not experienced any deadlock issues with this setup.

Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux