查看/var/log/messages日志,发现出现OST0001等待OST0002分配序列号的报错
Jul 26 01:36:20 mds001 kernel: perf: interrupt took too long (11438 > 11333), lowering kernel.perf_event_max_sample_rate to 17000
Jul 26 01:36:46 mds001 kernel: Lustre: srv-global-OST0001: Waiting to contact MDT0000 to allocate super-sequence
Jul 26 01:36:46 mds001 kernel: Lustre: Skipped 20 previous similar messages
Jul 26 01:38:52 mds001 systemd-logind: Removed session 2.
Jul 26 01:39:20 mds001 kernel: LustreError: 31723:0:(lmv_obd.c:509:lmv_check_connect()) global-clilmv-ffff8d8b5c2f5000: no target configured for index 0.
Jul 26 01:39:20 mds001 kernel: LustreError: 31723:0:(llite_lib.c:287:client_common_fill_super()) cannot connect to global-clilmv-ffff8d8b5c2f5000: rc = -22
Jul 26 01:39:20 mds001 kernel: LustreError: 31723:0:(lov_obd.c:839:lov_cleanup()) global-clilov-ffff8d8b5c2f5000: lov tgt 1 not cleaned! deathrow=0, lovrc=1
Jul 26 01:39:20 mds001 kernel: Lustre: Unmounted global-client
Jul 26 01:39:20 mds001 kernel: LustreError: 31723:0:(obd_mount.c:1608:lustre_fill_super()) Unable to mount (-22)
Jul 26 01:39:26 mds001 systemd-logind: Removed session 3.
修改lustre格式化硬盘时,OST或者MDT的index参数值,让它从0开始
mkfs.lustre --fsname global --mdt --index=0 --mgsnode=192.168.10.21@tcp --mgsnode=192.168.10.22@tcp --reformat /dev/sdc