Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
08-20-2007, 02:34 PM
#1
LQ Newbie
Registered: Aug 2007
Posts: 2
Rep:
mount.nfs: Input/output error
I have been trying to use a common $HOME on our 2 dedicated servers via
NFS and it fails. If I use udp the mount fails with this error on the
client.
mount.nfs: Input/output error
while /var/log/messages shows an authenticated mount request on the server.
If I try to mount via tcp it gives me a no route to host error.
rpcinfo will work as long as I do not run it as root.
I suspect there is something blocking this network traffic. I have
appropriate entries in hosts.allow and /etc/exports. I have disabled
selinux and turned of iptables. I have started the appropriate daemons
on the server side. I have tried using other machines on which I know
this works as both client and server and I get the same errors. Do
you have any ideas about what is going on?
Thank you!
Click here to see the post LQ members have rated as the most helpful post in this thread.
08-20-2007, 03:51 PM
#2
Member
Registered: Apr 2005
Location: Fargo, ND
Distribution: Slackware, CentOS
Posts: 87
Rep:
What does "rpcinfo -p" on the client look like?
09-22-2008, 07:16 PM
#3
LQ Newbie
Registered: Jan 2008
Posts: 1
Rep:
Probably didn't have portmap running.
06-03-2010, 08:12 AM
#4
LQ Newbie
Registered: Jun 2010
Posts: 1
Rep:
Good answer fusiondog! I had this error too . And "mount nfs" need portmap to start.
12-20-2010, 06:17 PM
#5
LQ Newbie
Registered: Dec 2010
Posts: 1
Rep:
Hello,
I am having a problem getting NFS clients to mount a server under centOS.
I am running centos 5.3
Kernel version: 2.6.18-194.11.3.el5
yum update has been run on all client and server systems fairly recently.
The problem I am experiencing is that all of the clients are behaving as if there is a firewall preventing them from communicating with the server, or like portmap isn't running on them. When I attempt to mount a NFS export from one of the clients, I get the following, after about 5 or 10 minutes of waiting:
Code:
mount.nfs: Input/output error
Meanwhile, on the server, /var/log/messages imediately reports:
Code:
Dec 20 15:05:55 nfs mountd[10029]: authenticated mount request from 192.168.0.102:768 for /cache (/cache)
If I run 'showmount -e 192.168.0.152' from a client system, it will sit there for 5 or 10 minutes(this must be a hint) then give the expected output:
Code:
Export list for 192.168.0.152:
/cache 127.0.0.1/255.255.255.0,192.168.0.152/255.255.255.0,192.168.0.242/255.255.255.0,192.168.0.104/255.255.255.0,192.168.0.103/255.255.255.0,192.168.0.102/255.255.255.0,192.168.0.101/255.255.255.0
When running this with strace -f, this is the relevant portion of the output(.......... represents the 5-10 minute pause, added by me):
Code:
bind(3, {sa_family=AF_INET, sin_port=htons(818), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(650), sin_addr=inet_addr("192.168.0.152")}, 16..........) = -1 ETIMEDOUT (Connection timed out)
close(3)
If I run 'rpcinfo -p 192.168.0.152', again it sits there for 5-10 minutes then gives this output:
Code:
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection timed out
The clients can telnet to port 2049 on the server and the server will output errors from NFS into /var/log/messages as I type in invalid commands from the clients. It's not laggy or anything. The clients will also immediately give an authorization error if I don't have /etc/exports configured properly on the server.
I have run iptables -F on all systems(I have also included the output of 'service iptables status' below), and I have ensured that portmap is running on all systems.
The server can mount it's own share without any problems, see here:
Code:
[root@nfs ~]# mount nfs:/cache /mnt/cache
[root@nfs ~]# ls -al /mnt/cache
total 12
drwxrwxrwx 2 root root 4096 Dec 20 14:18 .
drwxr-xr-x 3 root root 4096 Dec 20 14:55 ..
[root@nfs ~]# echo . > /mnt/cache/hi
[root@nfs ~]# ls -al /cache
total 16
drwxrwxrwx 2 root root 4096 Dec 20 14:56 .
drwxr-xr-x 25 root root 4096 Dec 20 14:18 ..
-rw-r--r-- 1 65534 65534 2 Dec 20 14:56 hi
Below I have included the contents of many files and the output of many commands on both the server and the client. It seems to me like this should be working, I am totally stupmed. Any help would be greatly appreciated!
#####SERVER NAME:
nfs.domain.com 192.168.0.152
#####CLIENT NAMES:
web1.domain.com 192.168.0.101
web2.domain.com 192.168.0.102
web3.domain.com 192.168.0.103
web4.domain.com 192.168.0.104
#####SERVER FILES:
###/etc/exports
Code:
/cache 192.168.0.101/255.255.255.0(rw,sync)
/cache 192.168.0.102/255.255.255.0(rw,sync)
/cache 192.168.0.103/255.255.255.0(rw,sync)
/cache 192.168.0.104/255.255.255.0(rw,sync)
/cache 127.0.0.1/255.255.255.0(rw,sync)
###/etc/hosts.allow
Code:
ALL: 192.168.0.101, 192.168.0.102, 192.168.0.103, 192.168.0.104
###/etc/hosts
Code:
127.0.0.1 nfs.domain.com nfs localhost.localdomain localhost
192.168.0.101 web1.domain.com web1
192.168.0.102 web2.domain.com web2
192.168.0.103 web3.domain.com web3
192.168.0.104 web4.domain.com web4
#####SERVER COMMAND OUTPUT:
###netstat -plntu
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:866 0.0.0.0:* LISTEN 10014/rpc.rquotad
tcp 0 0 0.0.0.0:11111 0.0.0.0:* LISTEN 6371/ricci
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 9989/portmap
tcp 0 0 0.0.0.0:880 0.0.0.0:* LISTEN 10029/rpc.mountd
tcp 0 0 0.0.0.0:16851 0.0.0.0:* LISTEN 6212/modclusterd
tcp 0 0 0.0.0.0:788 0.0.0.0:* LISTEN 5270/rpc.statd
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 6158/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5659/cupsd
tcp 0 0 0.0.0.0:34456 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 5685/sendmail: acce
tcp 0 0 :::5989 :::* LISTEN 6164/cimserver
tcp 0 0 :::22 :::* LISTEN 5644/sshd
udp 0 0 0.0.0.0:2049 0.0.0.0:* -
udp 0 0 0.0.0.0:56199 0.0.0.0:* 5820/avahi-daemon:
udp 0 0 0.0.0.0:782 0.0.0.0:* 5270/rpc.statd
udp 0 0 0.0.0.0:785 0.0.0.0:* 5270/rpc.statd
udp 0 0 192.168.122.1:53 0.0.0.0:* 6158/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 6158/dnsmasq
udp 0 0 0.0.0.0:45524 0.0.0.0:* -
udp 0 0 0.0.0.0:863 0.0.0.0:* 10014/rpc.rquotad
udp 0 0 0.0.0.0:5353 0.0.0.0:* 5820/avahi-daemon:
udp 0 0 0.0.0.0:877 0.0.0.0:* 10029/rpc.mountd
udp 0 0 0.0.0.0:111 0.0.0.0:* 9989/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 5659/cupsd
udp 0 0 :::46117 :::* 5820/avahi-daemon:
udp 0 0 :::5353 :::* 5820/avahi-daemon:
###service iptables status
Code:
Table: nat
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
1 MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
2 MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
3 MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
###showmount -e nfs.domain.com
Code:
Export list for nfs.domain.com:
/cache 127.0.0.1/255.255.255.0,192.168.0.152/255.255.255.0,192.168.0.242/255.255.255.0,192.168.0.104/255.255.255.0,192.168.0.103/255.255.255.0,192.168.0.102/255.255.255.0,192.168.0.101/255.255.255.0
###rpcinfo -p
Code:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100011 1 udp 863 rquotad
100011 2 udp 863 rquotad
100011 1 tcp 866 rquotad
100011 2 tcp 866 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 udp 45524 nlockmgr
100021 3 udp 45524 nlockmgr
100021 4 udp 45524 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 tcp 34456 nlockmgr
100021 3 tcp 34456 nlockmgr
100021 4 tcp 34456 nlockmgr
100005 1 udp 877 mountd
100005 1 tcp 880 mountd
100005 2 udp 877 mountd
100005 2 tcp 880 mountd
100005 3 udp 877 mountd
100005 3 tcp 880 mountd
#####CLIENT FILES(ex web2):
###/etc/hosts
Code:
127.0.0.1 web2.domain.com web2 localhost.localdomain localhost
192.168.0.101 web1.domain.com web1
192.168.0.103 web3.domain.com web3
192.168.0.104 web4.domain.com web4
192.168.0.152 nfs.domain.com nfs
#####CLIENT COMMAND OUTPUT:
###service iptables status
Code:
Table: nat
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
1 MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
2 MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
3 MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
###mount -v nfs:/cache /mnt/cache
Code:
mount: trying 192.168.0.152 prog 100003 vers 3 prot tcp port 2049
mount: trying 192.168.0.152 prog 100005 vers 3 prot udp port 877
mount.nfs: Input/output error
###strace -f mount -v nfs:/cache /mnt/cache (done at a later time having restarted nfs on the server, so udp port 877 has become 647, .......... represents the 5-10 minute pause, added by me)
Code:
execve("/bin/mount", ["mount", "-v", "nfs:/cache", "/mnt/cache"], [/* 20 vars */]) = 0
brk(0) = 0x4432000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf37ca1000
uname({sys="Linux", node="web2.domain.com", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=59129, ...}) = 0
mmap(NULL, 59129, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abf37ca2000
close(3) = 0
open("/lib64/libblkid.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0008\340\2602\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=44160, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf37cb1000
mmap(0x32b0e00000, 2137216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x32b0e00000
mprotect(0x32b0e09000, 2093056, PROT_NONE) = 0
mmap(0x32b1008000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x32b1008000
close(3) = 0
open("/lib64/libuuid.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\25\340\2632\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=17728, ...}) = 0
mmap(0x32b3e00000, 2110416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x32b3e00000
mprotect(0x32b3e03000, 2097152, PROT_NONE) = 0
mmap(0x32b4003000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x32b4003000
close(3) = 0
open("/lib64/libselinux.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`E\240\2612\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=95464, ...}) = 0
mmap(0x32b1a00000, 2192784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x32b1a00000
mprotect(0x32b1a15000, 2097152, PROT_NONE) = 0
mmap(0x32b1c15000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x32b1c15000
mmap(0x32b1c17000, 1424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x32b1c17000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\332a\2602\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1717800, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf37cb2000
mmap(0x32b0600000, 3498328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x32b0600000
mprotect(0x32b074e000, 2093056, PROT_NONE) = 0
mmap(0x32b094d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14d000) = 0x32b094d000
mmap(0x32b0952000, 16728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x32b0952000
close(3) = 0
open("/lib64/libdevmapper.so.1.02", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0F \2612\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=125584, ...}) = 0
mmap(0x32b1200000, 2218408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x32b1200000
mprotect(0x32b121c000, 2097152, PROT_NONE) = 0
mmap(0x32b141c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x32b141c000
close(3) = 0
open("/lib64/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\240\2602\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=23360, ...}) = 0
mmap(0x32b0a00000, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x32b0a00000
mprotect(0x32b0a02000, 2097152, PROT_NONE) = 0
mmap(0x32b0c02000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x32b0c02000
close(3) = 0
open("/lib64/libsepol.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@=\340\2612\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=247496, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf37cb3000
mmap(0x32b1e00000, 2383168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x32b1e00000
mprotect(0x32b1e3b000, 2097152, PROT_NONE) = 0
mmap(0x32b203b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3b000) = 0x32b203b000
mmap(0x32b203c000, 40256, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x32b203c000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf37cb4000
arch_prctl(ARCH_SET_FS, 0x2abf37cb45c0) = 0
mprotect(0x32b094d000, 16384, PROT_READ) = 0
mprotect(0x32b041b000, 4096, PROT_READ) = 0
mprotect(0x32b0c02000, 4096, PROT_READ) = 0
munmap(0x2abf37ca2000, 59129) = 0
access("/etc/selinux/", F_OK) = 0
brk(0) = 0x4432000
brk(0x4453000) = 0x4453000
open("/etc/selinux/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=511, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf37ca2000
read(3, "# This file controls the state o"..., 4096) = 511
read(3, "", 4096) = 0
close(3) = 0
munmap(0x2abf37ca2000, 4096) = 0
open("/proc/mounts", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf37ca2000
read(3, "rootfs / rootfs rw 0 0\n/dev/root"..., 4096) = 595
read(3, "", 4096) = 0
close(3) = 0
munmap(0x2abf37ca2000, 4096) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=56409824, ...}) = 0
mmap(NULL, 56409824, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2abf37cb5000
close(3) = 0
umask(022) = 022
open("/dev/null", O_RDWR) = 3
close(3) = 0
getuid() = 0
geteuid() = 0
getgid() = 0
getegid() = 0
prctl(0x3, 0, 0, 0, 0) = 1
open("/etc/blkid/blkid.tab", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=831, ...}) = 0
fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0644, st_size=831, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf3b281000
lseek(3, 0, SEEK_CUR) = 0
read(3, "<device DEVNO=\"0xfd01\" TIME=\"128"..., 4096) = 831
read(3, "", 4096) = 0
close(3) = 0
munmap(0x2abf3b281000, 4096) = 0
getuid() = 0
geteuid() = 0
lstat("/etc/mtab", {st_mode=S_IFREG|0644, st_size=351, ...}) = 0
stat("nfs:/cache", 0x7fff562c7b40) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf3b281000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2528
read(3, "", 4096) = 0
close(3) = 0
munmap(0x2abf3b281000, 4096) = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abf3b281000
write(1, "mount: no type was given - I'll "..., 64mount: no type was given - I'll assume nfs because of the colon
) = 64
stat("/sbin/mount.nfs", {st_mode=S_IFREG|S_ISUID|0755, st_size=75496, ...}) = 0
clone(Process 26678 attached (waiting for parent)
Process 26678 resumed (parent 26677 ready)
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2abf37cb4650) = 26678
[pid 26678] getgid( <unfinished ...>
[pid 26677] wait4(-1, Process 26677 suspended
<unfinished ...>
[pid 26678] <... getgid resumed> ) = 0
[pid 26678] setgid(0) = 0
[pid 26678] getuid() = 0
[pid 26678] setuid(0) = 0
[pid 26678] execve("/sbin/mount.nfs", ["/sbin/mount.nfs", "nfs:/cache", "/mnt/cache", "-v", "-o", "rw"], [/* 16 vars */]) = 0
[pid 26678] brk(0) = 0x2ab210557000
[pid 26678] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2034d2000
[pid 26678] uname({sys="Linux", node="web2.domain.com", ...}) = 0
[pid 26678] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 26678] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 26678] fstat(3, {st_mode=S_IFREG|0644, st_size=59129, ...}) = 0
[pid 26678] mmap(NULL, 59129, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ab2034d3000
[pid 26678] close(3) = 0
[pid 26678] open("/lib64/libc.so.6", O_RDONLY) = 3
[pid 26678] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\332a\2602\0\0\0"..., 832) = 832
[pid 26678] fstat(3, {st_mode=S_IFREG|0755, st_size=1717800, ...}) = 0
[pid 26678] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2034e2000
[pid 26678] mmap(NULL, 3498328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ab2036d3000
[pid 26678] mprotect(0x2ab203821000, 2093056, PROT_NONE) = 0
[pid 26678] mmap(0x2ab203a20000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14d000) = 0x2ab203a20000
[pid 26678] mmap(0x2ab203a25000, 16728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab203a25000
[pid 26678] close(3) = 0
[pid 26678] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab203a2a000
[pid 26678] arch_prctl(ARCH_SET_FS, 0x2ab203a2a6e0) = 0
[pid 26678] mprotect(0x2ab203a20000, 16384, PROT_READ) = 0
[pid 26678] mprotect(0x2ab2036d1000, 4096, PROT_READ) = 0
[pid 26678] munmap(0x2ab2034d3000, 59129) = 0
[pid 26678] getuid() = 0
[pid 26678] brk(0) = 0x2ab210557000
[pid 26678] brk(0x2ab210578000) = 0x2ab210578000
[pid 26678] lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 26678] lstat("/mnt/cache", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 26678] stat("/mnt/cache", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 26678] access("/mnt/cache", X_OK) = 0
[pid 26678] uname({sys="Linux", node="web2.domain.com", ...}) = 0
[pid 26678] getpid() = 26678
[pid 26678] open("/etc/resolv.conf", O_RDONLY) = 3
[pid 26678] fstat(3, {st_mode=S_IFREG|0644, st_size=67, ...}) = 0
[pid 26678] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2034d3000
[pid 26678] read(3, "search domain.com\nnameserver 192."..., 4096) = 67
[pid 26678] read(3, "", 4096) = 0
[pid 26678] close(3) = 0
[pid 26678] munmap(0x2ab2034d3000, 4096) = 0
[pid 26678] socket(PF_FILE, SOCK_STREAM, 0) = 3
[pid 26678] fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26678] connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
[pid 26678] close(3) = 0
[pid 26678] socket(PF_FILE, SOCK_STREAM, 0) = 3
[pid 26678] fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26678] connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
[pid 26678] close(3) = 0
[pid 26678] open("/etc/nsswitch.conf", O_RDONLY) = 3
[pid 26678] fstat(3, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0
[pid 26678] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2034d3000
[pid 26678] read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696
[pid 26678] read(3, "", 4096) = 0
[pid 26678] close(3) = 0
[pid 26678] munmap(0x2ab2034d3000, 4096) = 0
[pid 26678] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 26678] fstat(3, {st_mode=S_IFREG|0644, st_size=59129, ...}) = 0
[pid 26678] mmap(NULL, 59129, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ab2034d3000
[pid 26678] close(3) = 0
[pid 26678] open("/lib64/libnss_files.so.2", O_RDONLY) = 3
[pid 26678] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\37\0\0\0\0\0\0"..., 832) = 832
[pid 26678] fstat(3, {st_mode=S_IFREG|0755, st_size=53880, ...}) = 0
[pid 26678] mmap(NULL, 2139432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ab203a2b000
[pid 26678] mprotect(0x2ab203a35000, 2093056, PROT_NONE) = 0
[pid 26678] mmap(0x2ab203c34000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x2ab203c34000
[pid 26678] close(3) = 0
[pid 26678] mprotect(0x2ab203c34000, 4096, PROT_READ) = 0
[pid 26678] munmap(0x2ab2034d3000, 59129) = 0
[pid 26678] open("/etc/host.conf", O_RDONLY) = 3
[pid 26678] fstat(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0
[pid 26678] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2034d3000
[pid 26678] read(3, "order hosts,bind\n", 4096) = 17
[pid 26678] read(3, "", 4096) = 0
[pid 26678] close(3) = 0
[pid 26678] munmap(0x2ab2034d3000, 4096) = 0
[pid 26678] open("/etc/hosts", O_RDONLY) = 3
[pid 26678] fcntl(3, F_GETFD) = 0
[pid 26678] fcntl(3, F_SETFD, FD_CLOEXEC) = 0
[pid 26678] fstat(3, {st_mode=S_IFREG|0644, st_size=632, ...}) = 0
[pid 26678] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2034d3000
[pid 26678] read(3, "# Do not remove the following li"..., 4096) = 632
[pid 26678] close(3) = 0
[pid 26678] munmap(0x2ab2034d3000, 4096) = 0
[pid 26678] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
[pid 26678] bind(3, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
[pid 26678] connect(3, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("192.168.0.152")}, 16) = 0
[pid 26678] write(3, "\200\0\0008L\f\4\26\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3\0\0\0\0"..., 60) = 60
[pid 26678] poll([{fd=3, events=POLLIN}], 1, 20000) = 1 ([{fd=3, revents=POLLIN}])
[pid 26678] read(3, "\200\0\0\34L\f\4\26\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\1", 500) = 32
[pid 26678] close(3) = 0
[pid 26678] write(2, "mount: trying 192.168.0.152 prog"..., 66mount: trying 192.168.0.152 prog 100003 vers 3 prot tcp port 2049
) = 66
[pid 26678] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
[pid 26678] bind(3, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
[pid 26678] connect(3, {sa_family=AF_INET, sin_port=htons(2049), sin_addr=inet_addr("192.168.0.152")}, 16) = 0
[pid 26678] write(3, "\200\0\0(NO^\177\0\0\0\0\0\0\0\2\0\1\206\243\0\0\0\3\0\0\0\0\0\0\0\0"..., 44) = 44
[pid 26678] poll([{fd=3, events=POLLIN}], 1, 20000) = 1 ([{fd=3, revents=POLLIN}])
[pid 26678] read(3, "\200\0\0\30NO^\177\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 400) = 28
[pid 26678] close(3) = 0
[pid 26678] socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
[pid 26678] bind(3, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
[pid 26678] sendto(3, "w\300d'\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3\0\0\0\0\0\0\0\0"..., 56, 0, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("192.168.0.152")}, 16) = 56
[pid 26678] poll([{fd=3, events=POLLIN}], 1, 20000) = 1 ([{fd=3, revents=POLLIN}])
[pid 26678] recvfrom(3, "w\300d'\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\207", 8800, MSG_DONTWAIT, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("192.168.0.152")}, [16]) = 28
[pid 26678] close(3) = 0
[pid 26678] write(2, "mount: trying 192.168.0.152 prog"..., 65mount: trying 192.168.0.152 prog 100005 vers 3 prot udp port 647
) = 65
[pid 26678] socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
[pid 26678] bind(3, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
[pid 26678] sendto(3, "\f\211\332\263\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"..., 40, 0, {sa_family=AF_INET, sin_port=htons(647), sin_addr=inet_addr("192.168.0.152")}, 16) = 40
[pid 26678] poll([{fd=3, events=POLLIN}], 1, 3000) = 1 ([{fd=3, revents=POLLIN}])
[pid 26678] recvfrom(3, "\f\211\332\263\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 400, MSG_DONTWAIT, {sa_family=AF_INET, sin_port=htons(647), sin_addr=inet_addr("192.168.0.152")}, [16]) = 24
[pid 26678] close(3) = 0
[pid 26678] socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
[pid 26678] bind(3, {sa_family=AF_INET, sin_port=htons(990), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
[pid 26678] uname({sys="Linux", node="web2.domain.com", ...}) = 0
[pid 26678] geteuid() = 0
[pid 26678] getegid() = 0
[pid 26678] getgroups(0, NULL) = 7
[pid 26678] getgroups(7, [0, 1, 2, 3, 4, 6, 10]) = 7
[pid 26678] sendto(3, ".\33\31\201\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"..., 120, 0, {sa_family=AF_INET, sin_port=htons(647), sin_addr=inet_addr("192.168.0.152")}, 16) = 120
[pid 26678] poll([{fd=3, events=POLLIN}], 1, 3000) = 1 ([{fd=3, revents=POLLIN}])
[pid 26678] recvfrom(3, ".\33\31\201\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\f"..., 1024, MSG_DONTWAIT, {sa_family=AF_INET, sin_port=htons(647), sin_addr=inet_addr("192.168.0.152")}, [16]) = 68
[pid 26678] close(3) = 0
[pid 26678] uname({sys="Linux", node="web2.domain.com", ...}) = 0
[pid 26678] mount("nfs:/cache", "/mnt/cache", "nfs", 0, "\6"..........) = -1 EIO (Input/output error)
[pid 26678] write(2, "mount.nfs: Input/output error\n", 30mount.nfs: Input/output error
) = 30
[pid 26678] exit_group(32) = ?
Process 26677 resumed
Process 26678 detached
<... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 32}], 0, NULL) = 26678
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(32) = ?
Last edited by Askelon; 12-20-2010 at 06:28 PM .
10-14-2011, 01:07 PM
#6
LQ Newbie
Registered: Apr 2010
Posts: 2
Rep:
mount.nfs input output error
try adding "nolock" to your mount options.
2 members found this post helpful.
04-02-2013, 01:50 AM
#7
LQ Newbie
Registered: Dec 2012
Posts: 7
Rep:
Quote:
Originally Posted by
robbinstw
try adding "nolock" to your mount options.
excellent,solve my problem
04-15-2019, 08:14 AM
#8
LQ Newbie
Registered: Apr 2006
Posts: 11
Rep:
Quote:
Originally Posted by
robbinstw
try adding "nolock" to your mount options.
This solved my issue as well!
All times are GMT -5. The time now is 07:32 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News