<br><br><div><span class="gmail_quote">On 9/2/05, <b class="gmail_sendername">Les Mikesell</b> <<a href="mailto:les@futuresource.com">les@futuresource.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 2005-09-02 at 01:50, Robert Arkiletian wrote:<br><br>> So if sda failed, would the swap on the second drive shift?<br><br>First, note that they don't shift until the next boot.  Then<br>if one isn't available, you'll still boot and use any others
<br>listed in fstab.  It will check that they really are swap<br>partitions before using them.  Also, md devices are normally<br>autodetected anyway - the problem is more when fstab has<br>entries for /dev/sdcn and they shift up to /dev/sdbn because
<br>an earlier device is missing.<br><br>>   BTW I thought multiple swap partitions on seperate drives<br>> automatically use raid 0. So do I need to state that they are a raid<br>> device? Wait I just thought about this for a second. I think they HAVE
<br>> to be defined as a raid1 device. Assume you go into swap then one<br>> drive fails. If it's raid0 you are going down bigtime!! So I think<br>> they have to be explicitly defined as a raid1 device.<br><br>I've had some problems using disk druid to create the layout
<br>I wanted with multiple partitions on the same drives but it<br>might be fixed by now.  You should be able to create matching<br>raid partitions on each drive, select them and create a raid<br>device with the mount point and filesystem you want.  The problem
<br>I've had is that the system re-arranges the positions on the<br>disk so /boot isn't always first.  If this happens you can<br>nail down the layout by doing an fdisk first with the partition<br>sizes you want and partition type of FD.
<br><br>By the way, the current beta of SME server 7.x based on Centos4<br>does a neat trick.  If you install on a single drive it builds<br>a 'broken' raid1 so at any time later you can add a 2nd drive<br>and mirror the partitions to it.
</blockquote><div><br>
<br>
</div></div>Thanks for the explanation Les. I have just found a couple
of nice PDF's I'd like to share with the list on this subject in case
others are interested.<br>
<br>
<font size="-1"><font color="#008000"><a href="http://www.dell.com/downloads/global/power/1q04-hul.pdf">http://www.dell.com/downloads/global/power/1q04-hul.pdf</a><br>
<a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/pdf/rhel-sag-en.pdf">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/pdf/rhel-sag-en.pdf</a>   (chap 9,10)<br>
</font></font><br>-- <br>Robert Arkiletian<br>C++ GUI tutorial <a href="http://fltk.org/links.php?V19">http://fltk.org/links.php?V19</a>