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

Re: / on raid1



hi ya

i dont quite understand the problem... besides the typo like /dev/rooot

if you are looking to "see"  /dev/hda2  and /dev/hdb2
separately....
	- you wont ... its been raided together
	

if you are trying to hotadd ...  you need to hotremove it first...
and might even need to hotsetfaulty first ...
	- after the hotadd does work.. than yo can watch it resync
	( cat /proc/mdstat )

===  and make sure the partition type on /dev/hda1  is fd type
	since it's not part of /dev/md1 yet

--- make sure the disk itself is good	
	assuming you dont care about data on /dev/md1 
	-- boot in standalone mode...
	-- mke2fs /dev/hda1
	-- mount /dev/hda1 /mnt/test
	-- copy xxMB of junk to /mnt/test  and compare to the original

	now go go back and manually rebuild /dev/md1
	-- mdadd /dev/md1 /dev/hda1 /dev/hdb1
	-- mke2fs /dev/md1
	...

have fun
alvin
http://www.Linux-1U.net 


On Thu, 16 May 2002, Karoly VEGH wrote:

> 
> Hi,
> 
> I have two disks (same size, same partitions) in raid1, but to the / fs i
> cannot add both hda's:
> 
..

> ~ # cat /proc/mdstat
> Personalities : [raid1]
> read_ahead 1024 sectors
> md1 : active raid1 hdb1[0]
>       4200896 blocks [2/1] [U_]

the problem ???  -- missing hda1




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



Reply to: