[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha
Subject:    Re: Doubts Related to Software RAID
From:       Alan Robertson <alanr () unix ! sh>
Date:       2002-10-31 14:34:29
[Download RAW message or body]

Peter C. Norton wrote:
> On Thu, Oct 31, 2002 at 09:43:48AM +0500, Siddharth.D.P wrote:
> 
>>	so freinds how to show that data written to /dev/md0 is
>>present on both /dev/hda5 and /dev/hdb5.
>>
> 
> If you want to try this, try unmounting /dev/md0, take the system to
> single-user, and mount both partitions read-only.  Even this may not
> be good enough.
> 
> Another way to test it this is to do the following:
> 
> Find space on the system, say on /dev/hdc1 or /dev/hdb1. Mount it in
> /backup-check.
> 
> # umount /dev/md0.
> 
> # dd if=/dev/hda5 of=/backup-check/image-of-hda5 bs=1024k
> # dd if=/dev/hdb5 of=/backup-check/image-of-hdb5 bs=1024k
> # mkdir /mnt/hda5test
> # mkdir /mnt/hdb5test 
> # mount -t ext2 -o loop=/dev/loop0 /backup-check/image-of-hda5 /mnt/hda5test
> # mount -t ext2 -o loop=/dev/loop1 /backup-check/image-of-hdb5 /mnt/hdb5test


By the way Siddharth, the version of Linux you're running is quite old. 
Many improvements have been made in software RAID, etc. since then.

	-- Alan Robertson
  	   alarn@unix.sh


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic