- 论坛徽章:
- 0
|
各位专家:
我们的测试环境:
1台虚拟机(1GB内存,40GB硬盘,以太网,Rocks 5.0 ,kernel: 2.6.18-53.1.14.el5):MGS(MDT)
1台虚拟机(1GB内存,80GB硬盘,以太网,Rocks 5.0 ,kernel: 2.6.18-53.1.14.el5):OSS(OST)
安装的lustre版本:
lustre 1.6.5
安装步骤:
MGS:rpm -ivh --nodeps e2fsprogs-1.40.7.sun3-0redhat.x86_64
rpm –ivh kernel-lustre-smp-2.6.18-53.1.14.el5_lustre.1.6.5.x86_64.rpm
rpm –ivh lustre-1.6.5-2.6.18_53.1.14.el5_lustre.1.6.5smp.x86_64.rpm
rpm –ivh lustre-modules-1.6.5-2.6.18_53.1.14.el5_lustre.1.6.5smp.x86_64.rpm
rpm –ivh lustre-ldiskfs-3.0.4-2.6.18_53.1.14.el5_lustre.1.6.5smp.x86_64.rpm
OSS:rpm -ivh --nodeps e2fsprogs-1.40.7.sun3-0redhat.x86_64
rpm –ivh kernel-lustre-smp-2.6.18-53.1.14.el5_lustre.1.6.5.x86_64.rpm
rpm –ivh lustre-1.6.5-2.6.18_53.1.14.el5_lustre.1.6.5smp.x86_64.rpm
rpm –ivh lustre-modules-1.6.5-2.6.18_53.1.14.el5_lustre.1.6.5smp.x86_64.rpm
rpm –ivh lustre-ldiskfs-3.0.4-2.6.18_53.1.14.el5_lustre.1.6.5smp.x86_64.rpm
(在安装e2fsprogs时提示了很多文件冲突,诸如:file /lib64/libblkid.so.1.0 from install of e2fsprogs-1.40.7.sun3-0redhat conflicts with file from package e2fsprogs-libs-1.39-10.el5_1.1)
配置过程:
1、在MGS,OSS上,向 /etc/modprobe.conf中添加 “options lnet networks=tcp”
2、确认 grub.conf中的启动内核为:CentOS (2.6.18-53.1.14.el5_lustre.1.6.5smp)
3、在MGS上运行 mkfs.lustre --fsname testfs --mdt --mgs /dev/sda6 回显如下:
[root@mds 1.6.5_rpm]# mkfs.lustre --fsname testfs --mdt --mgs /dev/sda6
Permanent disk data:
Target: testfs-MDTffff
Index: unassigned
Lustre FS: testfs
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 = 9083MB
WARNING: The e2fsprogs package currently installed on your system does not suppo
rt "uninit_groups" feature.
Please install the latest version of e2fsprogs from http://www.clusterfs.com/dow
nloads/public/Lustre/Tools/e2fsprogs/
to enable this feature.
Feature will not be enabled until e2fsprogs is updated and 'tune2fs -O uninit_gr
oups %{device}' is run.
2 6 18
formatting backing filesystem ldiskfs on /dev/sda6
target name testfs-MDTffff
4k blocks 0
options -J size=360 -i 4096 -I 512 -q -O dir_index -F
mkfs_cmd = mkfs.ext2 -j -b 4096 -L testfs-MDTffff -J size=360 -i 4096 -I 512 -q
-O dir_index -F /dev/sda6
mkfs.lustre: Unable to mount /dev/sda6: No such device ### /dev/sda6 是专门为MDT留的空闲分区
Is the ldiskfs module available?
mkfs.lustre FATAL: failed to write local files
mkfs.lustre: exiting with 19 (No such device)
运行 modprobe ldiskfs,提示“FATAL: Module ldiskfs not found.”
运行 depmod -a 后再运行modprobe ldiskfs,提示仍然是:FATAL: Module ldiskfs not found。
我在安装ldiskfs rpm的时候没有任何报错,为什么装不上呢?
请各位帮忙想想办法,万分感谢!!!! |
|