[lug] pleas help raid1

Faster-Laster jason at fasterlaster.com
Thu Oct 4 13:03:32 MDT 2001


On Thu, Oct 04, 2001 at 12:39:11PM -0600, Jason Davis wrote:
> im using software raid and i dont know what md is..sorry anyway ..so when 

md is what software raid calls the sets 
yyz:~$ cat /proc/mdstat

Personalities : [raid1] [raid5] 
read_ahead 1024 sectors
md0 : active raid1 sdb1[0] sda1[1]
      21376 blocks [2/2] [UU]
      
md1 : active raid5 sdf2[4] sde2[3] sdd2[2] sdc2[1] sdb2[0] sda2[5]
      1924480 blocks level 5, 128k chunk, algorithm 2 [6/6] [UUUUUU]
      
md2 : active raid5 sdf5[4] sde5[3] sdd5[2] sdc5[1] sdb5[0] sda5[5]
      1412480 blocks level 5, 128k chunk, algorithm 2 [6/6] [UUUUUU]
      
md3 : active raid5 sdf6[4] sde6[3] sdd6[2] sdc6[1] sdb6[0] sda6[5]
      2948480 blocks level 5, 128k chunk, algorithm 2 [6/6] [UUUUUU]
      
md4 : active raid5 sdf7[4] sde7[3] sdd7[2] sdc7[1] sdb7[0] sda7[5]
      2948480 blocks level 5, 128k chunk, algorithm 2 [6/6] [UUUUUU]
      
md5 : active raid5 sdf8[4] sde8[3] sdd8[2] sdc8[1] sdb8[0] sda8[5]
      900480 blocks level 5, 128k chunk, algorithm 2 [6/6] [UUUUUU]
      
unused devices: <none>


> hdc is primary master (after simulated failure) how to i edit lilo to write 
> the mbr to it ...or what ever i need to do to make it bootable...then to 
one way (but will require you to do this everytime you change the
kernel)
put the #2 disk in as hda & run lilo, bingo.

> re-apply my mirriored disk (formarley hda) do i just plug it in as secondary 
> master? or is ther more i need to do? cause when i tried this (booting the 
> mbrless hdc with floppy) during the startup i got the responce that there 
> was no spare disk to rebuil on and i was then droped out to a semi-shell 
> with few command available. i was asked to fix the disk and can not boot 
> until i do. i however can still boot with only one drive in just not with 
> both...can anyone help??
what did you set as the root device? it probably should be set as one of
the /dev/md* devices.
> thanks
> jd
check out the software raid how-to at linuxdoc.org. for a much better
description of these things.

-- 
+----------------------------------------------------------------------+
| Microsoft does write "free" software.  Not free as in "free beer" or |
| "free speech", but "Free Tibet". -- Milan Svoboda in linux at linux.cz  |
+------------------------------------------------------------zoom------+
| Faster-Laster                                 jason at fasterlaster.com |
+----------------------------------------------------------------------+



More information about the LUG mailing list