Chinaunix

标题: lustre安装出错,请高手指点一下 [打印本页]

作者: 2004123201    时间: 2011-08-25 11:52
标题: lustre安装出错,请高手指点一下
想要创建ost
root@mds1 ~]# mkfs.lustre --fsname=testname --ost --mgsnode=mds1@tcp0 /dev/sda6

   Permanent disk data:
Target:     testname-OSTffff
Index:      unassigned
Lustre FS:  testname
Mount type: ldiskfs
Flags:      0x72
              (OST needs_index first_time update )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=10.53.11.221@tcp

checking for existing Lustre data: not found
device size = 156884MB
WARNING: The e2fsprogs package currently installed on your system does not support "uninit_bg" feature.
Please install the latest version of e2fsprogs from
http://downloads.whamcloud.com/public/e2fsprogs/latest/
to enable this feature.
Feature will not be enabled until e2fsprogsis updated and 'tune2fs -O uninit_bg %{device}' is run.

2 6 18
formatting backing filesystem ldiskfs on /dev/sda6
        target name  testname-OSTffff
        4k blocks     40162492
        options        -J size=400 -i 16384 -I 256 -q -O dir_index,extents -F
mkfs_cmd = mke2fs -j -b 4096 -L testname-OSTffff  -J size=400 -i 16384 -I 256 -q -O dir_index,extents -F /dev/sda6 40162492
   Invalid filesystem option set: dir_index,extents

mkfs.lustre FATAL: Unable to build fs /dev/sda6 (256)

mkfs.lustre FATAL: mkfs failed 256



下面是磁盘信息
fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2550    20482843+  83  Linux
/dev/sda2            2551        7649    40957717+  82  Linux swap / Solaris
/dev/sda3            7650       15000    59046907+  83  Linux
/dev/sda4           15001       60801   367896532+   5  Extended
/dev/sda5           15001       25000    80324968+  83  Linux
/dev/sda6           25001       45000   160649968+  83  Linux
/dev/sda7           45001       60801   126921501   83  Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table



操作系统是centos5.6  lustre版本是1.8.6,请高手指点一下,错在什么地方了
作者: 衍水狂客    时间: 2011-08-25 16:01
最近这个文件系统应用很多啊
作者: R0NALDO    时间: 2011-09-03 15:08
LZ 解决了没,我也遇到这种情了,后来加了--reformat就OK了
作者: lvxvv    时间: 2012-01-29 09:55
e2fsprogs包版本低,更新一下试试,rpm -Uvh e2fsprogs-***
作者: fsdev    时间: 2012-07-11 23:36
回复 4# lvxvv

正解。
   




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2