TSM Server shutdown due to log full

2005-04-26 Thread Gill, Geoffrey L.
Last night this happened to me and after struggling to get it back up I
don't understand why what I had in place to help with this seems to be
worthless or I just don't understand why I am getting what I am. Maybe
someone can explain to me why it seems the extend gives an error even though
there is space available.



This is what I have available for logs:



[EMAIL PROTECTED]:dsmserv display logvol

ANR0900I Processing options file dsmserv.opt.

ANR7811I Direct I/O will be used for all eligible disk files.

ANR0990I Server restart-recovery in progress.

ANR0200I Recovery log assigned capacity is 7100 megabytes.

ANR0201I Database assigned capacity is 83000 megabytes.



Volume Name (Copy 1): /adsmlog2/log001.dsm

 Copy Status: Sync'd

Volume Name (Copy 2): /adsmlog2_m/log001_m.dsm

 Copy Status: Sync'd

Volume Name (Copy 3):

 Copy Status: Undefined

Available Space (MB): 5,000

Allocated Space (MB): 2,100

 Free Space (MB): 2,900



Volume Name (Copy 1): /adsmlog2/log003.dsm

 Copy Status: Sync'd

Volume Name (Copy 2): /adsmlog2_m/log003_m.dsm

 Copy Status: Sync'd

Volume Name (Copy 3):

 Copy Status: Undefined

Available Space (MB): 500

Allocated Space (MB): 0

 Free Space (MB): 500



Volume Name (Copy 1): /adsmlog2/log002.dsm

 Copy Status: Sync'd

Volume Name (Copy 2): /adsmlog2_m/log002_m.dsm

 Copy Status: Sync'd

Volume Name (Copy 3):

 Copy Status: Undefined

Available Space (MB): 5,000

Allocated Space (MB): 5,000

 Free Space (MB): 0



This is what happened when I tried to extend. The question is did it work or
not. If not why? There is plenty of unused space available. Did I define the
command wrong?



[EMAIL PROTECTED]:dsmserv extend log /adsmlog2/log001.dsm 500

ANR0900I Processing options file dsmserv.opt.

ANR7811I Direct I/O will be used for all eligible disk files.

ANR0200I Recovery log assigned capacity is 7000 megabytes.

ANR0201I Database assigned capacity is 83000 megabytes.

ANR0306I Recovery log volume mount in progress.

ANRD admstart.c(3463): ThreadId26 Error 21 from lvmAddVol.

ANR7835I The server thread 25 terminated in response to server shutdown.

ANR7835I The server thread 26 terminated in response to server shutdown.

ANR0991I Server shutdown complete.







What I finally had to do is create a new volume of 100mb.



[EMAIL PROTECTED]:dsmfmt -log /adsmlog2/log004.dsm 100

ANR0900I Processing options file dsmserv.opt.

ANR7811I Direct I/O will be used for all eligible disk files.

ANR0200I Recovery log assigned capacity is 7000 megabytes.

ANR0201I Database assigned capacity is 83000 megabytes.

ANR0306I Recovery log volume mount in progress.

ANR0984I Process 1 for EXTEND LOG started in the BACKGROUND at 09:21:23.

ANR0307I Recovery log extend in progress; 4 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 8 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 12 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 16 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 20 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 24 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 28 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 32 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 36 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 40 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 44 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 48 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 52 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 56 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 60 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 64 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 68 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 72 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 76 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 80 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 84 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 88 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 92 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 96 megabytes of 100 formatted.

ANR0307I Recovery log extend in progress; 100 megabytes of 100 formatted.

ANR2268I Recovery log assigned capacity has been extended.

ANR0988I Process 1 for EXTEND LOG running in the BACKGROUND processed

104,857,600 bytes with a completion state of SUCCESS at 09:21:42.

ANR7835I The server thread 25 terminated in response to server shutdown.

ANR7835I The server thread 26 terminated in response to server shutdown.

ANR0991I 

Re: TSM Server shutdown due to log full

