Thread (2 messages) flat view 2 messages, 2 authors, 2002-05-21

RE: Software RAID Stopped Working With Aurora Kernel

From: Neil Brown <hidden>
Date: 2002-05-21 20:46:42

On Tuesday May 21, kc130iseo@coastalnet.com wrote:
1. Is there anything I need to change in "/etc/raidtab"?
	- Should it match the actual configuration?
raidtab is only really used by mkraid.
raidstart uses it to find one drive in the array, and ignores the rest
of raidtab.  Given that one drive, it reads the superblock to find
other drives.  You shouldn't need to change raidtab.
	- Differences between raidtools 0.90-6 and 1.00.2-1.3
Don't know.  Not much I think.
2. Will the "Version" number in the superblock automatically be updated when
I start the RAID?
No, the version of the superblock is still 0.90.0.  This number
describes the format.
==================
Things to do next:
==================

## Update the superblock:

mdadm --examine --sparc2.2update /dev/sda1

## Re-check after updating:

mdadm --examine --sparc2.2 /dev/sda1
This should show (different) garbage.
After you have updated, your superblock no longer has the
sparc-on-2.2 breakage, and
   mdadm --examine /dev/sda1
should show the correct superblock.
## Assemble the array (use raid device order):
## Only assemble active devices, not spare.

mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdf1 /dev/sdd1 /dev/sde1

## Start the RAID

raidstart /dev/md0
No, you don't need to do this. "mdadm --assemble" assembles the raid
and starts it..  
## Verify that raid is running

cat /proc/mdstat

## Verify that data is intact
NeilBrown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help