fatal error #3
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TASK [upgrade-stretch-to-buster : execute dump-server-state] ****************************************************************************************************************************************************
fatal: [foo]: FAILED! => {"changed": true, "cmd": ["/usr/local/sbin/dump-server-state", "--verbose", "--force", "--dump-dir", "/home/backup/stretch-1664896207", "--all"], "delta": "0:00:04.755699", "end": "2022-10-04 17:10:20.362293", "msg": "non-zero return code", "rc": 10, "start": "2022-10-04 17:10:15.606594", "stderr": "", "stderr_lines": [], "stdout": "Task: Create /home/backup/stretch-1664896207\n* mkdir/chmod OK\nTask: /etc\n* rsync OK\nTask: DPkg full state\n* mkdir/chmod OK\n* rsync OK\nTask: DPkg status\n* cp OK\nTask: APT states\n* cp OK\nTask: APT config\n* apt-config OK\nTask: List of installed package\n* dpkg OK\nTask: Process list\n* ps OK\n* pstree OK\nTask: uptime\n* uptime OK\nTask: uname\n* uname OK\nTask: Network status\n* ss OK\n* netstat OK\nTask: Network configuration\n* ip address OK\n* ip route OK\nTask: iptables\n* iptables -v OK\n* iptables OK\n* iptables-save OK\nTask: sysctl values\n* sysctl OK\nTask: virsh list\n* virsh not found\nTask: lxc list\n* lxc-ls not found\nTask: Disks\n* dd vda OK\n* fdisk vda OK\n* dd vdb OK\n* fdisk vdb OK\n* dd vdc ERROR\n/bin/dd: error reading '/dev/vdc': Input/output error\n0+0 records in\n0+0 records out\n0 bytes copied, 0.0114299 s, 0.0 kB/s\n* fdisk vdc ERROR\n\n* dd vdd OK\n* fdisk vdd OK\nTask: Mount points\n* mount points OK\nTask: df\n* df OK\nTask: dmesg\n* dmesg OK\nTask: MySQL processes\n* no mysqld or mariadbd process is running\nTask: Systemd services\n* failed services OK\n=> Your dump is available at /home/backup/stretch-1664896207", "stdout_lines": ["Task: Create /home/backup/stretch-1664896207", "* mkdir/chmod OK", "Task: /etc", "* rsync OK", "Task: DPkg full state", "* mkdir/chmod OK", "* rsync OK", "Task: DPkg status", "* cp OK", "Task: APT states", "* cp OK", "Task: APT config", "* apt-config OK", "Task: List of installed package", "* dpkg OK", "Task: Process list", "* ps OK", "* pstree OK", "Task: uptime", "* uptime OK", "Task: uname", "* uname OK", "Task: Network status", "* ss OK", "* netstat OK", "Task: Network configuration", "* ip address OK", "* ip route OK", "Task: iptables", "* iptables -v OK", "* iptables OK", "* iptables-save OK", "Task: sysctl values", "* sysctl OK", "Task: virsh list", "* virsh not found", "Task: lxc list", "* lxc-ls not found", "Task: Disks", "* dd vda OK", "* fdisk vda OK", "* dd vdb OK", "* fdisk vdb OK", "* dd vdc ERROR", "/bin/dd: error reading '/dev/vdc': Input/output error", "0+0 records in", "0+0 records out", "0 bytes copied, 0.0114299 s, 0.0 kB/s", "* fdisk vdc ERROR", "", "* dd vdd OK", "* fdisk vdd OK", "Task: Mount points", "* mount points OK", "Task: df", "* df OK", "Task: dmesg", "* dmesg OK", "Task: MySQL processes", "* no mysqld or mariadbd process is running", "Task: Systemd services", "* failed services OK", "=> Your dump is available at /home/backup/stretch-1664896207"]}
It seems that
fdisk
tried to copy the partition table for a device that doesn't have one :/I can't reproduce on the same server.
/dev/vda
has partitions, it's OK :/dev/vdc
doesn't have partition, it's OK too :Maybe, it was a problem specific to
/dev/vdd
which is not on the server anymore.