RAID not starting correctly....

steve.stamper at foremost.com steve.stamper at foremost.com
Tue Nov 15 16:26:26 UTC 2005





RHEL3;

When I install RAID (DiskDruid) I can build a raid and it automatically
mounts correctly after reboot.  When I try and manually build a raid, it
will not mount until I run  raidstart --all .  Below are my /etc/raidtab
and /etc/fstab entries that are not mounting correctly.  Where can I start
looking?

[Yes I know I have both drives on one physical disk - this is just
practicing for our production system]


=== /etc/raidtab =======================
raiddev /dev/md0
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                64
    device                    /dev/hda5
    raid-disk                 0
    device                    /dev/hda6
    raid-disk                 1
=======================================


=== /etc/fstab <SNIP> =================
...
/dev/md0               /mnt/raid               ext3    defaults        1 2
...
=======================================


=== e2label output ====================
# e2label /dev/md0
/dev/md0
#
=======================================


=== /etc/fstab <SNIPs> ================
...
Nov 15 07:55:50 tuxnms2 kernel: md: md driver 0.90.0 MAX_MD_DEVS=256,
MD_SB_DISKS=27
Nov 15 07:55:50 tuxnms2 kernel: md: Autodetecting RAID arrays.
Nov 15 07:55:50 tuxnms2 autofs: automount startup succeeded
Nov 15 07:55:50 tuxnms2 kernel: md: autorun ...
Nov 15 07:55:50 tuxnms2 kernel: md: ... autorun DONE.
...
Nov 15 09:13:58 tuxnms2 kernel: md0: WARNING: hda6 appears to be on the
same physical disk as hda5. True
Nov 15 09:13:58 tuxnms2 kernel:      protection against single-disk failure
might be compromised.
Nov 15 09:13:58 tuxnms2 kernel: md: bind<hda6,2>
Nov 15 09:13:58 tuxnms2 kernel: md: running: <hda6><hda5>
Nov 15 09:13:58 tuxnms2 kernel: md: hda6's event counter: 00000014
Nov 15 09:13:58 tuxnms2 kernel: md: hda5's event counter: 00000014
Nov 15 09:13:58 tuxnms2 kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-2, errno = 2
Nov 15 09:13:58 tuxnms2 kernel: md: personality 2 is not loaded!
Nov 15 09:13:58 tuxnms2 kernel: md :do_md_run() returned -22
Nov 15 09:13:58 tuxnms2 kernel: md: md0 stopped.
Nov 15 09:13:58 tuxnms2 kernel: md: unbind<hda6,1>
Nov 15 09:13:58 tuxnms2 kernel: md: export_rdev(hda6)
Nov 15 09:13:58 tuxnms2 kernel: md: unbind<hda5,0>
Nov 15 09:13:58 tuxnms2 kernel: md: export_rdev(hda5)
Nov 15 09:13:58 tuxnms2 kernel: md: ... autorun DONE.
...

=======================================




More information about the redhat-list mailing list