Changing The Default tsafs Debug Log Path

  • 7008192
  • 23-Mar-2011
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 1
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3
Novell Open Enterprise Server (NetWare 6.5)
Novell NetWare 6.5 Support Pack 7
Novell NetWare 6.5 Support Pack 8

Situation

Typically root partitions on Linux and Sys: volumes on NetWare are limited on space, but the default location for tsafs logs are on those limited partitions or volumes.  So, it may be advantageous to change the location of where logs are stored. 


Resolution

The following are instructions for changing the default debug log location.

For Linux

/opt/novell/sms/bin/smsconfig -u tsafs   ** this unload the tsafs

Now load the tsafs with the debug options and with the new path.

/opt/novell/sms/bin/smsconfig -l tsaf  --smsdebug=ffffffc --smsdebug2=fffffffc --DebugFileName=<new path and name>

**** example *****
/opt/novell/sms/bin/smsconfig -l tsaf  --smsdebug=ffffffc --smsdebug2=fffffffc --DebugFileName=/tmp/tsadebug1

The new debug log will now be found at /tmp/tsadbug1_XXXX.log  where the XXXX will be a contrived four digits generated by tsafs.  And the .log extension will be added.

***** important note *****

To stop the debuging and see the log file you will have to do the following:

/opt/novell/sms/bin/smsconfig -u tsafs


------------------------------------------------------------------------------------------------------------

For NetWare

From the file server console type:

tsafs /DebugFileName=<debug file path>

**** example ****

tsafs /DebugFileName=VOL1:temp\tsadebug.log

The debug log will now be created in the VOL1:temp\tsadebug.log

**** important note ****

To start debug logging you must type:

tsafs /smsdebug=ffffffc /smsdebu2=fffffffc

To end the debugging and write the debug log, you must type:

tsafs /smsdebug=0 /smsdebug2=0