<div dir="ltr">What e2fsprogs are you running ? Check if SELINUX is disabled as well.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 August 2013 18:43, Vsevolod Nikonorov <span dir="ltr"><<a href="mailto:v.nikonorov@nikiet.ru" target="_blank">v.nikonorov@nikiet.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
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<br>
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 <a href="http://downloads.lustre.org" target="_blank">downloads.lustre.org</a>. 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:<br>

<br>
[root@test-lustre-mds1 ~]# uname -a<br>
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<br>
[root@test-lustre-mds1 ~]# mkfs.lustre --mdt --mgs --fsname=SANDBOX /dev/sdb<br>
<br>
š šPermanent disk data:<br>
Target: š š SANDBOX-MDTffff<br>
Index: š š šunassigned<br>
Lustre FS: šSANDBOX<br>
Mount type: ldiskfs<br>
Flags: š š š0x75<br>
š š š š š š š (MDT MGS needs_index first_time update )<br>
Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro<br>
Parameters: mdt.group_upcall=/usr/sbin/l_getgroups<br>
<br>
checking for existing Lustre data: not found<br>
device size = 16384MB<br>
2 6 32<br>
formatting backing filesystem ldiskfs on /dev/sdb<br>
š š š š target name šSANDBOX-MDTffff<br>
š š š š 4k blocks š š 4194304<br>
š š š š options š š š š-J size=400 -i 4096 -I 512 -q -O dir_index,uninit_groups -F<br>
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<br>
mkfs.lustre: Can't make configs dir /tmp/mnt4Nt2GT/CONFIGS: Permission denied<br>
<br>
mkfs.lustre FATAL: failed to write local files<br>
mkfs.lustre: exiting with -1 (Unknown error 18446744073709551615)<br>
<br>
What should I do to debug this issue?<br>
<br>
Thanks,<br>
Vsevolod<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
÷ÓÅ×ÏÌÏÄ îÉËÏÎÏÒÏ×,<br>
ïéôôÉó, îéëéüô<br>
<br>
<<a href="mailto:v.nikonorov@nikiet.ru">v.nikonorov@nikiet.ru</a>><br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
</font></span></blockquote></div><br></div>