Interface problem after update

Mister X

Member
Mar 2, 2021
35
0
11
Hi,

I can't get up bond0.
ifreload -a
warning: error while writing to file /sys/class/net/bonding_masters: [Errno 13] Permission denied: '/sys/class/net/bonding_masters'
error: netlink: enp7s0f0np0: cannot enslave link enp7s0f0np0 to bond0: ifname bond0 not present in cache

/etc/network/interface:
Code:
root@pbs:/etc/network# cat interfaces
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
        address 192.168.10.110/24
        gateway 192.168.10.1

auto enp2s0f0np0
iface enp2s0f0np0 inet manual

auto enp7s0f1np1
iface enp7s0f1np1 inet manual
#backup

auto enp7s0f0np0
iface enp7s0f0np0 inet manual
#backup

auto enp2s0f1np1
iface enp2s0f1np1 inet manual

iface eno2 inet manual

auto bond0
iface bond0 inet static
        address 192.168.11.110/24
        bond-mode 802.3ad
        bond-slaves enp7s0f0np0 enp7s0f1np1
 
The bond is still disabled, but the backup works without any failures. In my configuration the vmbr0 is missing, but it works. Also with vmbr0 with address setting 192.16.11.1120/24 and without IP on bond0. The Bond Mode is uninteresting because the bond is inactive. I can put whatever I want there. It doesn't change anything. - Crazy!
 
Code:
root@pbs:/etc/network# cat interfaces
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
        address 192.168.10.110/24
        gateway 192.168.10.1

auto enp2s0f0np0
iface enp2s0f0np0 inet manual

auto enp7s0f1np1
iface enp7s0f1np1 inet manual
#backup

auto enp7s0f0np0
iface enp7s0f0np0 inet manual
#backup

auto enp2s0f1np1
iface enp2s0f1np1 inet manual

iface eno2 inet manual

auto bond0
iface bond0 inet static
        bond-mode 802.3ad
        bond-slaves enp7s0f0np0 enp7s0f1np1

auto vmbr0
iface vmbr0 inet static
        address 192.168.11.110/24
#backup
        bridge-ports bond0
 
Is there an other log file than /var/log/syslog to see what's wrong?
 
Last edited:
??? What is this???
Code:
root@pbs:/# df -h
Filesystem                  Size  Used Avail Use% Mounted on
udev                            7.8G     0  7.8G         0% /dev
tmpfs             ´            1.6G  1.4M  1.6G      1% /run
rpool/ROOT/pbs-1    899G  7.9G  892G    1% /
tmpfs                           7.8G     0  7.8G         0% /dev/shm
tmpfs                           5.0M     0  5.0M        0% /run/lock
rpool                            892G  128K  892G   1% /rpool
rpool/ROOT                892G  128K  892G   1% /rpool/ROOT
backup01                   15T  3.3T   11T         24% /mnt/datastore/backup01
tmpfs                          1.6G     0  1.6G          0% /run/user/0

Code:
root@pbs:/# l /boot
total 671M
-rw-r--r-- 1 root root 247K Nov  7  2021 config-5.11.22-7-pve
-rw-r--r-- 1 root root 256K Jun 10 16:56 config-5.15.158-1-pve
-rw-r--r-- 1 root root 232K Jul 21  2021 config-5.4.128-1-pve
-rw-r--r-- 1 root root 232K Sep 21  2020 config-5.4.65-1-pve
-rw-r--r-- 1 root root 269K Jul 25  2023 config-6.2.16-5-pve
-rw-r--r-- 1 root root 280K Aug  5 18:17 config-6.8.12-1-pve
-rw-r--r-- 1 root root 281K Sep  5 12:03 config-6.8.12-2-pve
-rw-r--r-- 1 root root 281K Jun 24 11:00 config-6.8.8-2-pve
-rw-r--r-- 1 root root 281K Jul 16 18:16 config-6.8.8-3-pve
drwxr-xr-x 2 root root    2 Feb 12  2021 efi
drwxr-xr-x 5 root root    8 Sep 12 19:04 grub
-rw-r--r-- 1 root root  54M Nov 10  2021 initrd.img-5.11.22-7-pve
-rw-r--r-- 1 root root  57M Jun 19 14:23 initrd.img-5.15.158-1-pve
-rw-r--r-- 1 root root  46M Aug 19  2021 initrd.img-5.4.128-1-pve
-rw-r--r-- 1 root root  39M Feb 12  2021 initrd.img-5.4.65-1-pve
-rw-r--r-- 1 root root  57M Sep 27 11:27 initrd.img-6.2.16-5-pve
-rw-r--r-- 1 root root  57M Sep 12 19:05 initrd.img-6.8.12-1-pve
-rw-r--r-- 1 root root  58M Sep 27 11:31 initrd.img-6.8.12-2-pve
-rw-r--r-- 1 root root  58M Sep 27 11:26 initrd.img-6.8.12-2-pve.dpkg-bak
-rw-r--r-- 1 root root  58M Jul  2 10:13 initrd.img-6.8.8-2-pve
-rw-r--r-- 1 root root  58M Jul 29 10:34 initrd.img-6.8.8-3-pve
-rw-r--r-- 1 root root 136K Feb 11  2023 memtest86+ia32.bin
-rw-r--r-- 1 root root 137K Feb 11  2023 memtest86+ia32.efi
-rw-r--r-- 1 root root 141K Feb 11  2023 memtest86+x64.bin
-rw-r--r-- 1 root root 142K Feb 11  2023 memtest86+x64.efi
drwxr-xr-x 2 root root   14 Sep 12 19:04 pve
-rw-r--r-- 1 root root 5.5M Nov  7  2021 System.map-5.11.22-7-pve
-rw-r--r-- 1 root root 5.9M Jun 10 16:56 System.map-5.15.158-1-pve
-rw-r--r-- 1 root root 4.6M Jul 21  2021 System.map-5.4.128-1-pve
-rw-r--r-- 1 root root 4.5M Sep 21  2020 System.map-5.4.65-1-pve
-rw-r--r-- 1 root root 7.4M Jul 25  2023 System.map-6.2.16-5-pve
-rw-r--r-- 1 root root 7.7M Aug  5 18:17 System.map-6.8.12-1-pve
-rw-r--r-- 1 root root 8.0M Sep  5 12:03 System.map-6.8.12-2-pve
-rw-r--r-- 1 root root 8.0M Jun 24 11:00 System.map-6.8.8-2-pve
-rw-r--r-- 1 root root 8.0M Jul 16 18:16 System.map-6.8.8-3-pve
-rw-r--r-- 1 root root  14M Nov  7  2021 vmlinuz-5.11.22-7-pve
-rw-r--r-- 1 root root  11M Jun 10 16:56 vmlinuz-5.15.158-1-pve
-rw-r--r-- 1 root root  12M Jul 21  2021 vmlinuz-5.4.128-1-pve
-rw-r--r-- 1 root root  12M Sep 21  2020 vmlinuz-5.4.65-1-pve
-rw-r--r-- 1 root root  13M Jul 25  2023 vmlinuz-6.2.16-5-pve
-rw-r--r-- 1 root root  14M Aug  5 18:17 vmlinuz-6.8.12-1-pve
-rw-r--r-- 1 root root  14M Sep  5 12:03 vmlinuz-6.8.12-2-pve
-rw-r--r-- 1 root root  14M Jun 24 11:00 vmlinuz-6.8.8-2-pve
-rw-r--r-- 1 root root  14M Jul 16 18:16 vmlinuz-6.8.8-3-pve

