- 论坛徽章:
- 0
|
想要创建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,请高手指点一下,错在什么地方了 |
|