[SOLVED] iso images partition full but not really

gianry

Member
Aug 16, 2024
41
0
6
I've tried to upload an iso image file larger than partition size. system stopped to transfer the file and partition is full but the file there isn't in datacenter window page.

could you help me to delete the partial image file ?

thanks
 
Go via CMD to the path where the file was uploaded, and delete the partial file. For example your storagename is "iso"

Code:
cd /mnt/pve/iso/template/iso
ls -lav
rm <filename>

Also have a look at "var/tmp/pveupload-XXXXXXXXXXXXXXX" if there is anything left.
 
  • Like
Reactions: sw-omit
Ah, Fireon was using that as an example, in case the name of your STORAGE was named "iso", so if it was a different name, it would need some changing.

Please screenshot the result of the following commands:
Code:
cat /etc/pve/storage.cfg
ls -lav /var/tmp/pveup*
 
  • Like
Reactions: fireon
Ok, that temp-file we can now remove with the following command:
Code:
rm /var/tmp/pveupload*
Next to check if you have anything left in iso's that you might want to remove, run
Code:
ls -lav /var/lib/vz/template/iso
(Note that we MIGHT not want to remove everything/anything here)
 
  • Like
Reactions: gianry
Perfect. Now go to the right directory and delete the files:

Code:
cd /var/lib/vz/template/iso
ls -lav
rm <filename to delete>
And the same here:

Code:
rm -rf /var/tmp/pveupload*
 
  • Like
Reactions: sw-omit and gianry
thanks , removed the temp file and space has been restored
Perfect. If your issue is resolved, please mark your thread as "solved". You can do this by editing your first post and setting the flag.
 

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!