Backup register image failed: command error: inserting chunk on store failed / EIO: I/O error

EvanWasHere

New Member
Aug 1, 2023
4
0
1
I am having an issue using PBS for the first time.

I installed PBS on my Proxmox server and setup a datastore that is on a USB external drive that is shared to the network via Windows. The datastore was created and I made sure to chmod 775 the folder again when done.

I then connected it to Proxmox and setup my first backup. But it is constantly failing. Below is the log:

NFO: starting new backup job: vzdump 100 101 --storage pbs --notes-template '{{guestname}}' --quiet 1 --mailnotification always --mode snapshot
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2024-01-18 03:00:01
INFO: status = running
INFO: VM Name: Win-Proxmox
INFO: include disk 'scsi0' 'local-lvm:vm-100-disk-1' 500G
INFO: include disk 'efidisk0' 'local-lvm:vm-100-disk-0' 4M
INFO: include disk 'tpmstate0' 'local-lvm:vm-100-disk-2' 4M
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/100/2024-01-18T13:00:01Z'
INFO: attaching TPM drive to QEMU for backup
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 100 qmp command 'backup' failed - backup register image failed: command error: inserting chunk on store 'PBS' failed for bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8 - mkstemp "/media/ProxmoxBackup/.chunks/bb9f/bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8.tmp_XXXXXX" failed: EIO: I/O error
INFO: aborting backup job
INFO: resuming VM again
ERROR: Backup of VM 100 failed - VM 100 qmp command 'backup' failed - backup register image failed: command error: inserting chunk on store 'PBS' failed for bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8 - mkstemp "/media/ProxmoxBackup/.chunks/bb9f/bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8.tmp_XXXXXX" failed: EIO: I/O error
INFO: Failed at 2024-01-18 03:00:15
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2024-01-18 03:00:15
INFO: status = running
INFO: CT Name: plex
INFO: including mount point rootfs ('/') in backup
INFO: excluding bind mount point mp1 ('/USBMedia') from backup (not a volume)
INFO: found old vzdump snapshot (force removal)
Logical volume "snap_vm-101-disk-0_vzdump" successfully removed.
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-101-disk-0_vzdump" created.
INFO: creating Proxmox Backup Server archive 'ct/101/2024-01-18T13:00:15Z'
INFO: run: /usr/bin/proxmox-backup-client backup --crypt-mode=none pct.conf:/var/tmp/vzdumptmp3342219_101/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found --exclude=/tmp/?* --exclude=/var/tmp/?* --exclude=/var/run/?*.pid --backup-type ct --backup-id 101 --backup-time 1705582815 --repository root@pam@192.168.4.157:PBS
INFO: Starting backup: ct/101/2024-01-18T13:00:15Z
INFO: Client name: proxmox
INFO: Starting backup protocol: Thu Jan 18 03:00:16 2024
INFO: No previous manifest available.
INFO: Upload config file '/var/tmp/vzdumptmp3342219_101/etc/vzdump/pct.conf' to 'root@pam@192.168.4.157:8007:PBS' as pct.conf.blob
INFO: Upload directory '/mnt/vzsnap0' to 'root@pam@192.168.4.157:8007:PBS' as root.pxar.didx
INFO: catalog upload error - channel closed
INFO: Error: inserting chunk on store 'PBS' failed for 6db454c30629d50b84ae34bf490f8cd13f7012bd6deea2eb0c521b05cc548337 - mkstemp "/media/ProxmoxBackup/.chunks/6db4/6db454c30629d50b84ae34bf490f8cd13f7012bd6deea2eb0c521b05cc548337.tmp_XXXXXX" failed: EIO: I/O error
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-101-disk-0_vzdump" successfully removed.
ERROR: Backup of VM 101 failed - command '/usr/bin/proxmox-backup-client backup '--crypt-mode=none' pct.conf:/var/tmp/vzdumptmp3342219_101/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' --backup-type ct --backup-id 101 --backup-time 1705582815 --repository root@pam@192.168.4.157:PBS' failed: exit code 255
INFO: Failed at 2024-01-18 03:00:54
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors
 

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!