[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Dec 16 00:38:49 2004 -->
- <!--x-from-r13: oevna.fgnanynaq ng tznvy.pbz (Pevna Egnanynaq) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Make RAID 1 during install -->
- <li><em>date</em>: Thu Dec 16 00:38:49 2004</li>
- <li><em>from</em>: brian.stanaland at gmail.com (Brian Stanaland)</li>
- <li><em>in-reply-to</em>: <<a href="msg00363.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00363.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Make RAID 1 during install</li>
That, and lots of Googling, has gotten me almost there. Where I am
now...I've been able to make one RAID partition out of /dev/hda3 and
/dev/hdb3 as /dev/md0 and it's in use as /boot. I'm trying to get
/dev/hda2 and /dev/hdb2 to be /dev/md1 and hold the / filesystem. I
have hda2 and hdb2 configured as linux raid autodetect. Edited
/etc/raidtab and /etc/fstab. Copied the filesystem from hda2 to hdb2.
Did everything I thought I needed but still can't get it to work.
So...I'm asking for suggestions. This is my first Debian install with
a raid. I've used Red Hat or SuSE before. If there is something
glaringly wrong with what I'm doing, please let me know. The config
files are below.
#: cat /etc/fstab
/dev/md0 /boot ext3 defaults,noatime 1 1
/dev/md1 / ext3 defaults,noatime 1 1
# /dev/hda2 / ext3 defaults,noatime 1 1
/dev/hda1 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
# Dynamic entries
/dev/hda2 /mnt/hda2 ext3 noauto,users,exec 0 0
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
/dev/hdb1 /mnt/hdb1 auto noauto,users,exec 0 0
/dev/hdb2 /mnt/hdb2 ext3 noauto,users,exec 0 0
/dev/hdb3 /mnt/hdb3 ext3 noauto,users,exec 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0
/dev/floppy /mnt/floppy vfat,ext2,hfsplus noauto,users,dev 0 0
#: cat /etc/raidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 32
persistent-superblock 1
device /dev/hda3
raid-disk 0
device /dev/hdb3
raid-disk 1
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 32
persistent-superblock 1
device /dev/hda2
raid-disk 0
device /dev/hdb2
raid-disk 1
#: dmesg (the raid part):
md: could not lock hda2.
md: could not import hda2!
md: autostart unknown-block(0,770) failed!
md: invalid raid superblock magic on hdb2
md: hdb2 has invalid sb, not importing!
md: could not import hdb2!
md: autostart unknown-block(0,834) failed!
md: could not lock hda2.
md: error, md_import_device() returned -16
md: array md1 already initialised!
end_request: I/O error, dev fd0, sector 0
#: mkraid /dev/md1
handling MD device /dev/md1
analyzing super-block
disk 0: /dev/hda2, 38082051kB, raid superblock at 38081984kB
disk 1: /dev/hdb2, 38082051kB, raid superblock at 38081984kB
mkraid: aborted.
(In addition to the above messages, see the syslog and /proc/mdstat as well
for potential clues.)
#: cat /proc/mdstat
Personalities : [raid1]
md1 : inactive
md0 : active raid1 hdb3[1] hda3[0]
505920 blocks [2/2] [UU]
unused devices: <none>
#: cat /var/log/syslog
Dec 16 04:23:50 mepis1 kernel: md: could not lock hda2.
Dec 16 04:23:50 mepis1 kernel: md: could not import hda2!
Dec 16 04:23:50 mepis1 kernel: md: autostart unknown-block(0,770) failed!
Dec 16 04:23:50 mepis1 kernel: md: invalid raid superblock magic on hdb2
Dec 16 04:23:50 mepis1 kernel: md: hdb2 has invalid sb, not importing!
Dec 16 04:23:50 mepis1 kernel: md: could not import hdb2!
Dec 16 04:23:50 mepis1 kernel: md: autostart unknown-block(0,834) failed!
Dec 16 04:24:02 mepis1 kernel: md: array md1 already initialised!
Not sure what other files or info would be helpful.
On Wed, 8 Dec 2004 21:50:34 -0500, Brian Stanaland
<brian.stanaland at gmail.com> wrote:
> Anyone know how to create a RAID mirror setup during a Debian (Mepis)
> install? There's no RAID controller or anything, just the two drives.
> I know how to do it during a Red Hat install, but I'd like to build
> this server with Debian.
>
> Thanks,
>
> Brian
>
>
> --
>
> "Anyone who has the power to make
> you believe absurdities has the power
> to make you commit atrocities."
>
> -- Voltaire
>
--
"Anyone who has the power to make
you believe absurdities has the power
to make you commit atrocities."
-- Voltaire
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00363" href="msg00363.html">[ale] Make RAID 1 during install</a></strong>
<ul><li><em>From:</em> brian.stanaland at gmail.com (Brian Stanaland)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00562.html">To: Jerry Yu... Re: [ale] 2 Perl questions ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00564.html">[ale] OT: Apex PD650 Black Screen</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00363.html">[ale] Make RAID 1 during install</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00414.html">[ale] Make RAID 1 during install</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00563"><strong>Date</strong></a></li>
<li><a href="threads.html#00563"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>