标签:raid1 创建
实验环境
操作
同样,对/dev/sdc进行两样的操作
简历RAID1
创建文件系统
格式化该磁盘阵列
在最后添加如下内容
/dev/md0 /data ext4 defaults 0 0
将30G删除, 只保留RAID1中另外一个成员。
demsg日志
sd 2:0:1:0: [sdb] Unhandled error code sd 2:0:1:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK sd 2:0:1:0: [sdb] CDB: Write(10): 2a 00 00 00 00 47 00 00 01 00 md: super_written gets error=-5, uptodate=0 md/raid1:md0: Disk failure on sdb1, disabling device. md/raid1:md0: Operation continuing on 1 devices. RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:1, o:0, dev:sdb1 disk 1, wo:0, o:1, dev:sdc1 RAID1 conf printout: --- wd:1 rd:2 disk 1, wo:0, o:1, dev:sdc1
|
日志
sd 2:0:1:0: [sdb] Unhandled error code sd 2:0:1:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK sd 2:0:1:0: [sdb] CDB: Write(10): 2a 00 00 00 00 47 00 00 01 00 md: super_written gets error=-5, uptodate=0 md/raid1:md0: Disk failure on sdb1, disabling device. md/raid1:md0: Operation continuing on 1 devices. |
模拟恢复,还是30GB的硬盘,添加新的磁盘文件将30GB
在线加入新组成单元
md: bind<sdb1> md: recovery of RAID array md0 md: minimum _guaranteed_ speed: 1000 KB/sec/disk. md: using maximum available idle IO bandwidth (but not more than 200000KB/sec) for recovery. md: using 128k window, over a total of 31438720k. md: md0: recovery done.. |
标签:raid1 创建
原文地址:http://yangmei.blog.51cto.com/9273913/1540302