[Grml] Request for contribution: SW-RAID

Michael Prokop mika at grml.org
Fri Feb 17 14:31:11 CET 2006


Hoi!

We are working on improving software (SW) RAID support within grml
and would appreciate your help and opion about it. Please contribute!

As you maybe know, partitions of type 0xfd (Linux raid autodetect)
are scanned and automatically assembled into RAID arrays by the
kernel.  We noticed a strange behaviour on automatic assembling
(nothing serious but a little bit confusing) and try to figure out
what's the reason for it.

First of all some questions to the ones of you using SW-RAID:

* If you boot grml on a box using SW-RAID: do you expect to get a
  running SW-RAID setup (using the /dev/md? devices) or do you
  prefer to set it up and start on your own (so neither grml nor
  kernel touches it)?

* Say you have /dev/hda1 and /dev/hdb1 as part of SW-RAID /dev/md0.
  Do you expect to get entries for /dev/hda1, /dev/hdb1 and /dev/md0
  in your /etc/fstab? Which entries do you expect to get?

Next step: If you have a SW-RAID setup and can boot grml on the box
please try to contribute via running the following steps and save
output of all commands in a file. Send the file via mail to me. This
would help us in debugging a lot!

#############################################################################
Boot grml and check, whether the SW-RAID is running [via 'cat /proc/mdstat'].

If yes (SW-RAID is running automatically after booting grml):

# cat /proc/mdstat
# mdadm --detail /dev/md?
# fdisk -l /dev/md? /dev/hd? /dev/sd? # run this for all your raid-devices and harddisk partitions
# cat /etc/fstab

If no (SW-RAID is not running automatically after booting grml):

# cat /etc/fstab
# mdrun
# rebuildfstab -r -u grml -g grml
# cat /etc/fstab

Is the SW-RAID running now? If yes please start again at the beginning.
#############################################################################

And finally: please join the #grml channel on irc.freenode.org if
you have any feedback regarding SW-RAID so we can talk to you.
If you want to reply via mail please send it either to me or to
grml at mur.at (as suggested via Reply-To:).

thx && regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20060217/356ee76e/attachment-0003.pgp>


More information about the Grml mailing list