Deleting a TSM client/node

feedmetwinkies

ADSM.ORG Member
Joined
Oct 11, 2005
Messages
56
Reaction score
0
Points
0
Website
Visit site
I am trying to delete a server we have removed from the network but I am getting the following error-

The operation failed with return code 13 - ANR2152E REMOVE NODE: Inventory references still exist for node server.company.com. Does anyone have any advice?
 
To remove a node you need to make sure



1, That all filespaces that belong to this node has been deleted

2. If you have any BACKUPSET created for the node, you have to delete them also from the volume history.
 
Pretend I am mentally challenged and have no idea how to do what you are asking how would you tell me to get this done?
 
Without pretending, this is how you will do it.



1. Using command line admin client, issue following command:



dsmadmc> q filespace nodename



Where 'nodename' is the node that you want to delete. The output will show you filespaces that belongs to this node. If the output says 'no match found' this means there are no filespaces for this node



2. Assuming that in step 1 it showed you filespaces, you will delete the using the delete filesp command



dsmadmc> delete filesp nodename *



Where nodename is the name of the node whose filespace you want to delete. IF you want you can use '*' to delete all filespaces or specifiy the filespace that you want to delete. The names of the filespaces can be seen by the output of step 1.



Note: filespace name is case sensitive



3. To find if there is any backupset for this node, run



dsmamdc> q backupset



IF you get something in the outpout, you need to delete the backupset using the delete backupset command.



dsmadmc> delete backupset nodename backupsetname



Let me know if this helps.



Note: All of this can be done through the TSM Admin GUI too
 
Thank you very much- this is a great start. I have issued the

del filespace node* command and it appeared all the filespaces were deleted but after I reboot the server 1 files space still shows up. What am I doing wrong-



ANR2152E REMOVE NODE: Inventory references still exist for node Server-



Everytime I reboot the server the one files space is still there.
 
I know this is an old thread but to resolve the file space not deleting or seeming to reappear you can specify the FSID when you delete.



tsm: BACKUP-SRV03>q filespace fileserver-corp f=d

Node Name: FILESERVER-CORP
Filespace Name: SYSTEM SERVICES
Hexadecimal Filespace Name: 53595354454d205345525649434553
FSID: 12
Platform: WinNT
Filespace Type: SYSTEM
Is Filespace Unicode?: Yes
Capacity (MB): 0.0
Pct Util: 0.0
Last Backup Start Date/Time: 10/27/2007 18:13:51
Days Since Last Backup Started: 102
Last Backup Completion Date/Time: 10/27/2007 18:15:40
Days Since Last Backup Completed: 102
Last Full NAS Image Backup Completion Date/Time:
Days Since Last Full NAS Image Backup Completed:

tsm: BACKUP-SRV03>delete filespace fileserver-corp 12 nametype=fsid
ANR2238W This command will result in the deletion of all inventory references
to the data on filespaces that match the pattern \\fileserver-corp\h$ (fsId=12)
for node FILESERVER-CORP , whereby rendering the data unrecoverable.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANS8003I Process number 96 started.


This method worked more reliably for me. Then once these processes complete you can delete the node.
 
Back
Top