LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1039|回复: 2

RAID1 on RAID0?

[复制链接]
发表于 2005-10-22 21:27:51 | 显示全部楼层 |阅读模式
This is a problem about RAID0+1. I build 2 raid0: md2(sda3,sdb3), md3(sdc3,sdd3), then build a raid1 on raid0: md4(md2,md3).

Now it can work, and I can "mke2fs -j /dev/md4" and copy files to it. But now I found a problem by doing this:


  1. # mount -t ext3 /dev/md4 /mnt
  2. # cd /mnt
  3. # cp /var -a ./VAR.TEST
  4. # dd if=/dev/zero of=./raid1on0.md4 bs=1M count=100
  5. # cd ..
  6. [b]# mke2fs -j /dev/md2 [/b]
复制代码


NOW some files in /mnt become invalide. one time be some files and the next time may be some other files.

Could I do RAID0+1? or I have done something wrong?

How can I test the raid by "destroy"?

What about the real conditions while a hard disk is broken? How can I know a disk was broken?

Thanks.
发表于 2005-10-25 10:34:26 | 显示全部楼层
Maybe you can change the raid level to 1+0
first 1
second 0?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-26 10:09:43 | 显示全部楼层
要是先做1再做0就没有任何意义了,因为那样是不会提供任何冗余的。:=)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表