jordanhillis / pvekclean

Easily remove old/unused PVE kernels on your Proxmox VE system
MIT License
318 stars 55 forks source link

Free space with root zfs #12

Open JBlond opened 5 months ago

JBlond commented 5 months ago

With root zfs the free space is not shown.

github-tomster commented 3 months ago

i can confirm ⚠️ here is the output:

___________________________________________

 OS: Debian GNU/Linux 12 (bookworm)
 Boot Disk: % full [/ used,  free]
 Current Kernel: 6.8.4-3-pve
___________________________________________

[-] Can we install PVE Kernel Cleaner to your /usr/local/sbin for easier access [y/N]

[*] Boot disk space used is N/A at % capacity ( free)
[-] Searching for old PVE kernels on your system...
  + "6.5" added to the kernel remove list
  + "6.5.11-4-pve-signed" added to the kernel remove list
  + "6.5.13-5-pve-signed" added to the kernel remove list
  + "6.8" added to the kernel remove list
[-] PVE kernel search complete!
[!] Would you like to remove the 4 selected PVE kernels listed above? [y/N]:

Exiting...
See you later ⎦˚◡˚⎣
root@ooo:/opt/scripts# ls -l /boot
total 225478
-rw-r--r-- 1 root root   279416 Nov 20  2023 config-6.5.11-4-pve
-rw-r--r-- 1 root root   280334 Apr  5 13:03 config-6.5.13-5-pve
-rw-r--r-- 1 root root   286900 May  2 13:55 config-6.8.4-3-pve
drwxr-xr-x 2 root root        2 May 26 23:49 efi
drwxr-xr-x 2 root root        4 May 27 00:25 grub
-rw-r--r-- 1 root root 60124266 May 27 00:18 initrd.img-6.5.11-4-pve
-rw-r--r-- 1 root root 60179516 May 27 00:25 initrd.img-6.5.13-5-pve
-rw-r--r-- 1 root root 60909000 May 27 00:25 initrd.img-6.8.4-3-pve
-rw-r--r-- 1 root root   138712 Feb 11  2023 memtest86+ia32.bin
-rw-r--r-- 1 root root   139776 Feb 11  2023 memtest86+ia32.efi
-rw-r--r-- 1 root root   144312 Feb 11  2023 memtest86+x64.bin
-rw-r--r-- 1 root root   145408 Feb 11  2023 memtest86+x64.efi
drwxr-xr-x 2 root root        8 May 27 00:25 pve
-rw-r--r-- 1 root root  7969247 Nov 20  2023 System.map-6.5.11-4-pve
-rw-r--r-- 1 root root  7978656 Apr  5 13:03 System.map-6.5.13-5-pve
-rw-r--r-- 1 root root  8335942 May  2 13:55 System.map-6.8.4-3-pve
-rw-r--r-- 1 root root 13520520 Nov 20  2023 vmlinuz-6.5.11-4-pve
-rw-r--r-- 1 root root 13560936 Apr  5 13:03 vmlinuz-6.5.13-5-pve
-rw-r--r-- 1 root root 14146664 May  2 13:55 vmlinuz-6.8.4-3-pve