cancel
Showing results for 
Search instead for 
Did you mean: 

Java Console hang when i try to eject media from the tape library

HHay1983
Level 1

I have Linux VCS clustered master server and 2 appliances running as the media server, also i have ASC tape robot the robot is controlled by ACSLS server.

The tape library configured and working fine i can use the tapes for my backup and duplication, however, once i tried to eject any tape the Java console hang and nothing happen.

I'm doing this from Media & Device Management > Media > Robots > ASC (0)
then i select the tape and right click on it and click eject, at this point the java console hang.

11 REPLIES 11

Thiago_Ribeiro
Moderator
Moderator
Partner    VIP    Accredited

Hi @HHay1983,

Can you show us the error? 

 

Regards,

Thiago

Marianne
Level 6
Partner    VIP    Accredited Certified
Has the eject ever worked fine?
Are you always selecting the same Appliance as Device Host to perform the eject?


I have seen that more than one simultaneous eject attempt will create a lock file one one or more ACS media servers and give problems from there onwards.

Look for EJECT*.txt files under /usr/openv/volmgr/misc on both Appliances and delete any such files found.

Mike_Gavrilov
Moderator
Moderator
Partner    VIP    Accredited Certified

Can you eject same tapes using ACSLS GUI or CLI?

after a long time, the Jave gives this error.

Failed receiving from robotic software daemon (44) (MM Status 144)

@Marianne i'll check this next Sunday and give you feedback 

Marianne
Level 6
Partner    VIP    Accredited Certified
Please double check that you select one of the Appliances as Device Host to perform the eject.

@Marianne I found EJECT*.txt file in one appliance should I remove it ??

 

also, I'm not sure how to check that one of the Appliances selected as Device Host to perform the eject

@Mike_Gavrilov i didn't try this 

below logs extracted from one of media servers.

 

11:20:11.337 [10328] <6> query_acs: acs_list[0] is 0
11:20:11.355 [10328] <6> getAck: acs_response returned acs_stat = 0, RespType = 1, ReqID = 36526 for SeqNum 6300
11:20:11.380 [10328] <5> eject_acs_volumes(): ACS(0) Child ready to eject volumes
11:20:11.397 [10328] <6> getAck: acs_response returned acs_stat = 0, RespType = 1, ReqID = 36527 for SeqNum 6301
11:20:11.430 [10328] <6> getAck: acs_response returned acs_stat = 0, RespType = 1, ReqID = 36528 for SeqNum 6302
11:25:11.542 [10328] <4> getIntFinal: ACS(0) Response has not been returned by Eject command sequence 6302, ACS status = 72, STATUS_PENDING

also this from ACSLS server event log

however no cartridges are in the CAP

2017-06-18 13:34:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:36:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:38:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:40:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:42:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:44:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:46:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:48:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:50:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:52:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

2017-06-18 13:54:58 ACSSA[36528]:
1440 N sa_demux.c 1 296
CAP 0, 1, 0: Remove cartridges from CAP.

Marianne
Level 6
Partner    VIP    Accredited Certified
Yes. Those EJECT files are preventing new ejects. Delete them.
Device host selection seems find as eject attempt can be seen in media server logs.

For ongoing ACSLS troubleshooting, you can bookmark this TN:
http://www.veritas.com/docs/000026984