1830229 Members
2664 Online
109999 Solutions
New Discussion

Re: mirror OS

 
SOLVED
Go to solution
Ratzie
Super Advisor

mirror OS

I have just read a post saying that you can not mirror swap or /.

Why is it on the build of Red Hat it allows you to do it.

I first created 2 raid devices, then created a md that was associated with say swap, /, /tmp, /boot

I was able to create RAID 1 on all my partitions without Red Hat complaining.
4 REPLIES 4
Alexander Chuzhoy
Honored Contributor

Re: mirror OS

There's no problem creating mirror of / during installation.The problem is (or at least was) to do that on existing system.
Stuart Browne
Honored Contributor

Re: mirror OS

As Alexander said, there's no problem doing this.

However, why create a software-raid swap device ?! Why increase the over-head for page-memory?

RAID your /, your /boot and other filesystems, but don't bother with software RAID for a swap device. Unless you think you're going to be using alot of swap on a regular basis, the performance hit won't be worth it.
One long-haired git at your service...
Thomas Bianco
Honored Contributor

Re: mirror OS

since swap is not persistent across reboots, there really isn'y much need to mirror swap. the only posiblity is in the event of a hard disk failure, you'd be able to keep running.

consider hardware raid though. there is less overhead on the system if the math to do the raid is done in hardware.
There have been Innumerable people who have helped me. Of course, I've managed to piss most of them off.
Steven E. Protter
Exalted Contributor
Solution

Re: mirror OS

You can mirror swap.

I mirror all the partitions including swap raid 1 on my production Red Hat Servers.

I set it up with disk druid on initial install, but that is not a necessity, it can be done after installation as well.

The post, was wrong.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com