deletion script

TaSMania

ADSM.ORG Member
Joined
Nov 17, 2015
Messages
126
Reaction score
1
Points
0
How could I script a command that deletes both windows and unix form of filespace without using FSID?

So with AIX/LINUX you have forward slash = NODE /Filespaces FSID
and Windows with backward slash = NODE \\Servername\c$ FSID

so I have command below that will work with unix and I would need to add namet=Unicode for it to recognized window filespace.
dsmadmc -id=xxxx -pa=xxxx del fi Node Filespace

Is there one liner command?
 
The only way you could do a one-liner is if you delete ALL the filespaces for a node:
Code:
delete filespace NODENAME *
 
Thank you. I went ahead and use 'if' and 'else' since no one-liner
 
Back
Top