Partition didn't switch to another after Mender system update

ak8893893
Mon, 07 Nov 2022 06:48:23 +0000
General Discussions

Partition didn’t switch to another after Mender system update.

The version I used.
Mender convert version 3.0.0
Mender-server version 3.4.0

The Mender-ui said I succeed the mender system update.

The logs said it will reboot another partition (partition 3).

But I used $ lsblk check my partition is still at partition 2 after rebooting.

$ lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   42G  0 disk
├─sda1   8:1    0  200M  0 part /boot/efi
├─sda2   8:2    0 20.8G  0 part /
├─sda3   8:3    0 20.8G  0 part
└─sda4   8:4    0  128M  0 part /data

Below is my system update logs from /data/mender/

{"level":"info","message":"Running Mender client version: 3.4.0","timestamp":"2022-11-07T06:26:17Z"}
{"level":"info","message":"State transition: update-fetch [Download_Enter] -\u003e update-store [Download_Enter]","timestamp":"2022-11-07T06:26:17Z"}
{"level":"info","message":"No public key was provided for authenticating the artifact","timestamp":"2022-11-07T06:26:17Z"}
{"level":"info","message":"Opening device \"/dev/sda3\" for writing","timestamp":"2022-11-07T06:26:17Z"}
{"level":"info","message":"Native sector size of block device /dev/sda3 is 512 bytes. Mender will write in chunks of 1048576 bytes","timestamp":"2022-11-07T06:26:17Z"}
{"level":"info","message":"All bytes were successfully written to the new partition","timestamp":"2022-11-07T06:28:38Z"}
{"level":"info","message":"The optimized block-device writer wrote a total of 20481 frames, where 5171 frames did need to be rewritten (i.e., skipped)","timestamp":"2022-11-07T06:28:38Z"}
{"level":"info","message":"Wrote 21474836480/21474836480 bytes to the inactive partition","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"State transition: update-store [Download_Enter] -\u003e update-after-store [Download_Leave]","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"State transition: update-after-store [Download_Leave] -\u003e mender-update-control-refresh-maps [none]","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"State transition: mender-update-control-refresh-maps [none] -\u003e mender-update-control [none]","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"State transition: mender-update-control [none] -\u003e update-install [ArtifactInstall]","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"Enabling partition with new image installed to be a boot candidate: 3","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"State transition: update-install [ArtifactInstall] -\u003e mender-update-control-refresh-maps [none]","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"State transition: mender-update-control-refresh-maps [none] -\u003e mender-update-control [none]","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"State transition: mender-update-control [none] -\u003e reboot [ArtifactReboot_Enter]","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"Rebooting device(s)","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"Mender rebooting from active partition: /dev/sda2","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"Daemon terminated with SIGTERM","timestamp":"2022-11-07T06:28:40Z"}
{"level":"info","message":"Running Mender client version: 3.4.0","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: init [none] -\u003e after-reboot [ArtifactReboot_Leave]","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: after-reboot [ArtifactReboot_Leave] -\u003e after-reboot [ArtifactReboot_Leave]","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: after-reboot [ArtifactReboot_Leave] -\u003e mender-update-control-refresh-maps [none]","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: mender-update-control-refresh-maps [none] -\u003e mender-update-control [none]","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: mender-update-control [none] -\u003e update-commit [ArtifactCommit_Enter]","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"Device unauthorized; attempting reauthorization","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"Output (stderr) from command \"/usr/share/mender/identity/mender-device-identity\": using interface /sys/class/net/eth0","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"successfully received new authorization data from server https://docker.mender.io","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"Local proxy started","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"Reauthorization successful","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"Committing update","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: update-commit [ArtifactCommit_Enter] -\u003e update-after-first-commit [none]","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: update-after-first-commit [none] -\u003e update-after-commit [ArtifactCommit_Leave]","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: update-after-commit [ArtifactCommit_Leave] -\u003e cleanup [none]","timestamp":"2022-11-07T06:29:02Z"}
{"level":"info","message":"State transition: cleanup [none] -\u003e update-status-report [none]","timestamp":"2022-11-07T06:29:02Z"}