[Lustre-discuss] mkfs.lustre failure on Centos 6.4

Vsevolod Nikonorov v.nikonorov at nikiet.ru
Wed Aug 7 06:13:29 PDT 2013


I've been trying to create a small cluster of virtual machines to get some experience of working with Lustre. I have a dedicated mgs/mds/mdt node running a kernel from 
2.6.32-279.2.1.el6_lustre.1.8.8_x1 Lustre official package. I have installed necessary Lustre rpms (lustre-ldiskfs, lustre-modules, lustre) corresponding that kernel, which along with the kernel were downloaded from 1.8.8 branch folder at downloads.lustre.org. Problem is, when I try to execute mkfs.lustre command from the manual (mkfs.lustre --mdt --mgs --fsname=SANDBOX /dev/sdb) having, as seen, only changed device name and fs name, it fails in the following manner:

[root at test-lustre-mds1 ~]# uname -a
Linux test-lustre-mds1 2.6.32-279.2.1.el6_lustre.1.8.8_x1 #1 SMP Wed Jul 24 04:06:27 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[root at test-lustre-mds1 ~]# mkfs.lustre --mdt --mgs --fsname=SANDBOX /dev/sdb

   Permanent disk data:
Target:     SANDBOX-MDTffff
Index:      unassigned
Mount type: ldiskfs
Flags:      0x75
              (MDT MGS needs_index first_time update )
Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro
Parameters: mdt.group_upcall=/usr/sbin/l_getgroups

checking for existing Lustre data: not found
device size = 16384MB
2 6 32
formatting backing filesystem ldiskfs on /dev/sdb
	target name  SANDBOX-MDTffff
	4k blocks     4194304
	options        -J size=400 -i 4096 -I 512 -q -O dir_index,uninit_groups -F
mkfs_cmd = mke2fs -j -b 4096 -L SANDBOX-MDTffff  -J size=400 -i 4096 -I 512 -q -O dir_index,uninit_groups -F /dev/sdb 4194304
mkfs.lustre: Can't make configs dir /tmp/mnt4Nt2GT/CONFIGS: Permission denied

mkfs.lustre FATAL: failed to write local files
mkfs.lustre: exiting with -1 (Unknown error 18446744073709551615)

What should I do to debug this issue?


Всеволод Никоноров,

<v.nikonorov at nikiet.ru>

More information about the lustre-discuss mailing list