View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000320 | bareos-core | director | public | 2014-07-16 19:29 | 2023-05-08 17:07 |
Reporter | holtkamp | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | open | ||
Summary | 0000320: Lots of volumes reserved after Drive gets available | ||||
Description | When you start jobs and forgot to mount the tape drive (user unmounted) and then mount it, it will take all the tapes from the Scratch pool... | ||||
Steps To Reproduce | 1) Have a scratch pool with empty tapes 2) unmount tapedrive 3) start jobs that need a tape to write to 4) mount tapedrive 5) This happens: 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000261L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000262L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000263L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000264L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000265L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000267L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000268L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000269L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000270L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000271L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000272L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000273L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000274L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000275L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000276L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000277L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Recycled volume "000260L5" 16-Jul 19:23 backup.mb-dir JobId 12979: Using Volume "000260L5" from 'Scratch' pool. 16-Jul 19:23 backup.mb-dir JobId 12979: Using Device "TL-DRIVE-1" to write. *list volumes pool=TL Using Catalog "backup.mb.base.catalog" +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 254 | 000260L5 | Recycle | 1 | 1 | 0 | 311,040,000 | 1 | 5 | 1 | LTO5 | 2014-07-14 14:20:24 | | 1,847 | 000258L5 | Append | 1 | 40,053,629,952 | 287 | 311,040,000 | 1 | 3 | 1 | LTO5 | 2014-07-16 18:00:11 | | 1,848 | 000259L5 | Append | 1 | 22,343,731,200 | 221 | 311,040,000 | 1 | 4 | 1 | LTO5 | 2014-07-16 17:58:21 | | 1,849 | 000261L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 6 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,850 | 000262L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 7 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,851 | 000263L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 8 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,852 | 000264L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 9 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,853 | 000265L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 10 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,854 | 000267L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 12 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,855 | 000268L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 13 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,856 | 000269L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 14 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,857 | 000270L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 15 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,858 | 000271L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 16 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,859 | 000272L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 17 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,860 | 000273L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 18 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,861 | 000274L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 19 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,862 | 000275L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 20 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,863 | 000276L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 21 | 1 | LTO5 | 0000-00-00 00:00:00 | | 1,864 | 000277L5 | Append | 1 | 64,512 | 0 | 311,040,000 | 1 | 22 | 1 | LTO5 | 0000-00-00 00:00:00 | +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | ||||
Additional Information | Tested on 14.2 nightly from 14.7.2014 Basically this is just very annoying ;) | ||||
Tags | No tags attached. | ||||
Each job kind of gets into a state that it wants to reserve a new tape and it also does when there are enough tapes in the scratch pool. This is indeed unwanted but I have no clear idea how to elegantly solve this resource starvation. Maybe for a later redesign of the SD. |
|
Mass closing oldies which doesn't get any attention. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-07-16 19:29 | holtkamp | New Issue | |
2014-07-18 22:07 | mvwieringen | Note Added: 0000935 | |
2014-07-18 22:07 | mvwieringen | Status | new => acknowledged |
2023-05-08 17:07 | bruno-at-bareos | Note Added: 0005014 | |
2023-05-08 17:07 | bruno-at-bareos | Status | acknowledged => closed |