2005-06-19 18:37:35

by Oded Maimon

[permalink] [raw]
Subject: nfs break

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


2005-06-19 19:07:34

by Trond Myklebust

[permalink] [raw]
Subject: Re: nfs break

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?

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

2005-06-19 21:08:48

by Oded Maimon

[permalink] [raw]
Subject: Re: nfs break

2005-06-19 21:15:37

by Casey Allen Shobe

[permalink] [raw]
Subject: Re: nfs break

On Sunday 19 June 2005 21:08, Oded Maimon wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

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

Cheers,
--
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

2005-06-19 22:31:26

by Oded Maimon

[permalink] [raw]
Subject: Re: nfs break



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?
>>
>>
>
>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
>
>
>
>
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

2005-06-20 12:07:45

by Greg Bradner

[permalink] [raw]
Subject: Re: nfs break

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


Oded Maimon wrote:

>
>
> 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?
>>>
>>>
>>
>>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
>>
>>
>>
>>
> 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


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

2005-06-20 13:22:48

by Trond Myklebust

[permalink] [raw]
Subject: Re: nfs break

m=C3=A5 den 20.06.2005 Klokka 05:07 (-0700) skreiv Greg Bradner:
> 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

> # turn off linux nfs debug
> echo 0 > /proc/sys/sunrpc/nfs_debug
>=20
>=20
> Oded Maimon wrote:
>=20
> >
> >
> > Trond Myklebust wrote:
> >
> >>su den 19.06.2005 Klokka 20:37 (+0200) skreiv Oded Maimon:
> >> =20
> >>
> >>>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
> >>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
> >>
> >>
> >> =20
> >>
> > 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
>=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