Results 1 to 6 of 6
-
04-16-2012, 08:34 AM #1Member
- Join Date
- Nov 2010
- Location
- Belgium
- Posts
- 71
- Thanks
- 14
- Thanked 0 Times in 0 Posts
Emptying stale data from and active data pool
Hi,
I have an active data pool which seems to hold data from servers which should not be found there. The fault is entirely mine but I'd now like to remove the data.
How can I clean the active disk pool of data from "SERVERNAME"?
I did a
to find what servers were still using the active data pool. Then aCode:q content /tsmfile/000015BE.BFS
does indeed show that the server does use the active data pool (FSID 3), but aCode:q occ SERVERNAME
does not split storage pools but sorts by partition, so I have no way of just saying, delete files in the active disk pool for SERVERNAME.Code:q fil SERVERNAME
Thank you for any help!Current Infrastructure:
TSM Server 6.3.2.0 running on Linux Suse 11 SP2 - TSM Clients all running 6.2.2.0 or better - TDPs at latest version.
-
04-16-2012, 04:41 PM #2Moderator
- Join Date
- Aug 2005
- Location
- Somewhere in the US
- Posts
- 5,300
- Thanks
- 2
- Thanked 137 Times in 135 Posts
Please clarify:
Do you still need the ENTIRE data for servername, or just want to get rid of the data belonging to servername on /tsmfile/000015BE.BFS?Ed
-
04-16-2012, 08:40 PM #3Member
- Join Date
- Oct 2007
- Location
- Australia
- Posts
- 92
- Thanks
- 0
- Thanked 9 Times in 9 Posts
The best option I can think of would be to mark all non-empty active pool volumes read only, then do a MOVE NODEDATA SERVERNAME FROMSTG=ACTIVEPOOLNAME, to consolidate that server's data onto empty volumes. Once the MOVE NODEDATA completes, use QUERY NODEDATA SERVERNAME STG=ACTIVEPOOLNAME to get a list of volumes holding the data for that particular server, and finish with DELETE VOLUME DISCARDDATA=YES for each such volume.
You can lather, rinse, and repeat for each server you need to push out of the active pool. Or you can run the MOVE NODEDATAs in sequence, and then finish off with the DELETE VOLUMEs.
Be careful not to run a COPY ACTIVEDATA while the MOVE NODEDATA process(es) is/are running, or you may have to re-run it after the deletion processes complete.
You could also do a QUERY NODEDATA before the MOVE NODEDATA to get a list of volumes, then QUERY NODEDATA * VOL=VOLNAME to check whether the data in that volume is exclusively servers you want to nuke from the pool; if it is, you can run the DELETE VOLUME for that volume before the MOVE NODEDATA, to cut down on the data movement. Depends on how much data you need to clean out.
Be very, very careful when running DELETE VOLUME; check, double check, and triple check before saying "yes, go ahead and delete it", lest you delete something important by accident.
-
The Following User Says Thank You to sjl For This Useful Post:
foobar2devnull (04-17-2012)
-
04-17-2012, 02:15 AM #4Member
- Join Date
- Nov 2010
- Location
- Belgium
- Posts
- 71
- Thanks
- 14
- Thanked 0 Times in 0 Posts
I like how answers are coming from all corners of the world!

sjl got what I am trying to do. Flush one or more servers from the active data pool without loosing data from these servers on other storage pools. Who knows why I wan't able to describe it this way in the first place?
Thank you both for taking the time to answer. Great community. I hope I can return the favour sometime.Current Infrastructure:
TSM Server 6.3.2.0 running on Linux Suse 11 SP2 - TSM Clients all running 6.2.2.0 or better - TDPs at latest version.
-
04-17-2012, 03:11 AM #5Member
- Join Date
- Oct 2007
- Location
- Australia
- Posts
- 92
- Thanks
- 0
- Thanked 9 Times in 9 Posts
All together now: "It's a small world after all, it's a small world after all ..."

One other thing: if you don't mind nuking data that should be kept in the active pool, you can just do the QUERY NODEDATA SERVERNAME command, then DELETE VOLUME on all of those volumes. The next COPY ACTIVEDATA will reinstate the extra data that was deleted, so the extra deletions will be a transient thing. It's a tradeoff: more data movement before the deletion, or after it? You can also do the QUERY NODEDATA * VOL=volume to figure out whether it's better to just nuke that volume, or leave it be and pull out the server's data using MOVE NODEDATA.
It comes down to which tradeoffs you want to make, like so much in IT in general.
-
The Following User Says Thank You to sjl For This Useful Post:
foobar2devnull (04-17-2012)
-
04-17-2012, 05:40 AM #6Member
- Join Date
- Nov 2010
- Location
- Belgium
- Posts
- 71
- Thanks
- 14
- Thanked 0 Times in 0 Posts
I'm still learning a lot and your posts have been very helpful. The ADP was supposed to be migrated to another in an attempt to define some kind of SLA. In the end, a greater project is going to take over so I might as well re-use the ADP. I evaluated your commands and the data on the ADP and decided I could wipe all files in the ADP and define new servers to use it once cleaned.
Thanks again for your help. Very instructive.Current Infrastructure:
TSM Server 6.3.2.0 running on Linux Suse 11 SP2 - TSM Clients all running 6.2.2.0 or better - TDPs at latest version.
Similar Threads
-
active data pool implementation
By linuxdomination in forum TSM ServerReplies: 3Last Post: 01-14-2010, 08:23 AM -
Restore from active data pool
By heada in forum Restore / Recovery DiscussionReplies: 3Last Post: 04-02-2009, 10:03 AM -
Active Data Pool - Backupset
By henadsm in forum Backup / Archive DiscussionReplies: 2Last Post: 02-25-2008, 11:39 AM -
Active-Data pool for DR?
By rcard in forum Backup / Archive DiscussionReplies: 4Last Post: 09-28-2007, 05:18 AM -
Active Data Pool - What's The Point?
By chad_small in forum TSM ServerReplies: 3Last Post: 09-25-2007, 07:20 PM


Reply With Quote
