RE: [opensuse] setting up a raid (Suse 10.0)
-----Original Message----- From: Wade Jones [mailto:wjones@hughes.net] Sent: Thursday, March 15, 2007 8:23 AM To: opensuse@opensuse.org Subject: Re: [opensuse] setting up a raid (Suse 10.0) On Thursday 15 March 2007 07:57, James D. Parra wrote:
I have two identical drives, mirrored as /dev/md0 One drive is a system drive and I'd like to mirror it. Which is it? Perhaps you should post your fstab and raidtab......................................
I am unable to carve out mount points on it or put a swap partition on it. Isn't mirroring a swap partition a bad idea, or at the least wasteful? Why not create a (or two) swap partitions on the disks, then create the RAID partitions on the remaining space?
~~~~ This is a fresh install. I don't really want to mirror the swap partition, just get the system mirrored. During the install, after many different attempts to get the system to boot from the hard disk, I have now set up /dev/md0 with 90GB and mounted as /var, however after the loading of packages is complete and the system reboots, the system won't boot from the hard drive. The mount point /boot is on /dev/sda1. Thank you, ~James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 15 March 2007, James D. Parra wrote:
Isn't mirroring a swap partition a bad idea, or at the least wasteful?
Mirroring is not too bad for swap. When the system needs to read swap the raid drivers will read from which ever disk is not busy, so it might be faster than non-raid, but only slightly so. A swap on raid5 is quite a bit slower. -- _____________________________________ John Andersen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Donnerstag, 15. März 2007 19:47 schrieb John Andersen:
On Thursday 15 March 2007, James D. Parra wrote:
Isn't mirroring a swap partition a bad idea, or at the least wasteful?
Mirroring is not too bad for swap. When the system needs to read swap the raid drivers will read from which ever disk is not busy, so it might be faster than non-raid, but only slightly so.
A swap on raid5 is quite a bit slower.
Mirroring swap isn't a bad idea also because your running system would break if a disk crashes with swapped data on it. -- David Mayr, http://davey.de openSUSE LINUX, http://opensuse.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 15 March 2007 20:12, David Mayr wrote:
Am Donnerstag, 15. März 2007 19:47 schrieb John Andersen:
On Thursday 15 March 2007, James D. Parra wrote:
Isn't mirroring a swap partition a bad idea, or at the least wasteful?
Mirroring is not too bad for swap. When the system needs to read swap the raid drivers will read from which ever disk is not busy, so it might be faster than non-raid, but only slightly so.
A swap on raid5 is quite a bit slower.
Mirroring swap isn't a bad idea also because your running system would break if a disk crashes with swapped data on it.
as mentioned by others in this thread, I put seperate swaps one on each disk, and raid the rest. This means that the machine crashes when a disk breaks. The system then works after a reboot. In this form I Immedeatetly know when a disk breaks at one of my SOHO clients. I find that to be a major plus. Jerry
-- David Mayr, http://davey.de openSUSE LINUX, http://opensuse.de
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jerome R. Westrick wrote:
On Thursday 15 March 2007 20:12, David Mayr wrote:
Am Donnerstag, 15. März 2007 19:47 schrieb John Andersen:
On Thursday 15 March 2007, James D. Parra wrote:
Isn't mirroring a swap partition a bad idea, or at the least wasteful?
Mirroring is not too bad for swap. When the system needs to read swap the raid drivers will read from which ever disk is not busy, so it might be faster than non-raid, but only slightly so.
Mirroring swap isn't a bad idea also because your running system would break if a disk crashes with swapped data on it.
I put seperate swaps one on each disk, and raid the rest.
This means that the machine crashes when a disk breaks. The system then works after a reboot.
In this form I Immedeatetly know when a disk breaks at one of my SOHO clients. I find that to be a major plus.
SUSE normally starts mdadm and notifies you about disk breakage. For extended supervision Nagios is even better. That's the whole reason for a RAID system, to be able to repair disk failures in a scheduled and organized way without crashing a running system. Not mirroring the swap partition counters that advantage and is bad advice, IMNSHO. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 16 March 2007, Joachim Schrod wrote:
SUSE normally starts mdadm and notifies you about disk breakage. For extended supervision Nagios is even better.
That has not been my experience. I've always had to take steps to make sure mdadm is started in monitor mode at each boot. -- _____________________________________ John Andersen
John Andersen wrote:
On Friday 16 March 2007, Joachim Schrod wrote:
SUSE normally starts mdadm and notifies you about disk breakage. For extended supervision Nagios is even better.
That has not been my experience. I've always had to take steps to make sure mdadm is started in monitor mode at each boot.
On 10.0, I set up the software RAID during installation. Then mdadm was started automatically in monitor mode. I wouldn't have started it myself, since I use Nagios for complete monitoring of all hosts and services, RAID states and enough free space on filesystems included. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
David Mayr
-
James D. Parra
-
Jerome R. Westrick
-
Joachim Schrod
-
John Andersen