full local (pve) storage because of large temp.sh file in /root folder

schmimla21

New Member
Nov 10, 2021
1
0
1
41
Hi there,

on my proxmox installation, my local (pve) storage is nearly completely full (22.14 GB of 24.13 GB). This leads to the problem, that i can not upgrade my system any more. With ncdu -x i found out, that in my /root folder there is a file named "temp.sh" (shell script?) which is about 13 GB. Can somebody explain, what this file does, and if i can safely remove it?

Thank you very much in advance!
 
You are going to need to examine it. That file is not part of PVE. Its probably a result of some incorrect output redirect.

Commands that can assist you:
lsof - to see if anything has it open
file temp.sh - basic guess on whats inside the file
head file|strings - to see first 10 lines
tail file|strings - last 10 lines
truncate -s 0 file - will zero it out, at least temporarily.

You can delete the file, it will not affect standard PVE installation. But you probably should first understand how it got there.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited: