[Lustre-discuss] Lustre Debug level

Isaac Huang He.Huang at Sun.COM
Sun Nov 18 04:08:22 PST 2007


On Fri, Nov 16, 2007 at 09:10:49AM -0800, Cliff White wrote:
[......]
> The hex bitmasks will work with 1.6.3, however we have added nice 
> human-readable strings.  '-1' will
> still set all values 'on' and is a simple way to see the entire list..
> 
> 
> # echo -1 > /proc/sys/lnet/debug
> 
> # cat /proc/sys/lnet/debug
> trace inode super ext2 malloc cache info ioctl neterror net warning 
> buffs other dentry nettrace page dlmtrace error emerg ha rpctrace 
> vfstrace reada mmap config console quota sec
> 
> # echo "ioctl neterror warning error emerg ha config console" > 
> /proc/sys/lnet/debug
> # cat /proc/sys/lnet/debug
> ioctl neterror warning error emerg ha config console
> 

It's also easy to turn on/off individual values without changing
the rest:

# echo + neterror > /proc/sys/lnet/debug
# echo - neterror > /proc/sys/lnet/debug

HTH,
Isaac




More information about the lustre-discuss mailing list