RFC swap over raid1

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

 



hi guys, should i use raid1 with swap partitions? why?

example:
swapon /dev/sda1
mdadm --create /dev/md-swap --level=1 --raid-devices=2 /dev/sda /dev/sdb
mkswap /dev/md-swap
swapon /dev/md-swap

what's the advantages and disvantages?
should i use raid0, linear, raid1, raid10, raid5 or raid6?

or just two swap partitions and run this way:
swapon /dev/sda
swapon /dev/sdb
?

thanks

-- 
Roberto Spadim
SPAEmpresarial
--
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