免费注册 查看新帖 |

Chinaunix

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

[Lustre] lustre+iscsi 格式化的时候出错,大家帮看下! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-25 17:00 |只看该作者 |倒序浏览
/dev/sdb是通过iscsi挂在过来的!直接mkfs.ext2然后挂在可以正常使用,但是如果用lustre格式化,就无法格式化成功?
请高手帮忙!


[root@localhost ~]# fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3824    30716248+  83  Linux
/dev/sda2           38404       38913     4096575   82  Linux swap / Solaris
/dev/sda3            3825       38403   277755817+  83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 284.4 GB, 284421957120 bytes
255 heads, 63 sectors/track, 34579 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       34579   277755786   83  Linux
[root@localhost ~]# mkfs.lustre --fsname=ptfs --mdt --mgs /dev/sdb1

   Permanent disk data:
Target:     ptfs-MDTffff
Index:      unassigned
Lustre FS:  ptfs
Mount type: ldiskfs
Flags:      0x75
              (MDT MGS needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mdt.group_upcall=/usr/sbin/l_getgroups

checking for existing Lustre data: not found
device size = 271245MB
2 6 18
formatting backing filesystem ldiskfs on /dev/sdb1
        target name  ptfs-MDTffff
        4k blocks     0
        options        -J size=400 -i 4096 -I 512 -q -O dir_index,uninit_groups -F
mkfs_cmd = mkfs.ext2 -j -b 4096 -L ptfs-MDTffff  -J size=400 -i 4096 -I 512 -q -O dir_index,uninit_groups -F /dev/sdb1
mkfs.lustre: Unable to mount /dev/sdb1: No such device
Is the ldiskfs module available?

mkfs.lustre FATAL: failed to write local files
mkfs.lustre: exiting with 19 (No such device)
[root@localhost ~]#

论坛徽章:
0
2 [报告]
发表于 2009-11-25 22:12 |只看该作者
这种方式使用Lustre性能太慢了吧

论坛徽章:
0
3 [报告]
发表于 2009-12-08 10:50 |只看该作者
我是想用这个方法来测试一下lustre 的failover功能!

论坛徽章:
0
4 [报告]
发表于 2011-12-06 17:15 |只看该作者
你得ldisk模块没有加载,或者没有安装
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP