- 論壇徽章:
- 0
|
各位專家:
我們的測試環(huán)境:
1臺虛擬機(1GB內(nèi)存,40GB硬盤,以太網(wǎng),Rocks 5.0 ,kernel: 2.6.18-53.1.14.el5):MGS(MDT)
1臺虛擬機(1GB內(nèi)存,80GB硬盤,以太網(wǎng),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中的啟動內(nèi)核為: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留的空閑分區(qū)
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的時候沒有任何報錯,為什么裝不上呢?
請各位幫忙想想辦法,萬分感謝。。! |
|