Eventually, a node backed up to TSM is retired. Some time after that, we come to the decision that the machine's data should be discarded. Herein find instructions to accomplish that process.
I see in my report a device:
server 'ext', OLD-CAP3.JOU.UFL.EDU
tolerance age(days) filespace
1 1357.4 /opt
1 1357.4 /usr
1 1357.4 /space
1 1357.4 /home
1 1357.4 /
1 1357.4 /var
1 1357.4 /boot
I think this entire machine can go away. I should check first, to make sure there are no other filespaces, which are up to date, among these.
tsm: EXT>q filespace OLD-CAP3.JOU.UFL.EDU *
Having satisfied myself that I want to completely remove the machine, I need to 'delete' the file spaces. I log into the TSM admin command line (dsmadmc), and
run the command:
tsm: EXT> del filespace OLD-CAP3.JOU.UFL.EDU *
This deletes -ALL- of the filespaces associated with that machine.
You'll be able to see the deletion effort procedding by watching the
extant processes.
tsm: EXT>q proc
Process Process Description Status
Number
-------- -------------------- -------------------------------------------------
1,523 DELETE FILESPACE Deleting file space * (backup/archive data) for
node OLD-CAP3.JOU.UFL.EDU: 32026 objects
deleted.
Eventually, that process will be gone. You can then 'remove' the node:
tsm: EXT>rem node old-cap3.jou.ufl.edu
If you've got a machine for which you only want to delete _some_ data,
like my workstation here...
server 'int', CORNPONE.OSG.UFL.EDU
tolerance age(days) filespace
1 15033.5 /media/3165-3666
you can identify the affected filespace with 'q filespace'.
tsm: INT>q filespace cornpone.osg.ufl.edu
Node Name Filespace FSID Platform Filespace Is Files- Capacity Pct
Name Type pace (MB) Util
Unicode?
--------------- ----------- ---- -------- --------- --------- ----------- -----
CORNPONE.OSG.U- / 1 Linux86 EXT4 No 228,965.9 29.2
FL.EDU
CORNPONE.OSG.U- /media/316- 2 Linux86 VFAT No 7,572.0 17.3
FL.EDU 5-3666
So that odd filespace (in fact it attempted to backup my phone) is
filespace ID 2. So I can:
tsm: INT> del filespace cornpone.osg.ufl.edu 2 namet=fsid
This says I'm deleting filespace '2', and identifying the filespace by
FSID instead of name. This is frequently more convenient, especially
with UNC-based path names.