Skip to contentSkip to conversation

nfs break

DISCUSSION Oded Maimon 4 participants 7 messages Jun 19, 2005 – Jun 20, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

is there any way to make nfs-client create more informative logs?

somthing like levels of logs?

Thanks,

Oded.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

su den 19.06.2005 Klokka 20:37 (+0200) skreiv Oded Maimon:

Quoted 5 lines

Hi,

is there any way to make nfs-client create more informative logs?

somthing like levels of logs?

The only logging that the current NFS client supports is the information provided by "nfsstat".

It is also possible to enable selective debug tracing in the case of client bugs, but those traces were not designed with system administration in mind, and so are unlikely to be very useful.

Cheers,
Trond

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw

Trond Myklebust wrote: su den 19.06.2005 Klokka 20:37 (+0200) skreiv Oded Maimon: Hi, is there any way to make nfs-client create more informative logs? somthing like levels of logs?

#3 lore raw
Quoted 1 line · Oded Maimon

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Please don't send HTML-only E-mail.

Cheers,

Signature · 14 lines
Casey Allen Shobe | http://casey.shobe.info
[email protected] | cell 425-443-4653
AIM & Yahoo:  SomeLinuxGuy | ICQ:  1494523
SeattleServer.com, Inc. | http://www.seattleserver.com


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#4 lore raw
In reply to Oded Maimon

This is for linux:

# turn on linux nfs debug
echo 1 > /proc/sys/sunrpc/nfs_debug
# turn off linux nfs debug
echo 0 > /proc/sys/sunrpc/nfs_debug
Quoted 32 lines · Oded Maimon
Quoted 14 lines · Trond Myklebust

su den 19.06.2005 Klokka 20:37 (+0200) skreiv Oded Maimon:

Quoted 7 lines

Hi,

is there any way to make nfs-client create more informative logs?

somthing like levels of logs?

The only logging that the current NFS client supports is the information provided by "nfsstat".

Quoted 10 lines

It is also possible to enable selective debug tracing in the case of client bugs, but those traces were not designed with system administration in mind, and so are unlikely to be very useful.

Cheers,
Trond

thanks, that will be very helpful,
can you please tell me how can i enable the debug tracing, just to see what i can get from that?
------------------------------------------------------- SF.Net email
is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs

Signature · 18 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rhythm & Hues
5404 Jandy Place
Los Angeles, CA 90066
Voice: 310 448-7763
Fax:   310 448-7600
[email protected]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#5 lore raw

m=C3=A5 den 20.06.2005 Klokka 05:07 (-0700) skreiv Greg Bradner:

Quoted 4 lines

This is for linux:
=20

# turn on linux nfs debug
echo 1 > /proc/sys/sunrpc/nfs_debug

Actually, there is a whole bitmask of values you can use here in order to selectively turn on or off parts of the debugging code. See the NFSDBG_* defines in include/linux/nfs_fs.h.

There are similar bitmasks for the RPC, NLM (i.e. lockd) and nfsd subsystems in include/linux/sunrpc/debug.h, include/linux/lockd/debug.h and include/linux/nfsd/debug.h. These bitmasks act
on /proc/sys/sunrpc/rpc_debug, /proc/sys/sunrpc/nlm_debug and /proc/sys/sunrpc/nfsd_debug respectively.

Note as I said earlier, though, this is really designed for debugging purposes. There are no plans to convert it into an administrative tool.

Cheers,
Trond

Quoted 22 lines
# turn off linux nfs debug
echo 0 > /proc/sys/sunrpc/nfs_debug
=20
=20
Oded Maimon wrote:
=20
Quoted 16 lines
Quoted 12 lines · Trond Myklebust

su den 19.06.2005 Klokka 20:37 (+0200) skreiv Oded Maimon:
=20

Quoted 7 lines

Hi,

is there any way to make nfs-client create more informative logs?

somthing like levels of logs?
=20

The only logging that the current NFS client supports is the informatio=

n

Quoted 23 lines
Quoted 12 lines
Quoted 6 lines

provided by "nfsstat".

It is also possible to enable selective debug tracing in the case of client bugs, but those traces were not designed with system administration in mind, and so are unlikely to be very useful.

Quoted 6 lines

Cheers,
Trond

=20

Quoted 11 lines

thanks, that will be very helpful,
can you please tell me how can i enable the debug tracing, just to see=20 what i can get from that? ------------------------------------------------------- SF.Net email=20 is sponsored by: Discover Easy Linux Migration Strategies from IBM.=20 Find simple to follow Roadmaps, straightforward articles, informative=20 Webcasts and more! Get everything you need to get up to speed, fast.=20
http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick=20
_______________________________________________ NFS maillist -=20 [email protected]=20
https://lists.sourceforge.net/lists/listinfo/nfs=20

Quoted 2 lines

=20
=20

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#6 lore raw
In reply to Trond Myklebust
Quoted 14 lines · Trond Myklebust

su den 19.06.2005 Klokka 20:37 (+0200) skreiv Oded Maimon:

Quoted 7 lines

Hi,

is there any way to make nfs-client create more informative logs?

somthing like levels of logs?

The only logging that the current NFS client supports is the information provided by "nfsstat".

Quoted 10 lines

It is also possible to enable selective debug tracing in the case of client bugs, but those traces were not designed with system administration in mind, and so are unlikely to be very useful.

Cheers,
Trond

thanks, that will be very helpful,
can you please tell me how can i enable the debug tracing, just to see what i can get from that?

sorry about the previous HTML mail.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs