@billat29 I am quite sure I only deleted the .xpenoboot directory. Now, I partially found the cause.
As the migration installation didn't have SSH for access, I tried a vanilla 6.2.3 installation. The steps were:
unplug all the 3 HDDs (2 new 8TB HHD and 1 3TB 7-year old HDD).
install a new SSD
install 6.2.3 with extra.lzma+extra2.lzma on SSD.
After installation, plug in HDD one by one. In DSM, repair the disk and reboot each time.
The first 2 HDDs (2 new 8TB) works smoothly.
unplug the new SSD.
But, when the third 3TB plugged, DSM can't login. Synology Assistant shows it is in status "Checking Quota" (sorry, not exact words, as message shown in Chinese). After 8 hours, Synology Assistant can't find the NAS any more.
I unplug the third 3TB drive, DSM works again.
So, I guess the issue is about my third 3TB drive. I guess USB select the 3TB drive for boot. And on that drive, there was an old 6.2.3 installation (no network installation). I am not sure whether it is the cause or not.
It seems I have to abandon the 3TB drive.