[Lustre-discuss] NFS Export Issues

William Olson lustre_admin at reachone.com
Fri Jul 16 17:23:16 PDT 2010


On 7/16/2010 5:12 PM, Andreas Dilger wrote:
>
>> Well that improved the debug level, but didn't reveal any -2 errors..   In fact I can't seem to find a line with an error in it... Is there a specific verbiage used on error lines that I can grep for?  90% is "Process entered" or "Process leaving"...
>>      
> You could try "strace -f" on the mount process, to see which syscall is failing.  It may be failing with something before it gets to Lustre.
>    
Results of strace below:

[root at lustreclient mnt]# strace -f -p 15964
Process 15964 attached - interrupt to quit
select(1024, [3 4 5 6 7], NULL, NULL, NULL) = 1 (in [6])
recvmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(42303), 
sin_addr=inet_addr("192.168.100.2")}, 
msg_iov(1)=[{"O^\240\350\0\0\0\0\0\0\0\2\0\1\206\245\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0"..., 
8800}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_IP, cmsg_type=, 
...}, msg_flags=0}, 0) = 40
stat("/etc/hosts.allow", {st_mode=S_IFREG|0644, st_size=189, ...}) = 0
stat("/etc/hosts.deny", {st_mode=S_IFREG|0644, st_size=347, ...}) = 0
sendmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(42303), 
sin_addr=inet_addr("192.168.100.2")}, 
msg_iov(1)=[{"O^\240\350\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 24}], 
msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_IP, cmsg_type=, ...}, 
msg_flags=0}, 0) = 24
select(1024, [3 4 5 6 7], NULL, NULL, NULL) = 1 (in [6])
recvmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(1002), 
sin_addr=inet_addr("192.168.100.2")}, 
msg_iov(1)=[{"{\243\34\22\0\0\0\0\0\0\0\2\0\1\206\245\0\0\0\3\0\0\0\1\0\0\0\1\0\0\0D"..., 
8800}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_IP, cmsg_type=, 
...}, msg_flags=0}, 0) = 132
stat("/etc/hosts.allow", {st_mode=S_IFREG|0644, st_size=189, ...}) = 0
stat("/etc/hosts.deny", {st_mode=S_IFREG|0644, st_size=347, ...}) = 0
open("/var/lib/nfs/etab", O_RDONLY)     = 10
fstat(10, {st_mode=S_IFREG|0644, st_size=184, ...}) = 0
close(10)                               = 0
lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/mnt/lustre_mail_fs", 0x7fff4bd4b2b0) = -1 EACCES (Permission denied)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2875, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2875, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2875, ...}) = 0
sendto(9, "<29>Jul 16 17:22:06 mountd[15964"..., 132, MSG_NOSIGNAL, 
NULL, 0) = 132
stat("/mnt/lustre_mail_fs", 0x7fff4bd4b410) = -1 EACCES (Permission denied)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2875, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2875, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2875, ...}) = 0
sendto(9, "<28>Jul 16 17:22:06 mountd[15964"..., 97, MSG_NOSIGNAL, NULL, 
0) = 97
sendmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(1002), 
sin_addr=inet_addr("192.168.100.2")}, 
msg_iov(1)=[{"{\243\34\22\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r", 
28}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_IP, cmsg_type=, 
...}, msg_flags=0}, 0) = 28
select(1024, [3 4 5 6 7], NULL, NULL, NULL



More information about the lustre-discuss mailing list