Repository navigation
Description
While creating a Windows ISO with the Windows Install with UUP, the process failed near the end because of "no space left on device".
Is there a way to tell ProxMenuX to use a specific disk for such things?
Error:
[...]
Exporting winre.wim...
Using LZX compression with 16 threads
[ERROR] Error writing chunk data to WIM file: No space left on device
ERROR: Exiting with error code 72:
Failed to write data to a file.
Failed to export winre.wim
No ISO was generated.
-Press Enter to return to menu...
In my case I have this available:
root@pve01:~/uup-temp/UUPs# df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 16G 0 16G 0% /dev
tmpfs tmpfs 3.2G 2.5M 3.2G 1% /run
/dev/mapper/pve-root xfs 16G 8.9G 7.1G 56% /
tmpfs tmpfs 16G 57M 16G 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
efivarfs efivarfs 512K 74K 434K 15% /sys/firmware/efi/efivars
/dev/sdc2 vfat 511M 348K 511M 1% /boot/efi
nvme-pool zfs 461G 128K 461G 1% /nvme-pool
nvme-pool/subvol-101-disk-0 zfs 16G 677M 16G 5% /nvme-pool/subvol-101-disk-0
nvme-pool/subvol-100-disk-0 zfs 12G 398M 12G 4% /nvme-pool/subvol-100-disk-0
hdd-pool zfs 3.0T 46G 3.0T 2% /hdd-pool
hdd-pool/subvol-1200-disk-0 zfs 102M 55M 48M 54% /hdd-pool/subvol-1200-disk-0
//192.168.10.252/proxmoxbackup cifs 11T 8.3T 2.2T 80% /mnt/pve/pxbackup
//192.168.10.252/pxstorage cifs 11T 8.3T 2.2T 80% /mnt/pve/pxstorage
/dev/fuse fuse 128M 64K 128M 1% /etc/pve
tmpfs tmpfs 3.2G 0 3.2G 0% /run/user/0
Space used seems to be in the users home. For me that would be /root/uup-temp, but on my root device is not that much room. And when the creation fails, the directory is not emptied..
Could the working space (i.e. uup-temp) be configurable so that I can move it to somewhere with more room?
Seems to be in this script: https://github.com/MacRimi/ProxMenux/blob/main/scripts/vm/uupdump_creator.sh
[...]
TMP_DIR="/root/uup-temp"
[...]
Sorry, I'm not a programmer and not really able to help here...
You check for detect_iso_dir() to place the finalized ISO in uudump_creator.sh...
Not sure if that is feasible, but could you eventually use that location to the temporary uup-temp folder? Perhaps together with some cleanup when the process fails or when it has successfully ended?
Dan
Activity
MacRimi commentedon Jun 19, 2025
Hi @igrokit!
Thanks a lot for the detailed feedback and suggestions — they were really helpful.
I’ve just implemented two key improvements based on your report:
1. Custom temporary folder:
The script now asks the user where to create the temporary folder before starting. It defaults to /root/uup-temp, but you can now select any path with more available space.
2. Cleanup on failure:
If the ISO creation fails (e.g. due to insufficient space), the temporary folder and converter files are now removed automatically to avoid filling up the root filesystem.
These changes are already committed to the repository — feel free to test again and let me know how it goes!
Thanks again for taking the time to report this. Much appreciated.
ITNgithub commentedon Jun 25, 2025
many thanks. works now
ITNgithub commentedon Jun 25, 2025
Feedback:
I created a folder /hdd-pool/temp and entered that for the UUP temporary folder.
Creation was successful
However, after creation and automatic moving of the ISO to my correct ISO location (good), the folder /hdd-pool/temp was deleted.
Your script should only delete what it created. The temporary folder itself should not be deleted.
Imagine I would have used "/hdd-pool" as temporary location...
I would have lost all my data in that drive..
I believe that line in the script:
rm -rf "$TMP_DIR" "$CONVERTER"should be rather
rm -rf "$TMP_DIR\*" "$CONVERTER"