• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

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

Sunhillow

ADSM.ORG Senior Member
Joined
Oct 27, 2003
Messages
375
Reaction score
7
Points
0
Location
Stuttgart, Germany
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!
 

dyna

ADSM.ORG Member
Joined
Mar 17, 2006
Messages
43
Reaction score
2
Points
0
Website
Visit site
delete volh tod=-3 t=exp ... then if needed upd libv ... stat=scr
 

Sunhillow

ADSM.ORG Senior Member
Joined
Oct 27, 2003
Messages
375
Reaction score
7
Points
0
Location
Stuttgart, Germany
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.
 

Sunhillow

ADSM.ORG Senior Member
Joined
Oct 27, 2003
Messages
375
Reaction score
7
Points
0
Location
Stuttgart, Germany
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.
 

Sunhillow

ADSM.ORG Senior Member
Joined
Oct 27, 2003
Messages
375
Reaction score
7
Points
0
Location
Stuttgart, Germany
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:
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.4%
  • Keep using TSM for Spectrum Protect.

    Votes: 60 61.2%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.2%
  • Other (please comement)

    Votes: 8 8.2%

Forum statistics

Threads
31,736
Messages
135,288
Members
21,733
Latest member
valdemiroalves
Top