免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2532 | 回复: 11
打印 上一主题 下一主题

求助:软raid5 和 新增硬盘的问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-10 13:27 |只看该作者 |倒序浏览
我的系统是fedora1
有3个硬盘 使用软raid5
现在需要新增硬盘,应该做什么操作?
还能加入到raid5中吗? 谢谢

具体数据如下

fdisk -l

Disk /dev/sda: 18.2 GB, 18210036736 bytes
255 heads, 63 sectors/track, 2213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        32    257008+  fd  Linux raid autodetect
/dev/sda2            33      2083  16474657+  fd  Linux raid autodetect
/dev/sda3          2084      2213   1044225   fd  Linux raid autodetect

Disk /dev/sdb: 18.2 GB, 18210036736 bytes
255 heads, 63 sectors/track, 2213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1        32    257008+  fd  Linux raid autodetect
/dev/sdb2            33       162   1044225   fd  Linux raid autodetect
/dev/sdb3           163      2213  16474657+  fd  Linux raid autodetect

Disk /dev/sdc: 18.2 GB, 18210036736 bytes
255 heads, 63 sectors/track, 2213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdc1   *         1        32    257008+  fd  Linux raid autodetect
/dev/sdc2            33       162   1044225   fd  Linux raid autodetect
/dev/sdc3           163      2213  16474657+  fd  Linux raid autodetect

论坛徽章:
0
2 [报告]
发表于 2006-04-10 15:46 |只看该作者
另外问题:
如果加入新的sdd,是不是会自动作为备份?
如果新的硬盘容量和原硬盘不一样怎么办?
必须导出数据重新作raid5 ,然后再导入吗?
mdstat

Personalities : [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid1 sdc1[2] sdb1[1] sda1[0]
      256896 blocks [2/2] [UU]

md1 : active raid5 sdc2[2] sdb2[1] sda3[0]
      2088320 blocks level 5, 64k chunk, algorithm 0 [3/3] [UUU]

md2 : active raid5 sdc3[2] sdb3[1] sda2[0]
      32949120 blocks level 5, 64k chunk, algorithm 0 [3/3] [UUU]

论坛徽章:
0
3 [报告]
发表于 2006-04-10 16:46 |只看该作者
我的主要目的就是
oracle 数据空间需要扩展,所以想加入新的硬盘
而原来的3块18G硬盘作了raid5
现在不知道什么方法更简单更可靠(新加的盘也要有raid5)

论坛徽章:
0
4 [报告]
发表于 2006-04-11 10:59 |只看该作者
顶一下,请帮忙 谢谢

论坛徽章:
0
5 [报告]
发表于 2006-04-11 11:08 |只看该作者
不会,但帮你顶

论坛徽章:
0
6 [报告]
发表于 2006-04-11 13:50 |只看该作者
谢谢,还需要在顶
是不是我问的有问题?

论坛徽章:
0
7 [报告]
发表于 2006-04-11 14:23 |只看该作者
为什么不用lvm ?

论坛徽章:
0
8 [报告]
发表于 2006-04-11 14:33 |只看该作者
不懂,帮你顶,因为我也遇到过这个难题,尽管系统不一样

论坛徽章:
0
9 [报告]
发表于 2006-04-11 14:35 |只看该作者
我在安装系统是后尝试过lvm
最后确认lvm不支持 软raid5 方式
或者是在建立系统时候不能同时建立
所以最后放弃了

论坛徽章:
0
10 [报告]
发表于 2006-04-12 10:12 |只看该作者
加油,需要帮助
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP