Error: "no usable media found" during tape backup

mat5911

Renowned Member
Feb 3, 2014
13
1
68
Germany
Hello,

I'm testing PBS with a LTO4 drive to backup VMs to tape. Writing to tape works as expected. I created 5 Mediapools each with one tape for Mon - Fri backups. Retention policy is set to "overwrite", allocation policy to the respective day. E. g. the monday pool is set to "mon". Then I created backup jobs for the respective day.
The backup starts as configured but during the backup I get the error
TASK ERROR: alloc writable media in pool 'MP_Donnerstag' failed: no usable media found
At this time, there are already 437631MB written to the tape (summarized the "wrote ... chunks log entries). LTO4 has a capacity of 800GB uncompressed. So there should be enough space to write.

These are the last lines of the backup task log:
2023-02-16T17:55:18+00:00: percentage done: 75.00% (9/12 groups) 2023-02-16T17:55:18+00:00: backup snapshot "vm/30016/2023-02-04T04:09:08Z" 2023-02-16T17:58:52+00:00: wrote 10131 chunks (4295.23 MB at 22.38 MB/s) 2023-02-16T18:00:36+00:00: wrote 9781 chunks (4295.75 MB at 42.76 MB/s) 2023-02-16T18:01:20+00:00: wrote 2645 chunks (1239.94 MB at 29.10 MB/s) 2023-02-16T18:01:23+00:00: TASK ERROR: alloc writable media in pool 'MP_Donnerstag' failed: no usable media found

Syslog shows:
Feb 16 18:01:23 pve02 proxmox-backup-proxy[3338263]: no empty media in pool, try to reuse expired media Feb 16 18:01:23 pve02 proxmox-backup-proxy[3338263]: no empty or expired media in pool, try to find unassigned/free media

PBS version is 2.3.3.
Is there a way to see if it is a capacity problem?
 
can you post the complete task log?
 
Yes. Here it is:

2023-02-16T10:00:00+00:00: waiting for drive lock... 2023-02-16T10:00:00+00:00: Starting tape backup job 'store1:MP_Donnerstag:LTO1:Bck_Donnerstag' 2023-02-16T10:00:00+00:00: task triggered by schedule 'thu 10:00' 2023-02-16T10:00:00+00:00: update media online status 2023-02-16T10:00:00+00:00: starting new media set - reason: policy CreateAt event triggered 2023-02-16T10:00:00+00:00: media set uuid: deb90ef5-1738-4f14-b101-04ce3be4b293 2023-02-16T10:00:00+00:00: found 12 groups 2023-02-16T10:00:00+00:00: backup snapshot "vm/100/2023-02-11T19:00:04Z" 2023-02-16T10:00:04+00:00: allocated new writable media 'Donnerstag_230207-1' 2023-02-16T10:00:04+00:00: Checking for media 'Donnerstag_230207-1' in drive 'LTO1' 2023-02-16T10:00:34+00:00: wrong media label Mittwoch_230207-1 (b21b83a6-b6d0-4ae5-bce8-dc62783d7220) 2023-02-16T10:00:34+00:00: Please insert media 'Donnerstag_230207-1' into drive 'LTO1' 2023-02-16T14:23:45+00:00: found media label Donnerstag_230207-1 (97e0b4c2-6fb3-4f96-8016-bc1340ec4e05) 2023-02-16T14:23:45+00:00: writing new media set label (overwrite '321d5f7e-2d77-48ca-bc72-ef66d58c9b65/0') 2023-02-16T14:23:57+00:00: moving to end of media 2023-02-16T14:23:57+00:00: arrived at end of media 2023-02-16T14:24:32+00:00: wrote 824 chunks (1278.74 MB at 36.53 MB/s) 2023-02-16T14:24:32+00:00: end backup store1:"vm/100/2023-02-11T19:00:04Z" 2023-02-16T14:24:32+00:00: percentage done: 8.33% (1/12 groups) 2023-02-16T14:24:32+00:00: backup snapshot "vm/101/2023-02-11T19:00:46Z" 2023-02-16T14:25:22+00:00: wrote 1631 chunks (1473.51 MB at 35.82 MB/s) 2023-02-16T14:25:22+00:00: end backup store1:"vm/101/2023-02-11T19:00:46Z" 2023-02-16T14:25:22+00:00: percentage done: 16.67% (2/12 groups) 2023-02-16T14:25:22+00:00: backup snapshot "vm/105/2023-02-11T19:02:12Z" 2023-02-16T14:28:19+00:00: wrote 4194 chunks (4296.80 MB at 39.21 MB/s) 2023-02-16T14:30:06+00:00: wrote 4296 chunks (4296.02 MB at 40.18 MB/s) 2023-02-16T14:32:02+00:00: wrote 4283 chunks (4295.23 MB at 37.18 MB/s) 2023-02-16T14:33:47+00:00: wrote 3599 chunks (3738.96 MB at 35.49 MB/s) 2023-02-16T14:33:47+00:00: end backup store1:"vm/105/2023-02-11T19:02:12Z" 2023-02-16T14:33:47+00:00: percentage done: 25.00% (3/12 groups) 2023-02-16T14:33:47+00:00: backup snapshot "vm/10040/2023-02-04T03:00:02Z" 2023-02-16T14:36:23+00:00: wrote 1833 chunks (4295.49 MB at 40.02 MB/s) 2023-02-16T14:38:09+00:00: wrote 1857 chunks (4296.54 MB at 40.72 MB/s) 2023-02-16T14:39:53+00:00: wrote 1683 chunks (4295.23 MB at 41.05 MB/s) 2023-02-16T14:41:41+00:00: wrote 1819 chunks (4296.28 MB at 39.85 MB/s) 2023-02-16T14:43:32+00:00: wrote 1887 chunks (4295.23 MB at 38.97 MB/s) 2023-02-16T14:44:52+00:00: wrote 1290 chunks (3442.48 MB at 42.78 MB/s) 2023-02-16T14:44:52+00:00: end backup store1:"vm/10040/2023-02-04T03:00:02Z" 2023-02-16T14:44:52+00:00: percentage done: 27.08% (3/12 groups, 1/4 snapshots in group #4) 2023-02-16T14:44:52+00:00: backup snapshot "vm/10040/2023-02-11T03:00:01Z" 2023-02-16T14:47:01+00:00: wrote 2336 chunks (4295.49 MB at 39.70 MB/s) 2023-02-16T14:48:03+00:00: wrote 1249 chunks (2399.40 MB at 38.96 MB/s) 2023-02-16T14:48:03+00:00: end backup store1:"vm/10040/2023-02-11T03:00:01Z" 2023-02-16T14:48:03+00:00: percentage done: 29.17% (3/12 groups, 2/4 snapshots in group #4) 2023-02-16T14:48:03+00:00: backup snapshot "vm/10040/2023-02-15T03:00:02Z" 2023-02-16T14:50:13+00:00: wrote 2001 chunks (4296.02 MB at 38.37 MB/s) 2023-02-16T14:51:26+00:00: wrote 1388 chunks (3154.12 MB at 43.22 MB/s) 2023-02-16T14:51:26+00:00: end backup store1:"vm/10040/2023-02-15T03:00:02Z" 2023-02-16T14:51:26+00:00: percentage done: 31.25% (3/12 groups, 3/4 snapshots in group #4) 2023-02-16T14:51:26+00:00: backup snapshot "vm/10040/2023-02-16T03:00:02Z" 2023-02-16T14:53:19+00:00: wrote 2214 chunks (4296.80 MB at 42.51 MB/s) 2023-02-16T14:53:34+00:00: wrote 214 chunks (407.11 MB at 27.86 MB/s) 2023-02-16T14:53:34+00:00: end backup store1:"vm/10040/2023-02-16T03:00:02Z" 2023-02-16T14:53:34+00:00: percentage done: 33.33% (4/12 groups) 2023-02-16T14:53:34+00:00: backup snapshot "vm/30011/2023-02-11T03:02:31Z" 2023-02-16T14:57:13+00:00: wrote 1932 chunks (4298.64 MB at 20.02 MB/s) 2023-02-16T14:59:04+00:00: wrote 1267 chunks (4296.28 MB at 38.76 MB/s) 2023-02-16T15:00:43+00:00: wrote 1435 chunks (4299.16 MB at 43.17 MB/s) 2023-02-16T15:02:32+00:00: wrote 1086 chunks (4296.02 MB at 39.41 MB/s) 2023-02-16T15:04:20+00:00: wrote 1540 chunks (4295.49 MB at 40.00 MB/s) 2023-02-16T15:06:07+00:00: wrote 1372 chunks (4296.80 MB at 40.13 MB/s) 2023-02-16T15:07:47+00:00: wrote 1236 chunks (4296.80 MB at 42.97 MB/s) 2023-02-16T15:09:39+00:00: wrote 1258 chunks (4295.23 MB at 38.30 MB/s) 2023-02-16T15:11:31+00:00: wrote 1314 chunks (4295.49 MB at 38.46 MB/s) 2023-02-16T15:13:12+00:00: wrote 1385 chunks (4297.59 MB at 42.84 MB/s) 2023-02-16T15:15:00+00:00: wrote 1212 chunks (4296.80 MB at 39.82 MB/s) 2023-02-16T15:16:47+00:00: wrote 1331 chunks (4297.59 MB at 39.84 MB/s) 2023-02-16T15:18:36+00:00: wrote 1260 chunks (4296.54 MB at 39.65 MB/s) 2023-02-16T15:20:15+00:00: wrote 1420 chunks (4296.80 MB at 43.55 MB/s) 2023-02-16T15:22:05+00:00: wrote 1268 chunks (4296.80 MB at 38.80 MB/s) 2023-02-16T15:23:53+00:00: wrote 1388 chunks (4295.23 MB at 40.01 MB/s) 2023-02-16T15:25:39+00:00: wrote 1187 chunks (4296.28 MB at 40.34 MB/s) 2023-02-16T15:26:31+00:00: wrote 654 chunks (2243.17 MB at 43.19 MB/s) 2023-02-16T15:26:40+00:00: end backup store1:"vm/30011/2023-02-11T03:02:31Z" 2023-02-16T15:26:40+00:00: percentage done: 36.11% (4/12 groups, 1/3 snapshots in group #5) 2023-02-16T15:26:40+00:00: backup snapshot "vm/30011/2023-02-15T03:02:39Z" 2023-02-16T15:27:23+00:00: wrote 1035 chunks (1408.24 MB at 33.58 MB/s) 2023-02-16T15:27:31+00:00: end backup store1:"vm/30011/2023-02-15T03:02:39Z" 2023-02-16T15:27:31+00:00: percentage done: 38.89% (4/12 groups, 2/3 snapshots in group #5) 2023-02-16T15:27:31+00:00: backup snapshot "vm/30011/2023-02-16T03:02:10Z" 2023-02-16T15:28:19+00:00: wrote 859 chunks (1381.24 MB at 29.45 MB/s) 2023-02-16T15:28:26+00:00: end backup store1:"vm/30011/2023-02-16T03:02:10Z" 2023-02-16T15:28:26+00:00: percentage done: 41.67% (5/12 groups) 2023-02-16T15:28:26+00:00: backup snapshot "vm/30012/2023-02-11T19:11:53Z" 2023-02-16T15:29:13+00:00: wrote 1627 chunks (1405.09 MB at 33.88 MB/s) 2023-02-16T15:29:22+00:00: end backup store1:"vm/30012/2023-02-11T19:11:53Z" 2023-02-16T15:29:22+00:00: percentage done: 44.44% (5/12 groups, 1/3 snapshots in group #6) 2023-02-16T15:29:22+00:00: backup snapshot "vm/30012/2023-02-15T03:03:47Z" 2023-02-16T15:29:30+00:00: wrote 170 chunks (217.06 MB at 29.40 MB/s) 2023-02-16T15:29:44+00:00: end backup store1:"vm/30012/2023-02-15T03:03:47Z" 2023-02-16T15:29:44+00:00: percentage done: 47.22% (5/12 groups, 2/3 snapshots in group #6) 2023-02-16T15:29:44+00:00: backup snapshot "vm/30012/2023-02-16T03:03:21Z" 2023-02-16T15:29:50+00:00: wrote 118 chunks (152.04 MB at 30.57 MB/s) 2023-02-16T15:29:58+00:00: end backup store1:"vm/30012/2023-02-16T03:03:21Z" 2023-02-16T15:29:58+00:00: percentage done: 50.00% (6/12 groups) 2023-02-16T15:29:58+00:00: backup snapshot "vm/30013/2023-02-11T19:12:05Z" 2023-02-16T15:32:10+00:00: wrote 1280 chunks (4297.33 MB at 40.04 MB/s) 2023-02-16T15:34:00+00:00: wrote 1271 chunks (4295.75 MB at 40.01 MB/s) 2023-02-16T15:35:44+00:00: wrote 1446 chunks (4297.85 MB at 42.72 MB/s) 2023-02-16T15:37:58+00:00: wrote 1082 chunks (4298.64 MB at 32.68 MB/s) 2023-02-16T15:39:55+00:00: wrote 1151 chunks (4296.28 MB at 37.97 MB/s) 2023-02-16T15:41:40+00:00: wrote 1163 chunks (4296.80 MB at 42.05 MB/s) 2023-02-16T15:43:02+00:00: wrote 779 chunks (3034.05 MB at 38.17 MB/s) 2023-02-16T15:43:10+00:00: end backup store1:"vm/30013/2023-02-11T19:12:05Z" 2023-02-16T15:43:10+00:00: percentage done: 58.33% (7/12 groups) 2023-02-16T15:43:10+00:00: backup snapshot "vm/30014/2023-02-04T03:16:44Z" 2023-02-16T15:47:40+00:00: wrote 1787 chunks (4295.49 MB at 39.90 MB/s) 2023-02-16T15:49:36+00:00: wrote 1636 chunks (4297.59 MB at 38.09 MB/s) 2023-02-16T15:51:18+00:00: wrote 1618 chunks (4297.33 MB at 43.07 MB/s) 2023-02-16T15:53:11+00:00: wrote 1688 chunks (4296.02 MB at 38.85 MB/s) 2023-02-16T15:55:05+00:00: wrote 1652 chunks (4295.23 MB at 38.76 MB/s) 2023-02-16T15:56:59+00:00: wrote 1826 chunks (4295.49 MB at 38.94 MB/s) 2023-02-16T15:58:43+00:00: wrote 2097 chunks (4295.23 MB at 42.22 MB/s) 2023-02-16T16:00:40+00:00: wrote 1604 chunks (4295.23 MB at 37.44 MB/s) 2023-02-16T16:02:38+00:00: wrote 1675 chunks (4296.54 MB at 37.59 MB/s) 2023-02-16T16:04:23+00:00: wrote 1564 chunks (4297.33 MB at 42.18 MB/s) 2023-02-16T16:06:15+00:00: wrote 1668 chunks (4297.06 MB at 39.23 MB/s) 2023-02-16T16:08:10+00:00: wrote 1676 chunks (4297.85 MB at 38.52 MB/s) 2023-02-16T16:10:06+00:00: wrote 1879 chunks (4296.28 MB at 37.87 MB/s) 2023-02-16T16:11:58+00:00: wrote 2324 chunks (4296.80 MB at 39.51 MB/s) 2023-02-16T16:13:57+00:00: wrote 1666 chunks (4296.02 MB at 37.06 MB/s) 2023-02-16T16:15:50+00:00: wrote 1565 chunks (4295.23 MB at 38.96 MB/s) 2023-02-16T16:17:44+00:00: wrote 1677 chunks (4297.85 MB at 38.65 MB/s) 2023-02-16T16:19:40+00:00: wrote 1589 chunks (4295.49 MB at 37.69 MB/s) 2023-02-16T16:21:35+00:00: wrote 1703 chunks (4297.85 MB at 39.07 MB/s) 2023-02-16T16:23:32+00:00: wrote 1863 chunks (4295.23 MB at 37.69 MB/s) 2023-02-16T16:25:27+00:00: wrote 1901 chunks (4295.49 MB at 38.20 MB/s) 2023-02-16T16:27:25+00:00: wrote 1632 chunks (4295.49 MB at 37.10 MB/s) 2023-02-16T16:29:20+00:00: wrote 1650 chunks (4295.23 MB at 38.48 MB/s) 2023-02-16T16:31:15+00:00: wrote 1587 chunks (4296.28 MB at 38.55 MB/s) 2023-02-16T16:33:05+00:00: wrote 1712 chunks (4296.80 MB at 39.86 MB/s) 2023-02-16T16:35:04+00:00: wrote 1685 chunks (4295.23 MB at 36.97 MB/s) 2023-02-16T16:37:24+00:00: wrote 2206 chunks (4296.54 MB at 31.38 MB/s) 2023-02-16T16:38:37+00:00: wrote 1371 chunks (2822.24 MB at 40.52 MB/s) 2023-02-16T16:38:45+00:00: end backup store1:"vm/30014/2023-02-04T03:16:44Z" 2023-02-16T16:38:45+00:00: percentage done: 60.42% (7/12 groups, 1/4 snapshots in group #8) 2023-02-16T16:38:45+00:00: backup snapshot "vm/30014/2023-02-11T03:03:45Z" 2023-02-16T16:41:25+00:00: wrote 2327 chunks (4295.23 MB at 27.01 MB/s) 2023-02-16T16:43:25+00:00: wrote 2244 chunks (4295.75 MB at 36.59 MB/s) 2023-02-16T16:44:08+00:00: wrote 757 chunks (1483.47 MB at 37.11 MB/s) 2023-02-16T16:44:17+00:00: end backup store1:"vm/30014/2023-02-11T03:03:45Z" 2023-02-16T16:44:17+00:00: percentage done: 62.50% (7/12 groups, 2/4 snapshots in group #8) 2023-02-16T16:44:17+00:00: backup snapshot "vm/30014/2023-02-15T03:03:56Z" 2023-02-16T16:46:41+00:00: wrote 2054 chunks (4296.54 MB at 29.97 MB/s) 2023-02-16T16:47:48+00:00: wrote 1195 chunks (2563.51 MB at 39.73 MB/s) 2023-02-16T16:47:57+00:00: end backup store1:"vm/30014/2023-02-15T03:03:56Z" 2023-02-16T16:47:57+00:00: percentage done: 64.58% (7/12 groups, 3/4 snapshots in group #8) 2023-02-16T16:47:57+00:00: backup snapshot "vm/30014/2023-02-16T03:03:31Z" 2023-02-16T16:50:08+00:00: wrote 2100 chunks (4295.23 MB at 32.89 MB/s) 2023-02-16T16:50:36+00:00: wrote 458 chunks (916.19 MB at 35.56 MB/s) 2023-02-16T16:50:44+00:00: end backup store1:"vm/30014/2023-02-16T03:03:31Z" 2023-02-16T16:50:44+00:00: percentage done: 66.67% (8/12 groups) 2023-02-16T16:50:45+00:00: backup snapshot "vm/30015/2023-02-04T03:36:25Z" 2023-02-16T16:59:03+00:00: wrote 5583 chunks (4295.75 MB at 39.64 MB/s) 2023-02-16T17:00:56+00:00: wrote 4272 chunks (4295.49 MB at 39.43 MB/s) 2023-02-16T17:02:41+00:00: wrote 4760 chunks (4297.06 MB at 42.01 MB/s) 2023-02-16T17:04:39+00:00: wrote 4308 chunks (4295.49 MB at 37.15 MB/s) 2023-02-16T17:06:36+00:00: wrote 5008 chunks (4296.80 MB at 37.81 MB/s) 2023-02-16T17:08:21+00:00: wrote 4881 chunks (4295.75 MB at 41.94 MB/s) 2023-02-16T17:10:11+00:00: wrote 4645 chunks (4295.75 MB at 39.84 MB/s) 2023-02-16T17:12:12+00:00: wrote 4497 chunks (4296.28 MB at 36.42 MB/s) 2023-02-16T17:14:14+00:00: wrote 4937 chunks (4295.23 MB at 36.06 MB/s) 2023-02-16T17:16:05+00:00: wrote 4695 chunks (4295.49 MB at 38.98 MB/s) 2023-02-16T17:18:03+00:00: wrote 4643 chunks (4295.75 MB at 37.44 MB/s) 2023-02-16T17:20:13+00:00: wrote 4226 chunks (4297.06 MB at 33.65 MB/s) 2023-02-16T17:22:52+00:00: wrote 5270 chunks (4295.75 MB at 27.53 MB/s) 2023-02-16T17:25:10+00:00: wrote 5093 chunks (4296.54 MB at 31.52 MB/s) 2023-02-16T17:27:13+00:00: wrote 3871 chunks (4298.90 MB at 35.74 MB/s) 2023-02-16T17:28:22+00:00: wrote 2649 chunks (2211.97 MB at 33.23 MB/s) 2023-02-16T17:28:30+00:00: end backup store1:"vm/30015/2023-02-04T03:36:25Z" 2023-02-16T17:28:30+00:00: percentage done: 68.75% (8/12 groups, 1/4 snapshots in group #9) 2023-02-16T17:28:30+00:00: backup snapshot "vm/30015/2023-02-11T03:06:14Z" 2023-02-16T17:32:30+00:00: wrote 3995 chunks (4295.23 MB at 38.64 MB/s) 2023-02-16T17:34:21+00:00: wrote 4820 chunks (4295.23 MB at 39.60 MB/s) 2023-02-16T17:36:15+00:00: wrote 3983 chunks (4299.16 MB at 38.46 MB/s) 2023-02-16T17:38:12+00:00: wrote 4757 chunks (4297.59 MB at 37.89 MB/s) 2023-02-16T17:40:08+00:00: wrote 4995 chunks (4295.49 MB at 37.83 MB/s) 2023-02-16T17:40:24+00:00: wrote 687 chunks (440.66 MB at 34.19 MB/s) 2023-02-16T17:40:32+00:00: end backup store1:"vm/30015/2023-02-11T03:06:14Z" 2023-02-16T17:40:32+00:00: percentage done: 70.83% (8/12 groups, 2/4 snapshots in group #9) 2023-02-16T17:40:32+00:00: backup snapshot "vm/30015/2023-02-15T03:05:45Z" 2023-02-16T17:43:55+00:00: wrote 4486 chunks (4296.54 MB at 36.00 MB/s) 2023-02-16T17:46:03+00:00: wrote 4056 chunks (4297.06 MB at 34.36 MB/s) 2023-02-16T17:48:12+00:00: wrote 4588 chunks (4295.23 MB at 33.94 MB/s) 2023-02-16T17:50:07+00:00: wrote 4393 chunks (4295.49 MB at 37.99 MB/s) 2023-02-16T17:50:17+00:00: wrote 282 chunks (193.46 MB at 26.59 MB/s) 2023-02-16T17:50:26+00:00: end backup store1:"vm/30015/2023-02-15T03:05:45Z" 2023-02-16T17:50:26+00:00: percentage done: 72.92% (8/12 groups, 3/4 snapshots in group #9) 2023-02-16T17:50:26+00:00: backup snapshot "vm/30015/2023-02-16T03:05:50Z" 2023-02-16T17:52:57+00:00: wrote 5038 chunks (4298.64 MB at 40.60 MB/s) 2023-02-16T17:54:51+00:00: wrote 5252 chunks (4296.28 MB at 38.77 MB/s) 2023-02-16T17:55:10+00:00: wrote 277 chunks (466.35 MB at 29.45 MB/s) 2023-02-16T17:55:18+00:00: end backup store1:"vm/30015/2023-02-16T03:05:50Z" 2023-02-16T17:55:18+00:00: percentage done: 75.00% (9/12 groups) 2023-02-16T17:55:18+00:00: backup snapshot "vm/30016/2023-02-04T04:09:08Z" 2023-02-16T17:58:52+00:00: wrote 10131 chunks (4295.23 MB at 22.38 MB/s) 2023-02-16T18:00:36+00:00: wrote 9781 chunks (4295.75 MB at 42.76 MB/s) 2023-02-16T18:01:20+00:00: wrote 2645 chunks (1239.94 MB at 29.10 MB/s) 2023-02-16T18:01:23+00:00: TASK ERROR: alloc writable media in pool 'MP_Donnerstag' failed: no usable media found
 
ok, i mean there is some overhead (the snapshots, metadata per chunk etc) but i guess that should not be that much.
though it seems that pbs simply thinks the tape is full and want to write to the next tape

can you post the output of

Code:
proxmox-tape status --drive YOUR_DRIVE_NAME
proxmox-tape volume-statistics  --drive YOUR_DRIVE_NAME
while the tape is inserted?
 
Hi,
sorry for the delay. Here are the outputs


Code:
# proxmox-tape status --drive LTO1
┌───────────────┬──────────────────────────┐
│ Name          │ Value                    │
╞═══════════════╪══════════════════════════╡
│ blocksize     │ 0                        │
├───────────────┼──────────────────────────┤
│ density       │ LTO4                     │
├───────────────┼──────────────────────────┤
│ compression   │ 1                        │
├───────────────┼──────────────────────────┤
│ buffer-mode   │ 1                        │
├───────────────┼──────────────────────────┤
│ alert-flags   │ (empty)                  │
├───────────────┼──────────────────────────┤
│ file-number   │ 2                        │
├───────────────┼──────────────────────────┤
│ block-number  │ 4                        │
├───────────────┼──────────────────────────┤
│ manufactured  │ Thu Jan  9 00:00:00 2014 │
├───────────────┼──────────────────────────┤
│ bytes-written │ 5.085 TiB                │
├───────────────┼──────────────────────────┤
│ bytes-read    │ 4.387 GiB                │
└───────────────┴──────────────────────────┘

Code:
# proxmox-tape volume-statistics  --drive LTO1
Error: read tape volume statistics failed - Illegal Request, Additional sense: Invalid field in cdb
 
mhmm... i checked the code and the only point where we request a new tape is when the drive reports the 'End of Medium' flag, which indicates that the tape is running out of space...
i'll see if i can find out more, but note that lto4 is only support in a best-effort way, and >= LTO5 are recommended/supported.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!