[GUIDE] Upgrade a working My Cloud to a bigger HDD (easy steps)

I tried all suggested ways to get my 4TB cloned HD to work (except " Unbricking WD Mycloud gen 2. SOLVED!"). In the meantime, it occurred to me to look at what errors appear in the MyCloud console (with dmesg) when the dashboard is in the process of formatting, and these are the lines just before and while formatting process is happening …

[Thu Jan  6 19:12:51 2022] kill_running_process ...
[Thu Jan  6 19:12:52 2022] nfsd: last server has exited, flushing export cache
[Thu Jan  6 19:12:57 2022] kill_running_process done.

[Thu Jan  6 19:12:59 2022] md0: detected capacity change from 2144337920 to 0
[Thu Jan  6 19:12:59 2022] md: md0 stopped.
[Thu Jan  6 19:13:10 2022] md/raid1:md0: active with 1 out of 2 mirrors
[Thu Jan  6 19:13:10 2022] md0: detected capacity change from 0 to 2147418112
[Thu Jan  6 19:13:11 2022]  md0: p1 p2
[Thu Jan  6 19:13:13 2022] EXT4-fs (md0p1): mounted filesystem with ordered data mode. Opts: (null)
[Thu Jan  6 19:13:13 2022] Adding 1532840k swap on /dev/md0p2.  Priority:-2 extents:1 across:1532840k 
[Thu Jan  6 19:13:23 2022] SQUASHFS error: xz decompression failed, data probably corrupt
[Thu Jan  6 19:13:23 2022] SQUASHFS error: squashfs_read_data failed to read block 0x558660
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read fragment cache entry [558660]
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read page, block 558660, size 8d54
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read fragment cache entry [558660]
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read page, block 558660, size 8d54
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read fragment cache entry [558660]
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read page, block 558660, size 8d54
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read fragment cache entry [558660]
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read page, block 558660, size 8d54
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read fragment cache entry [558660]
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read page, block 558660, size 8d54
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read fragment cache entry [558660]
[Thu Jan  6 19:13:23 2022] SQUASHFS error: Unable to read page, block 558660, size 8d54
[Thu Jan  6 19:13:25 2022] SQUASHFS error: xz decompression failed, data probably corrupt
[Thu Jan  6 19:13:25 2022] SQUASHFS error: squashfs_read_data failed to read block 0x95488a8
[Thu Jan  6 19:13:25 2022] SQUASHFS error: Unable to read fragment cache entry [95488a8]
[Thu Jan  6 19:13:25 2022] SQUASHFS error: Unable to read page, block 95488a8, size 8ba8
...

And those errors will continue until system hangs. Any idea?