[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: / on raid1



hi ya karoly

since hda1 is NOT in your /dev/md0 ... you're stuck...

	--  once it all works... use /dev/hda  and /dev/hdc instead
	
	-- remove all the extra (disk info) jibberish in your lilo.conf
   	and raidtab

but ... first, try building your raid manually...
	mdadd /dev/md1 /dev/hda1 /dev/hdb1

- or -
	mdctl --assemble --force /dev/md1 /dev/hda1 /dev/hdb1

	mke2fs /dev/md1
	lilo
	reboot
	- disconnect one of the disk... reboot...
	- resync when it comes up
	reboot with the other disk disconnected
	- resync when it comes up
	connect back to normal..

> ~ # raidsetfaulty /dev/md1 /dev/hda1
> ~ # raidhotremove /dev/md1 /dev/hda1
> /dev/md1: can not hot-remove disk: disk not in array!

oh well..

> the lilo.conf.raid what i would like to use, looks like:
> 

Fix it like so

> ~ # cat /etc/lilo.conf.raid

   # lilo.conf.hda - primary ide master
	boot=/dev/md0

         map=/boot/map
         install=/boot/boot.b

	prompt
	timeout=50
	lba32

	image=/boot/2418-charlie
	   root=/dev/md0
	   read-only
	   # init=initrd.gz 
	   label=raid


have fun
alvin


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: