How do I resolve a non-unique HD Identifier problem?
I finally remembered: the disk is mounted on /dev, but in this case, not on /Volumes. In macOS High Sierra, I: 


excluded both disk and disk partitions from the /dev folder using sudo rm -rf /dev/disk2 &amp;&amp; sudo rm -rf /dev/disk2s1, 
disconnected and reconnected the disk, 
deleted the disk folder mounted at /Volumes, 
rebooted the system and it was recognized. 


But, it doesn't worked on Mojave.

Using the image on Internet Recovery, I renamed the disk label, which makes the disk being recognized by Mojave. But, as said, it only worked for the first time I connected the disk after renaming. 

So, I repeated the renaming, copied my files and formatted it. 
For avoiding futures annoyances, I decided to use NTFS instead of APFS, because the files on this disk could be used as read-only by me on macOS, and, if I need, exchange files using a Windows virtual machine.