From: Agustinus Tedja <agustinus.tedja@infodesign-osd.de>
To: linux-raid@vger.kernel.org
Subject: RAID-0 Autodetection fails
Date: Wed, 24 Jul 2002 14:22:03 +0200 [thread overview]
Message-ID: <3D3E9BEB.41C0F8CC@infodesign-osd.de> (raw)
Hello everybody,
I am installing Linux SuSE 8.0 with kernel version 2.4.18-4GB. This
kernel should have already contain the Software-RAID module as
advertised by SuSE.
I have 3 equal drives. For simplicity I installed complete Linux only in
a drive hdb(the boot and the root is in this normal drive) and now I am
trying to make a RAID level 0 with the rest 2 drives called hdc and hdd.
I have made these two drives into a RAID-drive called /dev/md0 with
YaST2 help and it was successfully mounted and used.
But each time I rebooted the system, this /dev/md0 could not be
recognized at startup and all data in /dev/md0 was lost as well. I
needed to mount it again afterwards, that made it a silly idea.
What is wrong ? Any hints and helps are gladly welcomed.
Here is the message on boot:
...
<6>md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
<6>md: Autodetecting RAID arrays.
<6> |events: 0000009a]
<6> |events: 0000009a]
<6>md: autorun ...
<6>md: considering hdd1 ...
<6>md: adding hdd1 ...
<6>md: adding hdc1 ...
<6>md: created md0
<6>md: bind<hdc1,1>
<6>md: bind<hdd1,2>
<6>md: running: <hdd1><hdc1>
<6>md: hdd1's event counter: 0000009a
<6>md: hdc1's event counter: 0000009a
<3>request_module[md-personality-2]: Root fs not mounted
<3>md: personality 2 is not loaded!
<4>md: do_md_run() returned -22
<6>md: md0 stopped.
<6>md: unbind<hdd1,1>
<6>md: export_rdev(hdd1)
<6>md: unbind<hdc1,0>
<6>md: export_rdev(hdc1)
<6>md: ... autorun DONE.
...and after some lines below there is other messages:
<3>md: invalid raid superblock magic on hdc
<4>md: hdc has invalid sb, not importing!
<4>md: could not import hdc!
<4>md: autostart hdc failed!
<6>md: Autodetecting RAID arrays.
<6> |events: 0000009a]
<6> |events: 0000009a]
<6>md: autorun ...
<6>md: considering hdd1 ...
<6>md: adding hdd1 ...
<6>md: adding hdc1 ...
<6>md: created md0
<6>md: bind<hdc1,1>
<6>md: bind<hdd1,2>
<6>md: running: <hdd1><hdc1>
<6>md: hdc1's event counter: 0000009a
<6>md: hdd1's event counter: 0000009a
<6>md: raid0 personality readahead registered as nr 2
<6>md0: max total readahead window set to 496k
<6>md0: 2 data-disks, max readahead per data-disk: 248k
<4>raid0: looking at hdc1
<4>raid0: comparing hdc1 (80418112) with hdc1(80418112)
<4>raid0: END
<4>raid0: ==> UNIQUE
<4>raid0: 1 zones
<4>raid0: looking at hdd1
<4>raid0: comparing hdd1 (80418112) with hdc1(80418112)
<4>raid0: EQUAL
<4>raid0: FINAL 1 zones
<4>raid0: zone 0
<4>raid0:
<4>raid0:
<4>raid0:
<4>raid0:
<4>raid0:
<4>raid0:
<4>raid0:
<4>raid0:
<4>raid0:
FYI here I give the content of some important files:
/etc/fstab:
/dev/hdb3 / reiserfs defaults 1 2
/dev/hdb2 /boot reiserfs defaults 1 2
/dev/md0 /dataraid auto noauto, user 0 0
devpts /dev/pts devpts defaults 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
usbdevs /proc/bus/usb usbdevs noauto 0 0
proc /proc proc defaults 0 0
/dev/hdb1 swap swap pri=42 0 0
/etc/raidtab:
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
persistent-superblock 1
chunk-size 32
device /dev/hdc
raid-disk 0
device /dev/hdd
raid-disk 1
/etc/mtab: (not mdtab, inside there is no md0 entry)
/dev/hdb3 / reiserfs rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/hdb2 /boot reiserfs rw 0 0
shmfs /dev/shm shm rw 0 0
usbdevfs /proc/bus/usb usbdevs rw 0 0
next reply other threads:[~2002-07-24 12:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-24 12:22 Agustinus Tedja [this message]
2002-07-29 10:05 ` RAID-0 Autodetection fails Neil Brown
-- strict thread matches above, loose matches on Subject: below --
2002-07-24 12:28 Agustinus Tedja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D3E9BEB.41C0F8CC@infodesign-osd.de \
--to=agustinus.tedja@infodesign-osd.de \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).