proxmox-tape label => os error 5

Thorsten-

Member
Mar 24, 2021
9
1
8
Hi Guys,

I have a problem labeling an LTO5 tape.

Code:
root@pbs:/# proxmox-tape label --label-text pbs-01 --pool TestPool --drive LTO5
TASK ERROR: Input/output error (os error 5)

Can someone help me please?


Code:
root@pbs:/# proxmox-tape pool list
┌──────────┬────────────┬───────────┬──────────┬─────────┐
│ name     │ allocation │ retention │ template │ encrypt │
╞══════════╪════════════╪═══════════╪══════════╪═════════╡
│ TestPool │ continue   │ overwrite │          │ no      │
└──────────┴────────────┴───────────┴──────────┴─────────┘
root@pbs:/# proxmox-tape status --drive LTO5
┌───────────────────────────────────────────────────────────────────────
│ Name           │ Value                                               │
╞════════════════╪═════════════════════════════════════════════════════╡
│ blocksize      │ 0                                                   │
├────────────────┼─────────────────────────────────────────────────────┤
│ density        │ LTO5                                                │
├────────────────┼─────────────────────────────────────────────────────┤
│ status         │ EOF | ONLINE | IM_REP_EN                            │
├────────────────┼─────────────────────────────────────────────────────┤
│ options        │ BUFFER_WRITES | ASYNC_WRITES | READ_AHEAD | CAN_BSR │
├────────────────┼─────────────────────────────────────────────────────┤
│ alert-flags    │ (empty)                                             │
├────────────────┼─────────────────────────────────────────────────────┤
│ file-number    │ 1                                                   │
├────────────────┼─────────────────────────────────────────────────────┤
│ manufactured   │ Sat Aug 10 02:00:00 2019                            │
├────────────────┼─────────────────────────────────────────────────────┤
│ bytes-written  │ 56.00 MiB                                           │
├────────────────┼─────────────────────────────────────────────────────┤
│ bytes-read     │ 4.00 MiB                                            │
├────────────────┼─────────────────────────────────────────────────────┤
│ medium-passes  │ 1                                                   │
├────────────────┼─────────────────────────────────────────────────────┤
│ medium-wearout │ 0.01%                                               │
├────────────────┼─────────────────────────────────────────────────────┤
│ volume-mounts  │ 2                                                   │
└────────────────┴─────────────────────────────────────────────────────┘
root@pbs:/#

Thorsten
 
can you post the complete task log?
is there anything relevant in the syslog/journal?
 
Hi Dominik,

I don't know why but after a reboot labeling works fine.
...the first backup is currently in progress :)

Thank you!


Best regards,
Thorsten