* Re: Re: does nfs-util have a api-manual?
@ 2011-06-09 1:19 宋哲
2011-06-09 2:05 ` Jim Rees
0 siblings, 1 reply; 2+ messages in thread
From: 宋哲 @ 2011-06-09 1:19 UTC (permalink / raw)
To: SteveD; +Cc: linux-nfs
I have wrote a server application that record audio files to a nfs=20
directory, and I write to the directory just like it is a local disk.
But when some error occurs with the nfs-connection, the "write"=20
operation is just hanged up and does not return any errors, so I want t=
o=20
use nfs-utils, and I think I can handle the error above with the tools.=
=20
But I almost know nothing about nfs-utils. Can you help me?
thanks !
________________________________
------------------=C2=A0=E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6=C2=A0-----=
-------------
=E5=8F=91=E4=BB=B6=E4=BA=BA:=C2=A0"Steve=C2=A0Dickson"=C2=A0<SteveD@red=
hat.com>;
=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4:=C2=A02011=E5=B9=B406=E6=9C=8808=E6=
=97=A5=C2=A019=E7=82=B927=E5=88=86
=E6=94=B6=E4=BB=B6=E4=BA=BA:=C2=A0"=E5=AE=8B=E5=93=B2"=C2=A0<songzhe@ci=
ntel.net.cn>;=C2=A0
=E6=8A=84=E9=80=81:=C2=A0"linux-nfs@vger.kernel.org"=C2=A0<linux-nfs@vg=
er.kernel.org>;=C2=A0
=E4=B8=BB=E9=A2=98:=C2=A0Re:=C2=A0does=C2=A0nfs-util=C2=A0have=C2=A0a=C2=
=A0api-manual?=C2=A0
On=C2=A006/08/2011=C2=A005:39=C2=A0AM,=C2=A0=E5=AE=8B=E5=93=B2=C2=A0wro=
te:
>=C2=A0Does=C2=A0nfs-util=C2=A0have=C2=A0a=C2=A0api-manual?=C2=A0I=C2=A0=
can=C2=A0not=C2=A0find=C2=A0it,=C2=A0thanks!
No...=C2=A0What=C2=A0are=C2=A0you=C2=A0looking=C2=A0for?
steved.
>=C2=A0
>=C2=A0
>=C2=A0--
>=C2=A0To=C2=A0unsubscribe=C2=A0from=C2=A0this=C2=A0list:=C2=A0send=C2=A0=
the=C2=A0line=C2=A0"unsubscribe=C2=A0linux-nfs"=C2=A0in
>=C2=A0the=C2=A0body=C2=A0of=C2=A0a=C2=A0message=C2=A0to=C2=A0majordomo=
@vger.kernel.org
>=C2=A0More=C2=A0majordomo=C2=A0info=C2=A0at=C2=A0=C2=A0http://vger.ker=
nel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re: does nfs-util have a api-manual?
2011-06-09 1:19 Re: does nfs-util have a api-manual? 宋哲
@ 2011-06-09 2:05 ` Jim Rees
0 siblings, 0 replies; 2+ messages in thread
From: Jim Rees @ 2011-06-09 2:05 UTC (permalink / raw)
To: 宋哲; +Cc: SteveD, linux-nfs
宋哲 wrote:
I have wrote a server application that record audio files to a nfs
directory, and I write to the directory just like it is a local disk.
But when some error occurs with the nfs-connection, the "write"
operation is just hanged up and does not return any errors, so I want to
use nfs-utils, and I think I can handle the error above with the tools.
But I almost know nothing about nfs-utils. Can you help me?
I don't think you need nfs-utils. The write() system call will hang
indefinitely if there is a problem with the mount. If you want it to fail
when the server goes away, you need a soft mount, and adjust the timeo and
retrans mount options to suit. See mount.nfs(8) and nfs(5).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-09 2:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-09 1:19 Re: does nfs-util have a api-manual? 宋哲
2011-06-09 2:05 ` Jim Rees
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).