2005-04-26 Thread Andrew Raibeck
The rc 21 means that the volume is already added to TSM. You need to
format a *new* log volume, then use the dsmserv extend log command to add
it.

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED]
Internet e-mail: [EMAIL PROTECTED]

The only dumb question is the one that goes unasked.
The command line is your friend.
Good enough is the enemy of excellence.

ADSM: Dist Stor Manager ADSM-L@VM.MARIST.EDU wrote on 2005-04-26
10:47:36:

 Last night this happened to me and after struggling to get it back up I
 don't understand why what I had in place to help with this seems to be
 worthless or I just don't understand why I am getting what I am. Maybe
 someone can explain to me why it seems the extend gives an error even
though
 there is space available.



 This is what I have available for logs:



 [EMAIL PROTECTED]:dsmserv display logvol

 ANR0900I Processing options file dsmserv.opt.

 ANR7811I Direct I/O will be used for all eligible disk files.

 ANR0990I Server restart-recovery in progress.

 ANR0200I Recovery log assigned capacity is 7100 megabytes.

 ANR0201I Database assigned capacity is 83000 megabytes.



 Volume Name (Copy 1): /adsmlog2/log001.dsm

  Copy Status: Sync'd

 Volume Name (Copy 2): /adsmlog2_m/log001_m.dsm

  Copy Status: Sync'd

 Volume Name (Copy 3):

  Copy Status: Undefined

 Available Space (MB): 5,000

 Allocated Space (MB): 2,100

  Free Space (MB): 2,900



 Volume Name (Copy 1): /adsmlog2/log003.dsm

  Copy Status: Sync'd

 Volume Name (Copy 2): /adsmlog2_m/log003_m.dsm

  Copy Status: Sync'd

 Volume Name (Copy 3):

  Copy Status: Undefined

 Available Space (MB): 500

 Allocated Space (MB): 0

  Free Space (MB): 500



 Volume Name (Copy 1): /adsmlog2/log002.dsm

  Copy Status: Sync'd

 Volume Name (Copy 2): /adsmlog2_m/log002_m.dsm

  Copy Status: Sync'd

 Volume Name (Copy 3):

  Copy Status: Undefined

 Available Space (MB): 5,000

 Allocated Space (MB): 5,000

  Free Space (MB): 0



 This is what happened when I tried to extend. The question is did it
work or
 not. If not why? There is plenty of unused space available. Did I define
the
 command wrong?



 [EMAIL PROTECTED]:dsmserv extend log /adsmlog2/log001.dsm 500

 ANR0900I Processing options file dsmserv.opt.

 ANR7811I Direct I/O will be used for all eligible disk files.

 ANR0200I Recovery log assigned capacity is 7000 megabytes.

 ANR0201I Database assigned capacity is 83000 megabytes.

 ANR0306I Recovery log volume mount in progress.

 ANRD admstart.c(3463): ThreadId26 Error 21 from lvmAddVol.

 ANR7835I The server thread 25 terminated in response to server shutdown.

 ANR7835I The server thread 26 terminated in response to server shutdown.

 ANR0991I Server shutdown complete.







 What I finally had to do is create a new volume of 100mb.



 [EMAIL PROTECTED]:dsmfmt -log /adsmlog2/log004.dsm 100

 ANR0900I Processing options file dsmserv.opt.

 ANR7811I Direct I/O will be used for all eligible disk files.

 ANR0200I Recovery log assigned capacity is 7000 megabytes.

 ANR0201I Database assigned capacity is 83000 megabytes.

 ANR0306I Recovery log volume mount in progress.

 ANR0984I Process 1 for EXTEND LOG started in the BACKGROUND at 09:21:23.

 ANR0307I Recovery log extend in progress; 4 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 8 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 12 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 16 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 20 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 24 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 28 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 32 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 36 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 40 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 44 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 48 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 52 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 56 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 60 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 64 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 68 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 72 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 76 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 80 megabytes of 100 formatted.

 ANR0307I Recovery log extend in progress; 84 megabytes of 100 formatted.

 ANR0307I Recovery log extend in