Hello taddeusz,
https://osxlatitude.com/index.php?/topic/10093-e6420-second-sata-port-not-working-in-macos-1013-high-sierra/
did you do a fresh install for High Sierra to work? I have the same E6420 and can't get High Sierra installed. Also, are you using UEFI? thanks