Results 1 to 6 of 6
-
12-08-2012, 02:12 AM #1Newcomer
- Join Date
- Dec 2012
- Posts
- 2
- Thanks
- 1
- Thanked 0 Times in 0 Posts
How can I check out multiple volumes using the VOLlist command?
Hello,
I am fairly new to TSM. Just about every Friday, I have to eject around 100 plus volumes to make room for scratch- currently I am doing this one at a time, and it is time consuming.
My question is, how can I use the VOLlist cmd properly? Do I need to create a file with the volumes I intend to eject before this cmd will work?
Thanks for your help.
-
12-08-2012, 10:41 AM #2Moderator
- Join Date
- Aug 2005
- Location
- Somewhere in the US
- Posts
- 5,300
- Thanks
- 2
- Thanked 137 Times in 135 Posts
If your library is equipped with a multi I/O slot:
checkout libvol <library_name> remove=bulk voll=c:\file.txt checkl=no waitt=0
file.txt contains:
VOL1
VOL2
VOL3
.
.
.
The number of tapes ejected at a time will be limited to the number of I/O slots. After removing the tapes and closing the I/O door, the next batch is ejected, and so on.
The big question: why is that you have to eject this big number of tapes every week? Are these copy tapes? If they are, you should really be checking out daily. If they are not copy tapes, there is something fundamentally wrong with your TSM setup - as online tapes should be kept in the library.Ed
-
The Following User Says Thank You to moon-buddy For This Useful Post:
MediaGuy (12-18-2012)
-
12-08-2012, 08:12 PM #3
Alt solution:
Physically remove the 100 tapes from the library.
Then from the TSM Server issue audit library.
NOTE: The AUDIT LIBRARY command does not automatically add new volumes to a library. To add new volumes, you must use the CHECKIN LIBVOLUME command.
Like moon-buddy inquire - why are we checking out soooo many tapes?
Legal wants to keep the data forever?
Good Luck,
Sias
-
12-12-2012, 10:42 PM #4Newcomer
- Join Date
- Dec 2012
- Posts
- 2
- Thanks
- 1
- Thanked 0 Times in 0 Posts
Thanks YOU guys are awesome! I will try this out on Friday. Can I use a simuliar cmd to update the access of volumes? For example, when I eject volumes, I turn around and update those volumes to read-only. Again very time consuming....ugh.
To answer your question, these are private vols (not always 100-but seems like it has been over the past few weeks) with a read date of over 60 days that I eject out. We have daily ejects (copies), but to prevent weekend tape movement; I have to get our scratch counts (in multiple instances) up, to hold us until Monday.
Thanks for your time!
-
12-13-2012, 04:52 AM #5Member
- Join Date
- Mar 2008
- Location
- Minden
- Posts
- 147
- Thanks
- 1
- Thanked 2 Times in 2 Posts
Hi,
this is what i'm use to checkout tapes. you can change to read the Vollist. The are update to acc=offsite in one step.
$1 are spaceholder if run the script as batch for one tape. then syntax is batch tape nr.
CHECKOUT LIBVOLUME YourStgp $1 CHECKLABEL=Yes FORCE=NO REMOVE=bulk
if (rc_ok)
upd vol $1 access=offsite wherestgpool=Yourstgp wheredevclass=YourDevclass
michael
-
12-13-2012, 12:03 PM #6
Sounds like you either need additional frames or need to switch to a disk based dedupe solution.
Similar Threads
-
Command to check a running restore.
By ebisoba in forum Restore / Recovery DiscussionReplies: 4Last Post: 03-02-2011, 10:25 AM -
Update volume with vollist?
By jonathan274 in forum TSM OperationReplies: 2Last Post: 03-12-2010, 08:05 AM -
Backup Multiple volumes in same backup command
By kvwar in forum NDMPReplies: 1Last Post: 12-23-2009, 12:06 AM -
Command to check Filespace in a particular volume
By nikhil_1707 in forum Restore / Recovery DiscussionReplies: 2Last Post: 12-12-2008, 10:44 AM -
Striped logiv volumes OR multiple volumes
By steven.langdale in forum Performance TuningReplies: 1Last Post: 02-01-2007, 05:02 PM


Reply With Quote
