I''ve gotten lustre installed on CentOS 6.0 and
I''m now trying to run llmount.sh as the first test.
#./llmount.sh
Stopping clients: lustre64.nm.teradactyl.com /mnt/lustre (opts:)
Stopping clients: lustre64.nm.teradactyl.com /mnt/lustre2 (opts:)
Loading modules from /usr/lib64/lustre/tests/..
debug=0x33f0404
subsystem_debug=0xffb7e3ff
gss/krb5 is not supported
Formatting mgs, mds, osts
Format mds1: /tmp/lustre-mdt1
mkfs.lustre: Can''t make configs dir /tmp/mntnWOAUh/CONFIGS (Permission
denied)
mkfs.lustre FATAL: failed to write local files
I ran in sh -x mode to get the failing command
sh -c ''/usr/sbin/mkfs.lustre --mgs --mdt --fsname=lustre
--device-size=200000
--param sys.timeout=20 --mountfsoptions=errors=remount-ro,user_xattr,acl --param
lov.stripesize=1048576 --param lov.stripecount=0 --param
mdt.identity_upcall=/usr/sbin/l_getidentity --backfstype ldiskfs --reformat
/tmp/lustre-mdt1''
And then an strace to get more info:
....
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 0 mounts or
0 days, whichever comes first. Use tune2fs -c or -i to override.
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6495
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x3cb2e32a20}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x3cb2e32a20}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
mkdir("/tmp/mntwLvMF8", 0700) = 0
mount("/dev/loop0", "/tmp/mntwLvMF8", "ldiskfs",
0,
"errors=remount-ro,user_xattr,acl") = 0
mkdir("/tmp/mntwLvMF8/CONFIGS", 0777) = -1 EACCES (Permission
denied)
# ls -l /dev/loop0
brw-rw----. 1 root disk 7, 0 Sep 29 17:28 /dev/loop0
Is the EACCES error related to the permissions on the loop0
device or is it something else?
The / filesytem on my test system is ext4 and I''m trying to do it all
as root.
Also, I''ve done all of the server rpm installs. Do I need to do
the client rpms as well?
--
Mr. Kristen J. Webb
Teradactyl LLC.
PHONE: 1-505-242-1091
EMAIL: kwebb at teradactyl.com
VISIT: http://www.teradactyl.com
Home of the
True incremental Backup System