hi joe...
it dont matter if its hw or sw raid...
the raid1 failure detector will have to create a failure
or detect a failure...
- you probably do NOT want to do this on a live system
till its allworked out...
- lets say you have /dev/md10 mounted as /mnt/TestRAID
w/ /dev/hda10 and /dev/hdb10 - master and slave disk
test_script.pl
- create test file of anything to test..
- larger 1Gb files are better tests...
- use small files for "test script debugging"
- copy test file to /mnt/TestRAID
- it should now be mirrored...
- turn off /dev/hda or /dev/hdb ( hdparm )
or turn off with power cord pulled out
- compare test file against the remaining disk
- your file should still be okay on the mirror
- if both disks are used to make 2 copies...
- we're in trouble
- as opposed to a file sitting on only one disk..
- if it your compare script compares...
- your mirroring is working...
- if your test fails to compare...
- either your script is bad
- or mirroring is bad...
- repeat till the "compare script" works
and can detect the failed "mirroring"
have fun raiding...
alvin
On Fri, 9 Mar 2001, Joe Janitor wrote:
> How could I accomplish that? Are you talking about
> software RAID or hardware RAID. I'm using a hardware
> RAID controller, and as far as I can tell, the OS
> really thinks there is just one drive.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]