[HOWTO] Cannot delete tape volumes of interrupted "export node to tape"

Sunhillow

ADSM.ORG Senior Member
Joined
Oct 27, 2003
Messages
408
Reaction score
16
Points
0
Location
Stuttgart, Germany
PREDATAR Control23

Yesterday a bigger export node process (250 TB) died because the library manager was no longer responsive.
Now I have 67 LTO6 tapes which appear in the tables of the library manager. STSM is the exporting server.

In LIBVOLUMES:
LIBRARY_NAME: TS4500-STG-COPY
VOLUME_NAME: SC0920L6
STATUS: Private
OWNER: STSM
LAST_USE: Export
HOME_ELEMENT: 2004
DEVTYPE: LTO
CLEANINGS_LEFT:
MEDIATYPE: LTO-6


and VOLHISTORY:
DATE_TIME: 2020-05-27 18:30:03.000000
UNIQUE: 0
TYPE: REMOTE
BACKUP_SERIES:
BACKUP_OPERATION:
VOLUME_SEQ:
DEVCLASS: LTO6-COPY
VOLUME_NAME: SC0920L6
LOCATION: STSM


The tapes do not appear in the volhist of the exporting server. So I tried to delete them from library manager, but with no success! How can these volumes be deleted and returned to scratch state?

Thank you all!
 
PREDATAR Control23

Thank you @dyna! This is what I tried before.

The response from library manager is:
08:23:08 LMSTG : del volh todate=05/28/2020 type=export
ANR2467I DELETE VOLHISTORY: 0 sequential volume history entries were
successfully deleted.

The exporting server does not at all know these volumes.
 
PREDATAR Control23

Deleting explicit volumes also does not work
DELete VOLHistory TODate=TODAY Type=EXPORT VOLume=SC0990L6 FORCE=Yes

Reply was
ANR2020E DELETE VOLHISTORY: Invalid parameter - VOLUME.
ANS8001I Rückkehrcode 3.
 
PREDATAR Control23

Great! Only 3 days before completion of the second try to export the node to tape:

25.06.2020 04:43:37 ANR1880W Server transaction was canceled because of a conflicting lock on table EXPORT_OBJECTS.
25.06.2020 04:43:48 ANR0728E EXPORT NODE: Processing terminated abnormally - internal error.
25.06.2020 04:43:48 ANR9999D Thread<15805741> issued message 728 from:
25.06.2020 04:43:48 ANR9999D Thread<15805741> 0x000000010001d524 StdPutMsg
25.06.2020 04:43:48 ANR9999D Thread<15805741> 0x000000010001ec04 outMsgf
25.06.2020 04:43:48 ANR9999D Thread<15805741> 0x0000000100b73c48 PrintExportStats
25.06.2020 04:43:48 ANR9999D Thread<15805741> 0x0000000100b71d9c XiExport
25.06.2020 04:43:48 ANR9999D Thread<15805741> 0x000000010000d5f4 StartThread
25.06.2020 04:43:48 ANR1893E Process 3205 for EXPORT NODE completed with a completion state of FAILURE.
25.06.2020 04:53:32 ANR1880W Server transaction was canceled because of a conflicting lock on table EXPORT_OBJECTS.
25.06.2020 04:53:32 ANR0106E xidelete.c(315): Unexpected error 1014 fetching row in table "Export.Objects".


:mad::mad::mad:
 
PREDATAR Control23

Finally I found a thread from 2006 :cool:

Command to delete remote volumes on library manager:
delete volhist todate=today type=remote volume='SP0346L6' force=yes
 
PREDATAR Control23

too late to edit previous post

After this
update libvol libraryname SP0346L6 stat=scr

and you can use it again!
 
Top