So my "/usr/openv" directory is full.
And when i go into /usr/openv, this is the size list i get.
and this is the file size 6 months ago:
If you notice, "netbackup" and "db" are very different sizes from 6 months ago
What files are safe to delete in order to get more space?
There is nothing at all that you can delete from inside the db folder. And usually nothing you can delete from inside the netbackup folder except maybe some log files, if they exist, but see the NetBackup Logging Guide for steps re managing log file space.
A better question to ask yourself is to determine where the space is being used inside the netbackup folder.
vxlogmgr -F will delete any 'old' vxlogs (just leaves the current ones being ritten to in place) - this can sometime give a bit of a quick fix for disk space issues.
Has someone dropped a load of files in the wrong place - have a search for the biggest files in netbackup directory and it's subfolders.
I suspect the biggest area might be under images (the catalog .f files ) - you have a few choices ...
Expire some backups (probably not the best idea)
Increase disk space
Archive the catalog
Compress the catalog
You may want to drill down in the netbackup folder - check the size of netbackup/db and netbackup/logs.
Contents folders under netbackup/logs are the only files that you can delete with confidence.
Contents of netbackup/db/images should NEVER be deleted.
The size is directly linked to number of files and folders backed up on clients and the retention levels in your Policy Schedules.
These image files must be kept to ensure restores. NBU will automatically delete image files when backups expire.
200GB for your openv partition is way too small for a busy backup environment with lengthy retentions.
Either increase this partition or provide a new partition for the images folder.
There are instructions in NBU Admin Guide I on how to do this.
Start reading here (and all related topics):
You cannot delete legacy logs using NBU commands.
You delete them using Unix commands.
Speak to your Unix sysadmin if you do not know how.
The 'jbp' logs are created when you use 'BAR' GUI to perform restores or user backups.