cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1487
Views
0
Helpful
2
Replies

ACS 5.6 - can't delete files in repository

stephan.ochs
Level 1
Level 1

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 :-(

2 Replies 2

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

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