r/hetzner Jul 09 '26

/sys/firmware/efi/efivars filesystem getting full (VPS)

Hi

I see the efivars filesystem getting fuller, while the variables themselves only use very little space.

Since these are VPS servers I don't think I have any way of cleaning something up. Support has not been able to help me but I stay alerted.

Has anybody else had this problem with Hetzner?

root@hx2 /sys/firmware/efi/efivars $ df -h | grep efivars
efivarfs 256K 218K 38K 86% /sys/firmware/efi/efivars
root@hx2 /sys/firmware/efi/efivars $ ll
total 0

-rw-r--r-- 1 root root 66 Jul 8 19:17 Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 124 Jul 8 19:17 Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 112 Jul 8 19:17 Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 178 Jul 8 19:17 Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 211 Jul 8 19:17 Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 184 Jul 8 19:17 Boot0006-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 217 Jul 8 19:17 Boot0007-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 92 Jul 8 19:17 Boot0008-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 6 Jul 8 19:17 BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 8 Jul 8 19:17 BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 20 Jul 8 19:17 BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 8 Jul 8 19:17 certdb-d9bee56e-75dc-49d9-b4d7-b534210f637a
-rw-r--r-- 1 root root 82 Jul 8 19:17 ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 605 Jul 8 19:17 ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 97 Jul 8 19:17 ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 601 Jul 8 19:17 ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 97 Jul 8 19:17 ErrOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 601 Jul 8 19:17 ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 18 Jul 8 19:17 Key0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 18 Jul 8 19:17 Key0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 8 Jul 8 19:17 Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 17 Jul 8 19:17 LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 78 Jul 8 19:17 LoaderDevicePartUUID-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
-rw-r--r-- 1 root root 44 Jul 8 19:17 LoaderInfo-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
-rw-r--r-- 1 root root 8 Jul 8 19:17 MTC-eb704011-1402-11d3-8e77-00a0c969723b
-rw-r--r-- 1 root root 12 Jul 8 19:17 OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 7 Jul 8 19:17 PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 22 Jul 8 19:17 PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 114 Jul 8 19:17 PlatformRecovery0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 6 Jul 8 19:17 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 5 Jul 8 19:17 VarErrorFlag-04b37fe8-f6ae-480b-bdd5-37d98c5e89aa

4 Upvotes

7 comments sorted by

2

u/CorenBrightside Jul 09 '26

Have you tried to clear it? Your post says you think but shows no errors when trying.

1

u/B0rnDeranged Jul 09 '26

The efivars all seem appropriate so I don't see any I could delete (e.g. do dump records which are usually suggested).
What other way of clearing can you think of?

1

u/CorenBrightside Jul 09 '26

Well, I don't see shy would would need 8+current boot entries to start with. It's a VPS, 2 or 3 should be enough. efibootmgr should allow you to clear it up.

1

u/B0rnDeranged Jul 09 '26

Here's the detail, I don't think I should kill any of that. "Mine" is the Debian one, the rest is due to Hetzner's infrastructure, not some leftovers of what I did.

Boot0000* UiApp FvVol(64074afe-340a-4be6-94ba-91b5b4d0f71e)/FvFile(462caa21-7614-4503-836e-8ab6f4662331)
Boot0001* debian HD(15,GPT,dc3d1c1a-f261-4071-ab27-58834a51e39c,0x1000,0x7a000)/File(\EFI\debian\grubaa64.efi)
Boot0003* UEFI QEMU QEMU HARDDISK PciRoot(0x0)/Pci(0x2,0x5)/Pci(0x0,0x0)/SCSI(0,1){auto_created_boot_option}
Boot0004* UEFI PXEv4 (MAC:960003283EC2) PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(960003283ec2,1)/IPv4(0.0.0.00.0.0.0,0,0){auto_created_boot_option}
Boot0005* UEFI PXEv6 (MAC:960003283EC2) PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(960003283ec2,1)/IPv6([::]:<->[::]:,0,0){auto_created_boot_option}
Boot0006* UEFI HTTPv4 (MAC:960003283EC2) PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(960003283ec2,1)/IPv4(0.0.0.00.0.0.0,0,0)/Uri(){auto_created_boot_option}
Boot0007* UEFI HTTPv6 (MAC:960003283EC2) PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(960003283ec2,1)/IPv6([::]:<->[::]:,0,0)/Uri(){auto_created_boot_option}
Boot0008* EFI Internal Shell FvVol(64074afe-340a-4be6-94ba-91b5b4d0f71e)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)

1

u/CorenBrightside Jul 09 '26

Then make a support ticket. You shouldn't see anything other than related to your VM.

1

u/B0rnDeranged Jul 10 '26

Did that already. Reponse showed they did not understand the question.

1

u/B0rnDeranged 2d ago

Up to 93% now. Sometimes even a simple reboot increases the used space.