免费注册 查看新帖 |

Chinaunix

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

[Lustre] [b]请nntp现身!!关于lustre问题[/b] [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-06 10:22 |只看该作者 |倒序浏览
我正在做lustre的试验,用的是1.0.4的版本,
我的内核是2.4.20-28.9_lustre.1.0.4smp
我的拓扑是一个OST(n01)(OSS),一个MDS(n03),一个CLIENT(n04)
我想在已有OST的OSS上再加入一个ost(n02)(oss),还要保留原来在oss上保存的数据,
当我在MDS上执行lconf --write_conf newconfig.xml让MDS从新读取新的oss的信息,然后继续启动MDS,却出现如下错误:
MDSDEV: n03-mds1 n03-mds1_UUID /dev/sda1 ext3 200000 no
Lustre:2195 (fsfilt_ext3.c:815:fsfilt_ext3_setup () ) Enable PDIROPS
LustreError:2195obd_config.c:101:class_attach ()) obd OSC_n03_n01-ost1_n03-mds 1 already attached
LustreError:2197obd_config.c:285:class_cleanup ()) Device 1 not setup ! /usr/sbin/lctl (17):error:setup: File exists
这是为什么?我要是用lconf --reformat --node n03 newconfig.xml就可以启动mds,client也可挂载,挂在分区的容量已经变为两个ost容量的合计了,但是这样就无法保存我原来在/mnt/lustre/中的数据了
那位朋友做过lustre的,请帮帮我,我的qq24242546
以下是我的newconfig.sh脚本内容:
#!/bin/sh

#config.sh

#Create nodes
rm -f newconfig.xml
lmc -m newconfig.xml --add net --node n03 --nid n03 --nettype tcp
lmc -m newconfig.xml --add net --node n01 --nid n01 --nettype tcp
lmc -m newconfig.xml --add net --node n02 --nid n02 --nettype tcp
lmc -m newconfig.xml --add net --node client --nid '*' --nettype tcp

#Configure mds
lmc -m newconfig.xml --add mds --node n03 --mds n03-mds1 --fstype ext3 --dev /dev/sda1 --size 200000

#Configure ost
lmc -m newconfig.xml --add lov --lov lov1 --mds n03-mds1 --stripe_sz 1048576 --stripe_cnt 0 --stripe_pattern 0
lmc -m newconfig.xml --add ost --node n01 --lov lov1 --ost n01-ost1 --fstype ext3 --dev /dev/sda1 --size 1000000
lmc -m newconfig.xml --add ost --node n02 --lov lov1 --ost n02-ost1 --fstype ext3 --dev /dev/sda1 --size 1000000

#Configure client
lmc -m newconfig.xml --add mtpt --node client --path /mnt/lustre --mds n03-mds1 --lov lov1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP