Greetings,
I'm trying to get Lustre 1.8.1.1 working, but have been running into nothing but trouble.
Long story short, i'm trying to mount the OST on the OSS, but i keep getting this error:
[root@oss ~]# mount -t lustre /dev/lustre/OST /lustre/OSS
mount.lustre: mount /dev/lustre/OST at /lustre/OSS failed: Input/output error
Is the MGS running?
What i don't understand is, the MGS is running as far as i know. I followed this guide
http://manual.lustre.org/manual/LustreManual16_HTML/ConfiguringLustreExamples.html. After that didn't work, i tried this guide
http://unixfoo.blogspot.com/2009/11/lustre-cluster-filesystem-quick-setup.html, and that didn't work either. I have the MDS and MGS on the same system.
In the below walk-through of what i've done from start to finish, it is clear that i mounted the MGS partition, which, if i understand lustre correctly, should start the MGS service, yet the OSS complains with an I/O error.
I've been struggling with this for some time, and am near giving up. Any help will be greatly appreciated.
Thanks,
Dusty
------------ here is what i typed in on the mds server (and its output). -------------
[root@mds ~]# nano /etc/modprobe.conf
[root@mds ~]# pvcreate /dev/hdb1
Physical volume "/dev/hdb1" successfully created
[root@mds ~]# vgcreate lustre /dev/hdb1
Volume group "lustre" successfully created
[root@mds ~]# lvcreate -L 19G -n MGS lustre
Logical volume "MGS" created
[root@mds ~]# mkfs.lustre --mgs /dev/lustre/MGS
Permanent disk data:
Target: MGS
Index: unassigned
Lustre FS: lustre
Mount type: ldiskfs
Flags: 0x74
(MGS needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters:
checking for existing Lustre data: not found
device size = 19456MB
2 6 18
formatting backing filesystem ldiskfs on /dev/lustre/MGS
target name MGS
4k blocks 0
options -J size=400 -q -O dir_index,extents,uninit_groups -F
mkfs_cmd = mke2fs -j -b 4096 -L MGS -J size=400 -q -O dir_index,extents,uninit_groups -F /dev/lustre/MGS
Writing CONFIGS/mountdata
[root@mds ~]# mount -t lustre /dev/lustre/MGS /lustre/MGS/
[root@mds ~]# lvcreate -L 18G -n MDT lustre
Logical volume "MDT" created
[root@mds ~]# mkfs.lustre --fsname=datafs --mdt --reformat --mgsnode=192.168.0.2@tcp0 /dev/lustre/MDT
Permanent disk data:
Target: datafs-MDTffff
Index: unassigned
Lustre FS: datafs
Mount type: ldiskfs
Flags: 0x71
(MDT needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mgsnode=192.168.0.2@tcp mdt.group_upcall=/usr/sbin/l_getgroups
device size = 18432MB
2 6 18
formatting backing filesystem ldiskfs on /dev/lustre/MDT
target name datafs-MDTffff
4k blocks 0
options -J size=400 -i 4096 -I 512 -q -O dir_index,extents,uninit_groups -F
mkfs_cmd = mke2fs -j -b 4096 -L datafs-MDTffff -J size=400 -i 4096 -I 512 -q -O dir_index,extents,uninit_groups -F /dev/lustre/MDT
Writing CONFIGS/mountdata
[root@mds ~]# mkdir /lustre/MDT
[root@mds ~]# mount -t lustre /dev/lustre/MDT /lustre/MDT
------------ Here is exactly what i typed in on the OSS server, as well as what was output. -------------------
[root@oss ~]# pvcreate /dev/hdc1
Physical volume "/dev/hdc1" successfully created
[root@oss ~]# vgcreate lustre /dev/hdc1
/dev/hdb: open failed: No medium found
Volume group "lustre" successfully created
[root@oss ~]# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 74.41G 0
lustre 1 0 0 wz--n- 37.27G 37.27G
[root@oss ~]# lvcreate -n OST -L 37GB lustre
Logical volume "OST" created
[root@oss ~]# mkfs.lustre --fsname=datafs --ost --mgsnode=192.168.0.2@tcp0 /dev/lustre/OST
Permanent disk data:
Target: datafs-OSTffff
Index: unassigned
Lustre FS: datafs
Mount type: ldiskfs
Flags: 0x72
(OST needs_index first_time update )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=192.168.0.2@tcp
checking for existing Lustre data: not found
device size = 37888MB
2 6 18
formatting backing filesystem ldiskfs on /dev/lustre/OST
target name datafs-OSTffff
4k blocks 0
options -J size=400 -i 16384 -I 256 -q -O dir_index,extents,uninit_groups -F
mkfs_cmd = mke2fs -j -b 4096 -L datafs-OSTffff -J size=400 -i 16384 -I 256 -q -O dir_index,extents,uninit_groups -F /dev/lustre/OST
Writing CONFIGS/mountdata
[root@oss ~]# mkdir -p /lustre/OSS
[root@oss ~]# mount -t lustre /dev/lustre/OST /lustre/OSS
mount.lustre: mount /dev/lustre/OST at /lustre/OSS failed: Input/output error
Is the MGS running?
--
The graduate with a Science degree asks, "Why does it work?" The graduate with an Engineering degree asks, "How does it work?" The graduate with an Accounting degree asks, "How much will it cost?" The graduate with an Arts degree asks, "Do you want fries with that?"