Re: cannot run command
Hello all, Unfortunately when i came in office today the other guy rebooted the server and now its ok.So the problem is resolved but i dont know how could we have solved it without reboot. Well thanks everyone for your suggestions!! On 2/12/09, ashish sharma ashishsharm...@gmail.com wrote: Hello Guys, I will try the things today in ofice and will let you know the status asap.For sure, i am confident that rebooting and restarting the tsm server will solve the issue but at this point of time i am not in favour of this. On 2/12/09, Conway, Timothy timothy.con...@jbssa.com wrote: Ashish: Your situation is somewhat familiar to me. I've had the server process become selectively and increasingly unresponsive, to the point where sometimes the only way to get it down is with a kill -TERM. It most often happens when I do storage-related queries while waiting for a tape operation, or database-heavy operations while running a nasty select, or especially, when I've got a tape that's being checked in or out with no checkin or checkout running. Since the server is responsing to you still in some degree, if you can get a brief window for a halt/start, you'll be able to clear it up quickly. When it's like that, commonly the listener on 1500 stays open long after the dsmserv process is gone, so wait for that to go away. tcon...@lusgr0099v2zlv /home/tconwayssh tsmserv netstat -an|grep 1500.*LIST Warning: No xauth data; using fake authentication data for X11 forwarding. tcp4 0 0 *.1500 *.* LISTEN tcon...@lusgr0099v2zlv /home/tconway If you try to start the server process before that port is available, the start will fail. I've had a couple times where it was wedged so badly that after waiting 40 minutes for the port to become available, I had to reboot. I'm known for revealing flaws in the code. -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 8:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
You need to run q pr from the TSM interface to see processes. Jane. -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: 11 February 2009 16:02 To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 Please check that this email is addressed to you. If not, you should delete it immediately as its contents may be confidential and its disclosure, copying or distribution unlawful. C. J. Clark International Limited takes steps to prevent the transmission of electronic viruses but responsibility for screening incoming messages and the risk of such transmission lies with the recipient. C. J. Clark International Limited Trading as Clarks Registered in England number 141015. Registered office 40 High Street, Street, Somerset. BA16 0EQ. England. This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
Re: cannot run command
q proc works as well. I use it all the time. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Baker, Jane Sent: Wednesday, February 11, 2009 10:07 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command You need to run q pr from the TSM interface to see processes. Jane. -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: 11 February 2009 16:02 To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 Please check that this email is addressed to you. If not, you should delete it immediately as its contents may be confidential and its disclosure, copying or distribution unlawful. C. J. Clark International Limited takes steps to prevent the transmission of electronic viruses but responsibility for screening incoming messages and the risk of such transmission lies with the recipient. C. J. Clark International Limited Trading as Clarks Registered in England number 141015. Registered office 40 High Street, Street, Somerset. BA16 0EQ. England. This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
Re: cannot run command
What other sessions are running when you issue the command? I've known some processes kind of hold the storage in what seems like limbo for a while. Does this box do anything else besides TSM? Oh, and q path and q drive to see where they stand. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
Hello Howard, There are a total of 37 sessions running,some are user sessions and some are of library clients.this box is running two other tsm server instances . q path again hangs while q drive is perfect. On 2/11/09, Howard Coles howard.co...@ardenthealth.com wrote: What other sessions are running when you issue the command? I've known some processes kind of hold the storage in what seems like limbo for a while. Does this box do anything else besides TSM? Oh, and q path and q drive to see where they stand. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
I agree q pr will detail which drives in use, as well as I have seen that certain processes will reserve the drive, cancelling the session or process will release the drive. Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Howard Coles Sent: February 11, 2009 11:12 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command What other sessions are running when you issue the command? I've known some processes kind of hold the storage in what seems like limbo for a while. Does this box do anything else besides TSM? Oh, and q path and q drive to see where they stand. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
Hello Kamran, q pr gives nothing and also i am unable to cancel the session using cancel session command.It show cancel as seccess but when i do q sessioni can see the session again wityh same session number. On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: I agree q pr will detail which drives in use, as well as I have seen that certain processes will reserve the drive, cancelling the session or process will release the drive. Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Howard Coles Sent: February 11, 2009 11:12 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command What other sessions are running when you issue the command? I've known some processes kind of hold the storage in what seems like limbo for a while. Does this box do anything else besides TSM? Oh, and q path and q drive to see where they stand. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
What are the other two TSM instances doing? I'm assuming they share the Library and drives right? It could be that this TSM instance is just waiting for access to the drives. Also what state were some of the sessions in? Like media wait running etc. I usually see this behavior when something is waiting for the library and it's taking its time. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:23 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello Howard, There are a total of 37 sessions running,some are user sessions and some are of library clients.this box is running two other tsm server instances . q path again hangs while q drive is perfect. On 2/11/09, Howard Coles howard.co...@ardenthealth.com wrote: What other sessions are running when you issue the command? I've known some processes kind of hold the storage in what seems like limbo for a while. Does this box do anything else besides TSM? Oh, and q path and q drive to see where they stand. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
yes.howard,you are right.I am attaching the o/p of sessions in a file and i dont see them as waiting fro something. On 2/11/09, Howard Coles howard.co...@ardenthealth.com wrote: What are the other two TSM instances doing? I'm assuming they share the Library and drives right? It could be that this TSM instance is just waiting for access to the drives. Also what state were some of the sessions in? Like media wait running etc. I usually see this behavior when something is waiting for the library and it's taking its time. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:23 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello Howard, There are a total of 37 sessions running,some are user sessions and some are of library clients.this box is running two other tsm server instances . q path again hangs while q drive is perfect. On 2/11/09, Howard Coles howard.co...@ardenthealth.com wrote: What other sessions are running when you issue the command? I've known some processes kind of hold the storage in what seems like limbo for a while. Does this box do anything else besides TSM? Oh, and q path and q drive to see where they stand. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
I meant to mention if you have a 3584 you should be able to access the web interface and see which drives have tapes mounted. That will give you an idea of how busy the library is. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Kamran Rao Sent: Wednesday, February 11, 2009 10:26 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command I agree q pr will detail which drives in use, as well as I have seen that certain processes will reserve the drive, cancelling the session or process will release the drive. Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Howard Coles Sent: February 11, 2009 11:12 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command What other sessions are running when you issue the command? I've known some processes kind of hold the storage in what seems like limbo for a while. Does this box do anything else besides TSM? Oh, and q path and q drive to see where they stand. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
No, we're not sugarcoating anything. The Library itself has a web interface, that displays pretty much everything and anything you need to know about it. It will display drive error numbers, mounts, cleaning tape usage, etc. It may be you have tape drives that are needing to be cleaned, and are waiting on a cleaning tape to be mounted. Sometimes there are tapes that are sitting in the drives for one reason or another where they shouldn't be, or a picker might have a tape stuck in it, or a I/O door may have been left open. So, the best route is to go to the web interface and check for errors, look at the drives' status, the io status, etc. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Kamran Rao Sent: Wednesday, February 11, 2009 11:10 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command I find this strange that you don't have any processes running at this time where you have 3 TSM instances. Any luck with getting this info from the web interface, I highly doubt because that is just sugarcoating the commands with java. Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Howard Coles Sent: February 11, 2009 11:38 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command I meant to mention if you have a 3584 you should be able to access the web interface and see which drives have tapes mounted. That will give you an idea of how busy the library is. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Kamran Rao Sent: Wednesday, February 11, 2009 10:26 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command I agree q pr will detail which drives in use, as well as I have seen that certain processes will reserve the drive, cancelling the session or process will release the drive. Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Howard Coles Sent: February 11, 2009 11:12 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command What other sessions are running when you issue the command? I've known some processes kind of hold the storage in what seems like limbo for a while. Does this box do anything else besides TSM? Oh, and q path and q drive to see where they stand. See Ya' Howard -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 10:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command
Re: cannot run command
Hello, Ashish. I've seen this before in library manager environments. Usually I recommend people bring down all their TSM servers, then on each TSM server's host, delete their device files (rmt* and smc*), run cfgmgr to redetect, restart TSM, and update their paths. It's the surest fix. If you want to spend the time to troubleshoot and find out what broke, try this, then send us the output of the lsdev command again. This will set each device to defined and then back to available. If they stay defined, then those device files have a problem. This shouldn't affect devices already in use - it should just say device busy or something like that. Note: You will probably have to do this on all your TSM servers' hosts. lsdev -Cc tape | grep IBM | awk '{print $1}' | while read DEV; do echo testing $DEV rmdev -l $DEV mkdev -l $DEV done Alex Paschal Storage Solutions Engineer MSI Systems Integrators Your Business. Better. -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 8:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.
Re: cannot run command
Hi Asish, One other issue I have seen is where the drive on the control path gets a tape stuck in it. TSM (or the driver) continually retries on the drive, and until each retry attempt times out the control path is unresponsive to commands, The indicator here is repeated entries in the AIX error log. HTH Steve Steven Harris TSM Admin, Sydney Australia Alex Paschal apasc...@msiinet .COM To Sent by: ADSM: ADSM-L@VM.MARIST.EDU Dist Stor cc Manager ads...@vm.marist Subject .EDU Re: [ADSM-L] cannot run command 12/02/2009 07:04 AM Please respond to ADSM: Dist Stor Manager ads...@vm.marist .EDU Hello, Ashish. I've seen this before in library manager environments. Usually I recommend people bring down all their TSM servers, then on each TSM server's host, delete their device files (rmt* and smc*), run cfgmgr to redetect, restart TSM, and update their paths. It's the surest fix. If you want to spend the time to troubleshoot and find out what broke, try this, then send us the output of the lsdev command again. This will set each device to defined and then back to available. If they stay defined, then those device files have a problem. This shouldn't affect devices already in use - it should just say device busy or something like that. Note: You will probably have to do this on all your TSM servers' hosts. lsdev -Cc tape | grep IBM | awk '{print $1}' | while read DEV; do echo testing $DEV rmdev -l $DEV mkdev -l $DEV done Alex Paschal Storage Solutions Engineer MSI Systems Integrators Your Business. Better. -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 8:02 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] cannot run command Hello, The o/p of command is as below: # /usr/sbin/lsdev -C -c tape -H name statuslocation description rmt0 Available 1Z-08-00-0,0 Differential SCSI 4mm Tape Drive rmt1 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 31-08-01 IBM 3584 Library Medium Changer (FCP) rmt2 Available 31-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt3 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt6 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt4 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt5 Available 2U-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt7 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) smc1 Available 2d-08-01 IBM 3584 Library Medium Changer (FCP) rmt8 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt9 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) rmt10 Available 2d-08-01 IBM 3580 Ultrium Tape Drive (FCP) while o/p of q proc does not show anything. Regards Ashish On 2/11/09, Kamran Rao kamran@grhosp.on.ca wrote: As root - run lsdev -Cc tape and see if your drives and medium changer are showing up as available - if shows up as defined then you might have a device problem. You have not mentioned what kind of library and also if it is a direct connect as scsi or via FC adapter etc etc? Regards, Kamran Rao -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: February 11, 2009 10:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication
Re: cannot run command
Ashish: Your situation is somewhat familiar to me. I've had the server process become selectively and increasingly unresponsive, to the point where sometimes the only way to get it down is with a kill -TERM. It most often happens when I do storage-related queries while waiting for a tape operation, or database-heavy operations while running a nasty select, or especially, when I've got a tape that's being checked in or out with no checkin or checkout running. Since the server is responsing to you still in some degree, if you can get a brief window for a halt/start, you'll be able to clear it up quickly. When it's like that, commonly the listener on 1500 stays open long after the dsmserv process is gone, so wait for that to go away. tcon...@lusgr0099v2zlv /home/tconwayssh tsmserv netstat -an|grep 1500.*LIST Warning: No xauth data; using fake authentication data for X11 forwarding. tcp4 0 0 *.1500 *.* LISTEN tcon...@lusgr0099v2zlv /home/tconway If you try to start the server process before that port is available, the start will fail. I've had a couple times where it was wedged so badly that after waiting 40 minutes for the port to become available, I had to reboot. I'm known for revealing flaws in the code. -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 8:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853
Re: cannot run command
Hello Guys, I will try the things today in ofice and will let you know the status asap.For sure, i am confident that rebooting and restarting the tsm server will solve the issue but at this point of time i am not in favour of this. On 2/12/09, Conway, Timothy timothy.con...@jbssa.com wrote: Ashish: Your situation is somewhat familiar to me. I've had the server process become selectively and increasingly unresponsive, to the point where sometimes the only way to get it down is with a kill -TERM. It most often happens when I do storage-related queries while waiting for a tape operation, or database-heavy operations while running a nasty select, or especially, when I've got a tape that's being checked in or out with no checkin or checkout running. Since the server is responsing to you still in some degree, if you can get a brief window for a halt/start, you'll be able to clear it up quickly. When it's like that, commonly the listener on 1500 stays open long after the dsmserv process is gone, so wait for that to go away. tcon...@lusgr0099v2zlv /home/tconwayssh tsmserv netstat -an|grep 1500.*LIST Warning: No xauth data; using fake authentication data for X11 forwarding. tcp4 0 0 *.1500 *.* LISTEN tcon...@lusgr0099v2zlv /home/tconway If you try to start the server process before that port is available, the start will fail. I've had a couple times where it was wedged so badly that after waiting 40 minutes for the port to become available, I had to reboot. I'm known for revealing flaws in the code. -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of ashish sharma Sent: Wednesday, February 11, 2009 8:08 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] cannot run command Hello all, My TSM server version is Storage Management Server for AIX-RS/6000 - Version 5, Release 3, Level 5.0 on AIX. The issue i am facing is that when i try to give command like q path or q mount the command hangs as shown below * tsm: TSMLMq mount * and does not give any o/p but when i give command like q session, it works but again i am unable to cancel any session.Does anybody has any idea why is it happening?I think restaring the server might solve the problem but at present i am not in favour of it. -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853 -- Best Regards Ashish Sharma ST Microelectronics Ltd. 919717003853