Nach der Installation von REAR startet beim booten das Netzwerk nicht mehr

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
sharbich
Beiträge: 284
Registriert: 27.09.2013 21:12:40

Nach der Installation von REAR startet beim booten das Netzwerk nicht mehr

Beitrag von sharbich » 31.03.2021 08:28:17

Hallo Ihr Lieben,
zur Zeit beschäftige ich mich mit dem Thema Desaster Recovery meines Debian Buster Servers. Hierzu habe ich ich REAR installiert und wie folgt konfiguriert:

Code: Alles auswählen

root@ldap:~# cat /etc/rear/local.conf
OUTPUT=USB
BACKUP=NETFS
BACKUP_URL="usb:///dev/sdc2"
GRUB_RESCUE=1
...
rear -v format -- --efi --force /dev/sdc1
rear -v mkbackup
Die USB Festplatte hängt am Server wird aber beim booten nicht berücksichtigt. Beim starten des Server sehe ich im Journal folgenden Hinweis:

Code: Alles auswählen

Mär 31 08:07:56 ldap systemd-udevd[317]: Spawned process '/usr/sbin/rear udev' [373] is taking longer than 59s to complete
Mär 31 08:07:56 ldap systemd-udevd[282]: sdc2: Worker [317] processing SEQNUM=1936 is taking a long time
Mär 31 08:08:54 ldap systemd[1]: ifupdown-pre.service: Main process exited, code=exited, status=1/FAILURE
Mär 31 08:08:54 ldap systemd[1]: ifupdown-pre.service: Failed with result 'exit-code'.
Mär 31 08:08:54 ldap systemd[1]: Failed to start Helper to synchronize boot up for ifupdown.
Mär 31 08:08:54 ldap systemd[1]: Dependency failed for Raise network interfaces.
Mär 31 08:08:54 ldap systemd[1]: networking.service: Job networking.service/start failed with result 'dependency'.
Irgendwie scheint das mit der Installation von REAR zusammen zu hängen. Irgendwas prüft REAR beim starten des Servers das so lange dauert, dass mein Netzwerk nicht mehr hoch kommt. Zwei Netzwerkkarten sind als bond konfiguriert. Hierzu meine Konfiguration:

Code: Alles auswählen

root@ldap:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# allow-hotplug eth0
# auto eth0
iface eth0 inet manual

# The scondery network interface
# allow-hotplug eth1
# auto eth1
allow eth1
iface eth1 inet manual

# The thirty network interface
# allow-hotplug eth2
# auto eth2
allow eth2
iface eth2 inet manual

# The bond dmz network interface
auto bond0
iface bond0 inet static
	address 192.168.20.20
	netmask 255.255.255.0
	network 192.168.20.0
	gateway 192.168.20.1
	dns-search intern.harnet.de
	dns-nameservers 192.168.20.20
	bond-slaves eth1 eth2
	bond_mode 4
	bond_miimon 100
	bond_updelay 200
	bond_downdelay 200
	up ip addr add 192.168.20.25 brd + dev bond0
	up ip addr add 192.168.20.26 brd + dev bond0
	up ip addr add 192.168.20.28 brd + dev bond0
	up ip addr add 192.168.20.30 brd + dev bond0
	up ip addr add 192.168.20.40 brd + dev bond0

# IP Address for virtuel Apache Host
	up ip addr add 192.168.20.10 brd + dev bond0    # swme01
	up ip addr add 192.168.20.100 brd + dev bond0	# mome01
	up ip addr add 192.168.20.101 brd + dev bond0	# pbxme01
	up ip addr add 192.168.20.120 brd + dev bond0   # mphpme01

# The bond cups network
auto bond0.110
iface bond0.110 inet static
        address 192.168.110.20
        netmask 255.255.255.0
        network 192.168.110.0
        dns-search intern.harnet.de
        dns-nameservers 192.168.20.20

# The bond plex network
auto bond0.120
iface bond0.120 inet static
	address 192.168.120.20
	netmask 255.255.255.0
	network 192.168.120.0
	dns-search intern.harnet.de
	dns-nameservers 192.168.20.20

# The bond openhub network
auto bond0.130
iface bond0.130 inet static
        address 192.168.130.20
        netmask 255.255.255.0
        network 192.168.130.0
        dns-search intern.harnet.de
        dns-nameservers 192.168.20.20

# The bond voip network
auto bond0.140
iface bond0.140 inet static
        address 192.168.140.20
        netmask 255.255.255.0
        network 192.168.140.0
        dns-search intern.harnet.de
        dns-nameservers 192.168.20.20

# The bond elk network
auto bond0.150
iface bond0.150 inet static
        address 192.168.150.20
        netmask 255.255.255.0
        network 192.168.150.0
        dns-search intern.harnet.de
        dns-nameservers 192.168.20.20

# The bond openvpn network
auto bond0.10
iface bond0.10 inet manual
	up ip link set $IFACE up promisc on
	down ip link set $IFACE down promisc off
Könnt Ihr mir weiterhelfen?

Gruß von Stefan Harbich

sharbich
Beiträge: 284
Registriert: 27.09.2013 21:12:40

Re: Nach der Installation von REAR startet beim booten das Netzwerk nicht mehr

Beitrag von sharbich » 31.03.2021 09:20:07

Hallo Ihr Lieben,

es scheint so als hängt das Problem mit meiner /dev/sdc USB Festplatte zusammen. Als ich die Festplatte entfernt habe bootet mein Server ohne Probleme. Wie kann ich das weiter untersuchen?

Gruß von Stefan Harbich

Antworten