- - - Documentation from the target server - - - The qvolsr2 script lists volumes in a storage pool in last write date order, and makes the next command in my current process. tsm: LM2>run qvolsr2 UNIX1_CPPT_REG Volume PCT_UTILIZED EST_CAPACITY_MB STATUS ACCESS last write ---------------------- ------------ --------------- ------- --------- ---------- run lm2-recl 301454L3 55.9 524401.8 FULL READONLY 2009-07-17 run lm2-recl 301458L3 90.5 572657.1 FULL READONLY 2009-08-06 run lm2-recl 301450L3 81.0 623058.3 FULL READONLY 2009-08-13 run lm2-recl 301802L3 50.0 960993.5 FULL READONLY 2009-08-24 run lm2-recl 301806L3 59.2 855778.1 FULL READONLY 2009-08-26 run lm2-recl 301808L3 36.7 963645.7 FULL READONLY 2009-08-28 run lm2-recl 301451L3 89.0 704715.0 FULL READONLY 2009-09-26 run lm2-recl 301816L3 100.0 662335.9 FULL READONLY 2009-09-26 run lm2-recl 301456L3 99.9 774536.1 FULL READONLY 2009-09-29 run lm2-recl 301817L3 98.4 761519.5 FULL READONLY 2009-09-29 run lm2-recl 301819L3 67.8 976854.7 FULL READONLY 2009-10-15 Until the enhancment is delivered, I would now run the script lm2-recl on the first 10 volumes to find the volume names in the source server. Here is the output for the first volume. The script generates move data commands to be run in the source server. tsm: LM2>run lm2-recl 301454L3 Node Name: UNIX1_CPP_REG Type: Arch Filespace Name: ADSM.SERVER Hexadecimal Filespace Name: FSID: 1 Client's Name for File: UNX1.REG/CPP_REG.BFS.245080199BFS.OBJ.1 Hexadecimal Client's Name for File: Aggregated?: No Stored Size: 195.77 M Segment Number: 1/1 Cached Copy?: No Node Name: UNIX1_CPP_REG Type: Arch Filespace Name: ADSM.SERVER Hexadecimal Filespace Name: FSID: 1 Client's Name for File: UNX1.REG/CPP_REG.BFS.247514086BFS.OBJ.43 Hexadecimal Client's Name for File: Aggregated?: No Stored Size: 2,064.76 M Segment Number: 1/2 Cached Copy?: No Unnamed[1] Unnamed[2] Unnamed[3] ---------- ------------------------------ ---------- move data CPP_REG.BFS.245080199 wait=yes move data CPP_REG.BFS.245080892 wait=yes move data CPP_REG.BFS.245081640 wait=yes move data CPP_REG.BFS.245082324 wait=yes move data CPP_REG.BFS.245255560 wait=yes move data CPP_REG.BFS.247514086 wait=yes ANR1462I RUN: Command script LM2-RECL completed successfully. And here is the lm2-recl script - tsm: LM2>run qscr lm2-recl Description ----------------------------------------------------------------------------------------------------------------------------- generate command to reclaim virtual volumes Line num Command -------- -------------------------------------------------------------------------------------------------------------------- 1 q con $1 count=1 f=d 5 q con $1 count=-1 f=d 10 set sqldisplaymode w 15 select distinct 'move data ', cast(substr(file_name, 10, posstr(file_name, 'BFS.OBJ')-10) as char(30)), 'wait=yes' - 20 from contents where volume_name = '$1' ANR1462I RUN: Command script QSCR completed successfully. - - - Documentation from the source server - - - A select using the values in the CRITERIA definition returns the source volume names which reside on the oldest tape in the target server. tsm: UNIX1>select cast(volume_name as char(44)) as "Volume" from volumes - cont> where stgpool_name = 'CPP_REG' and date(last_write_date) <= '2009-09-29' Volume --------------------------------------------- CPP_REG.BFS.245080199 CPP_REG.BFS.245080892 CPP_REG.BFS.245081640 CPP_REG.BFS.245082324 CPP_REG.BFS.245255560 CPP_REG.BFS.247514086 And here are the storage pool and device class definitons. tsm: UNIX1>q stg cpp_reg f=d Storage Pool Name: CPP_REG Storage Pool Type: Copy Device Class Name: CPP_REG Estimated Capacity: 1,107,986 G Space Trigger Util: Pct Util: 8.2 Pct Migr: Pct Logical: 96.4 High Mig Pct: Low Mig Pct: Migration Delay: Migration Continue: Migration Processes: Reclamation Processes: 1 Next Storage Pool: Reclaim Storage Pool: Maximum Size Threshold: Access: Read/Write Description: copypool on tsm3 for regular files Overflow Location: Cache Migrated Files?: Collocate?: No Reclamation Threshold: 100 Offsite Reclamation Limit: No Limit Maximum Scratch Volumes Allowed: 100,000 Number of Scratch Volumes Used: 15,096 Delay Period for Volume Reuse: 0 Day(s) Migration in Progress?: Amount Migrated (MB): Elapsed Migration Time (seconds): Reclamation in Progress?: No Last Update by (administrator): WFC1450 Last Update Date/Time: 10/09/2009 11:57:13 Storage Pool Data Format: Native Copy Storage Pool(s): Active Data Pool(s): Continue Copy on Error?: CRC Data: No Reclamation Type: Threshold Overwrite Data when Deleted: Deduplicate Data?: No Processes For Identifying Duplicates: Duplicate Data Not Stored: tsm: UNIX1>q dev cpp_reg f=d Device Class Name: CPP_REG Device Access Strategy: Sequential Storage Pool Count: 1 Device Type: SERVER Format: Est/Max Capacity (MB): 65,536.0 Mount Limit: 10 Mount Wait (min): Mount Retention (min): 0 Label Prefix: UNX1.REG Library: Directory: Server Name: CPP_REG Retry Period: 10 Retry Interval: 30 Shared: High-level Address: Minimum Capacity: WORM: No Drive Encryption: Scaled Capacity: Last Update by (administrator): WFC1450 Last Update Date/Time: 04/13/2009 16:39:12