And when I want to delete old kernels:
Code:
root@pbs:/# apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  proxmox-kernel-6.8.8-1-pve-signed proxmox-kernel-6.8.8-3-pve-signed
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 1,156 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 133888 files and directories currently installed.)
Removing proxmox-kernel-6.8.8-1-pve-signed (6.8.8-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 6.8.8-1-pve /boot/vmlinuz-6.8.8-1-pve
update-initramfs: Deleting /boot/initrd.img-6.8.8-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 6.8.8-1-pve /boot/vmlinuz-6.8.8-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 6.8.8-1-pve /boot/vmlinuz-6.8.8-1-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/DD4A-EF29
        Copying kernel and creating boot-entry for 5.15.158-1-pve
        Copying kernel and creating boot-entry for 6.8.12-1-pve
        Copying kernel and creating boot-entry for 6.8.12-2-pve
cp: error copying '/boot/initrd.img-6.8.12-2-pve' to '/var/tmp/espmounts/DD4A-EF29/EFI/proxmox/6.8.12-2-pve/initrd.img-6.8.12-2-pve': No space left on device
run-parts: /etc/kernel/postrm.d/zz-proxmox-boot exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/proxmox-kernel-6.8.8-1-pve-signed.postrm line 15.
dpkg: error processing package proxmox-kernel-6.8.8-1-pve-signed (--remove):
 installed proxmox-kernel-6.8.8-1-pve-signed package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 proxmox-kernel-6.8.8-1-pve-signed
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code:
root@pbs:/# apt remove pve-kernel-5.11.22-7-pve pve-kernel-5.15.158-1-pve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  proxmox-kernel-6.8.8-3-pve-signed
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
  proxmox-kernel-6.8.8-1-pve-signed pve-kernel-5.11.22-7-pve pve-kernel-5.15 pve-kernel-5.15.158-1-pve
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 1,370 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 133888 files and directories currently installed.)
Removing proxmox-kernel-6.8.8-1-pve-signed (6.8.8-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 6.8.8-1-pve /boot/vmlinuz-6.8.8-1-pve
update-initramfs: Deleting /boot/initrd.img-6.8.8-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 6.8.8-1-pve /boot/vmlinuz-6.8.8-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 6.8.8-1-pve /boot/vmlinuz-6.8.8-1-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/DD4A-EF29
        Copying kernel and creating boot-entry for 5.4.128-1-pve
mkdir: cannot create directory ‘/var/tmp/espmounts/DD4A-EF29/EFI/proxmox/5.4.128-1-pve’: No space left on device
run-parts: /etc/kernel/postrm.d/zz-proxmox-boot exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/proxmox-kernel-6.8.8-1-pve-signed.postrm line 15.
dpkg: error processing package proxmox-kernel-6.8.8-1-pve-signed (--remove):
 installed proxmox-kernel-6.8.8-1-pve-signed package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 proxmox-kernel-6.8.8-1-pve-signed
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Thank you for your support.
 

Attachments

  • localhost-pbs-report-Fri-27-September-2024-12-05.txt
    19.5 KB · Views: 2

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!