View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001396 | bareos-core | bconsole | public | 2021-10-31 21:36 | 2021-11-24 14:43 |
Reporter | nelson.gonzalez6 | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Linux | OS | CentOS | OS Version | 7 |
Product Version | 19.2.11 | ||||
Summary | 0001396: HOW TO REMOVE FRON DB ALL ERROR, CANCELED, FAILED JOBS | ||||
Description | I HAVE NOTICED THAT WHEN LISTING IN bconsole, pools with media ids notice that have jobs from 3 to 4 years ago, all the clients that are already not in used or eliminated that are still on the db catalog list. how can i remove these jobs that are volstatus Error, experired, canceled. need sugestions. Thanks. ----------------------------- | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | L astWritten | Storage | +---------+----------------------+-----------+---------+------------+----------+--------------+---------+------+-----------+-------------+-- -------------------+---------+ | 698 | Differentialvpn-0698 | Error | 1 | 35,437,993 | 0 | 864,000 | 1 | 0 | 0 | GlusterFile | 2 021-07-23 04:42:41 | Gluster | | 900 | Differentialvpn-0900 | Error | 1 | 3,246,132 | 0 | 864,000 | 1 | 0 | 0 | GlusterFile | 2 021-08-29 14:56:06 | Gluster | | 1,000 | Differentialvpn-1000 | Append | 1 | 226,375 | 0 | 864,000 | 1 | 0 | 0 | GlusterFile | 2 021-10-31 06:11:56 | Gluster | +---------+----------------------+-----------+---------+------------+----------+- | ||||
Tags | No tags attached. | ||||
Did you already test dbcheck this tool normally is the right one to cleanup orphan stored in DB. | |
Hi yes, i have cleaned dbcheck -fv and it took long time due to lots of orphanes but when listing volumes in bconsole it still has the errors. | |
So in that case, the best things to do is to remove them manually: with the delete volume command into bconsole. You will normally also have to remove manually the volume file from the filesystem. This is due to the fact that volume in Error state are locked and then not pruned as we can't touch them anymore. |
|
Beside removing manually those records, in bconsole or by scripting the delete volume line, you have to remember to delete the corresponding file if it still exist in your storage place. | |
Final note before closing. The manual process is required. | |
A manual process is needed as described to remove volumes in errors. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-31 21:36 | nelson.gonzalez6 | New Issue | |
2021-11-02 13:21 | bruno-at-bareos | Note Added: 0004313 | |
2021-11-08 13:01 | nelson.gonzalez6 | Note Added: 0004320 | |
2021-11-10 10:01 | bruno-at-bareos | Note Added: 0004325 | |
2021-11-16 15:40 | bruno-at-bareos | Severity | major => minor |
2021-11-16 15:42 | bruno-at-bareos | Note Added: 0004341 | |
2021-11-24 14:42 | bruno-at-bareos | Note Added: 0004357 | |
2021-11-24 14:42 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2021-11-24 14:42 | bruno-at-bareos | Status | new => assigned |
2021-11-24 14:43 | bruno-at-bareos | Status | assigned => resolved |
2021-11-24 14:43 | bruno-at-bareos | Resolution | open => no change required |
2021-11-24 14:43 | bruno-at-bareos | Note Added: 0004358 |