03-31-2016 07:09 AM - edited 03-10-2019 11:37 PM
I have a problem deleting files from the disk of my ACS 5.6 System, running on appliance (SNS-3415).
In former I created some directories for different repositories.
In one of those there are many orphaned files (about 42GB) that I want to delete.
Unfortunately I can't because the delete-command on CLI doesn't accept file names (disk:/path...) bigger than 80 chars.
# delete ?
<WORD> File name(use disk:/path) (Max Size - 80)
Or does it mean "Max Size minus 80"? But what is "Max Size"?
I'm running into that issue (e.g.):
# delete disk:/Repositories/Backup1/acsviewdbincr_10_nameofmyACSServer_20130820_010000.tar.gpg
% Error: disk:/Repositories/Backup1/acsviewdbincr_10_nameofmyACSServer_20130820_010000.tar.gpg - File not found
Some other shorter named files can be deleted:
delete disk:/Repositories/Backup1/catalog.XML --> gets deleted
What can I do? I'm running out of disk space :-(
03-31-2016 07:18 AM
Stephan,
Can you try using wildcards, as a workaround?
If that doesn't pan out, please open a TAC case so we can help you delete those files using the root patch.
Javier Henderson
Cisco Systems
03-31-2016 01:00 PM
Hello Javier,
thanks for your quick response.
Unfortunately the delete-command doesn't accept wildcards.
I already have opened a TAC case and the TAC also suggested to use the root patch.
But I solved it another way...
Actually my problem was, that I wanted to update to 5.7 and because of lack of disk space I couldn't make a local system backup before update.
So I backed it up via FTP repository and installed upgrade to 5.7.
Fortunately it worked.
And since 5.7 the delete-command supports up to 240 chars :-)
File deletion was sucessful and my disk space is OK again.
Best regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide