[SOLVED] Cannot restore CT No space left on device

totalimpact

Renowned Member
Dec 12, 2010
139
21
83
This is just a lab environment, I have 2 PVE, PVE1 is using sshfs to mount backup storage on PVE2 to backup CT to other host. Now I want to restore the backups from PVE1 to a CT on PVE2... no matter what I do I keep getting an error that it cannot create dirs or no space left on device, which has even happened on a nearly empty 500gb SSD, I created a new 16GB debian CT on that SSD fine, but restoring to it fails, doesnt matter if its dir storage or block.

1735444190796.png
1735444256111.png

Just ran dist-upgrade to 8.3.2 , still same.

VM config on PVE1:
Code:
[/etc/pve/lxc]# cat 118.conf
arch: amd64
cores: 4
features: keyctl=1,nesting=1
hostname: dns2.mylab.com
lock:
memory: 4096
nameserver: 1.1.1.1 8.8.8.8
net0: name=eth0,bridge=vmbr0,gw=10.0.9.1,hwaddr=BC:24:11:EF:7E:E2,ip=10.0.9.9/24,tag=9,type=veth
onboot: 1
ostype: debian
parent: vzdump
rootfs: VMData1:subvol-118-disk-0,size=8G
searchdomain: mylab.com
swap: 512
tags:
unprivileged: 1

The CT is just a pihole, only has 3GB used of 8, dump is 3GB-
1735443580879.png
df -
1735443709358.png

1735443763477.png
 

Attachments

  • 1735444062831.png
    1735444062831.png
    24.1 KB · Views: 5
Last edited:
No space left does not always mean literal no space left. You will see the message when restore process is unable to write to the disk. This can happen if Container option has not been selected for the storage. Verify that both Disk Image and Container options are selected for the storage from Datacenter > Storage.
 
Sorry, I did do some searching, didnt mention that I checked the inodes, I dont see any excessive usage - especially since I have no other CTs running. and I have tried all of these storage locations, including a new SSD, same result.
1735510848147.png
@wahmed If CT is not enabled on the storage it wont be offered in the Restore list.
 
I just tried creating a new CT on PVE2 and it works fine, boots I can login and make files. I just cannot restore one.
 
Take a look here as increasing the ct resolve a no space on device error during restore
 
  • Like
Reactions: totalimpact
Take a look here as increasing the ct resolve a no space on device error during restore
Yes, thanks Waltar, that was the problem, the source was on ZFS compressed storage.... It was a 8GB disk, showed 4.5GB used, but on the new non-zfs storage it had 9GB used.

I adjusted the restore rootfs size to 12GB:
Code:
pct restore 218 vzdump-lxc-118-2024_12_28-17_32_14.tar.zst --rootfs 12 --storage TempSSD --unique --hostname dns2.mydomain.com

The proper solution would have been to expand the rootfs to 12GB, back it up again and then restore from GUI.
 
Last edited:

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!