Quantcast
Channel: Symantec Connect - Backup and Recovery - 讨论
Viewing all articles
Browse latest Browse all 3749

Sorting out tapes from TLD(32) and scratch pool

$
0
0
我需要解决方案

Hi All,

I need to get a list of tapes from the output below ,store it in a file called TLD32.list  & compare it with another file which has list of tapes to see if it has scrtach tapes from the TLD32.list ,if it has run bplabel -erase -m ${i} -d hcart2 -o -p scratch -host server01  

on it .  So file one is output of vmquery  ,file 2 is output of VTL tapes.   8 is scracth pool id below. 

If you could help me just getting first column of tapes from the output below which has TLD32 in 4th column - It would be good help . Thanks

[root@server-europe01 Erase]# vmquery -bx -p 8 | grep -i 32 | more                                            

S50004  HCART2    TLD     32       4     -     000_00032_    -          19     09/15/2014 09:36     --- ---   scratch
S50005  HCART2    TLD     32       5     -     000_00032_    -           6     09/11/2014 09:25     --- ---   scratch
S50014  HCART2    TLD     32      14     -     000_00032_    -          33     09/12/2014 08:46     --- ---   scratch
S50019  HCART2    TLD     32      19     -     000_00032_    -           6     08/30/2014 09:38     --- ---   scratch
S50022  HCART2    TLD     32      22     -     000_00032_    -          18     09/12/2014 08:46     --- ---   scratch
S50024  HCART2    TLD     32      24     -     000_00032_    -          56     08/23/2014 13:59     --- ---   scratch
S50025  HCART2    TLD     32      25     -     000_00032_    -          56     08/23/2014 13:59     --- ---   scratch
S50026  HCART2    TLD     32      26     -     000_00032_    -          56     08/23/2014 13:59     --- ---   scratch
S50027  HCART2    TLD     32      27     -     000_00032_    -          55     08/22/2014 10:30     --- ---   scratch
S50028  HCART2    TLD     32      28     -     000_00032_    -          62     08/30/2014 09:38     --- ---   scratch
S50029  HCART2    TLD     32      29     -     000_00032_    -          55     08/22/2014 10:30     --- ---   scratch
S50030  HCART2    TLD     32      30     -     000_00032_    -          56     08/23/2014 13:59     --- ---   scratch
S50031  HCART2    TLD     32      31     -     000_00032_    -          56     08/23/2014 13:59     --- ---   scratch
S50032  HCART2    TLD     32      32     -     000_00032_    -          56     08/23/2014 13:59     --- ---   scratch
S50033  HCART2    TLD     32      33     -     000_00032_    -          55     08/22/2014 10:30     --- ---   scratch
S50042  HCART2    TLD     32      42     -     000_00032_    -          38     08/20/2014 11:53     --- ---   scratch
S50047  HCART2    TLD     32      47     -     000_00032_    -          18     08/21/2014 08:28     --- ---   scratch
S50053  HCART2    TLD     32      53     -     000_00032_    -          19     08/20/2014 11:53     --- ---   scratch
S50056  HCART2    TLD     32      56     -     000_00032_    -          23     09/16/2014 10:10     --- ---   scratch
S50057  HCART2    TLD     32      57     -     000_00032_    -          27     09/11/2014 09:25     --- ---   scratch
S50059  HCART2    TLD     32      59     -     000_00032_    -          36     09/11/2014 09:26     --- ---   scratch
S50060  HCART2    TLD     32      60     -     000_00032_    -          11     09/04/2014 08:22     --- ---   scratch
S50061  HCART2    TLD     32      61     -     000_00032_    -          11     09/04/2014 08:22     --- ---   scratch
S50062  HCART2    TLD     32      62     -     000_00032_    -          22     09/11/2014 09:25     --- ---   scratch
S50063  HCART2    TLD     32      63     -     000_00032_    -          37     08/25/2014 08:47     --- ---   scratch
S50064  HCART2    TLD     32      64     -     000_00032_    -          25     09/11/2014 09:24     --- ---   scratch
S50065  HCART2    TLD     32      65     -     000_00032_    -          19     09/03/2014 08:13     --- ---   scratch
S50066  HCART2    TLD     32      66     -     000_00032_    -          13     09/11/2014 09:24     --- ---   scratch
S50067  HCART2    TLD     32      67     -     000_00032_    -          10     09/03/2014 08:13     --- ---   scratch
S50068  HCART2    TLD     32      68     -     000_00032_    -          29     08/20/2014 11:54     --- ---   scratch
S50069  HCART2    TLD     32      69     -     000_00032_    -          22     09/03/2014 08:13     --- ---   scratch
--More--

 


Viewing all articles
Browse latest Browse all 3749

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>