Raspberry Pi 3 not shutting down external HDD

Thanks for your reply! It’s a good idea, I’ll test it tonight. And I’m gonna test also this post because maybe it will solve this problem. OSMC not properly unmounting disks at reboot/shutdown [SOLVED - false issue] - #2 by sam_nazarko

Thank you!

EDIT 1:

Ok, I’ve tried again with the RPI 1B and the HDD is correctly shutted down. I’ve check both versions (Kodi and OSMC) in both devices (RPI 1 and RPI 3). Obviously they have distinct versions:

Raspberry Pi 1
> grep Kodi .kodi/temp/kodi.log | head -3
20:13:46.834 T:3025838080 NOTICE: Starting Kodi (17.1). Platform: Linux ARM 32-bit
20:13:46.834 T:3025838080 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
20:13:46.834 T:3025838080 NOTICE: Kodi compiled Mar 20 2017 by GCC 4.9.2 for Linux ARM 32-bit version 3.16.7 (200711)

> grep VERSION_ID /etc/os-release
VERSION_ID="2017.03-1"

Raspberry Pi 3
> grep Kodi .kodi/temp/kodi.log | head -3
21:08:20.934 T:1958989824 NOTICE: Starting Kodi (17.1). Platform: Linux ARM (Thumb) 32-bit
21:08:20.934 T:1958989824 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
21:08:20.934 T:1958989824 NOTICE: Kodi compiled May 2 2017 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.39 (200743)

> grep VERSION_ID /etc/os-release
VERSION_ID="2017.04-1"

This might be the reason why they works different. I’m gonna upgrade the RPI 1 to check if now, with the same version as RPI 3 the HDD is not shutting down.

BTW, this trick OSMC not properly unmounting disks at reboot/shutdown [SOLVED - false issue] - #2 by sam_nazarko doesn’t fix this issue, but mounts/unmounts correctly all devices, so now I can hide the EFI partition assigning the option noauto.

I’ll update this post with the results.

Thanks

EDIT 2:

I’ve just upgraded RPI 1 to lastest version via apt-get update and dist-upgrade and I got:
> grep Kodi .kodi/temp/kodi.log | head -3
23:58:19.976 T:3025575936 NOTICE: Starting Kodi (17.1). Platform: Linux ARM 32-bit
23:58:19.976 T:3025575936 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
23:58:19.977 T:3025575936 NOTICE: Kodi compiled Apr 10 2017 by GCC 4.9.2 for Linux ARM 32-bit version 3.16.7 (200711)

> grep VERSION_ID /etc/os-release
VERSION_ID="2017.04-1"

This version is still working fine shutting down HDD before shutting down itself. I’m trying to upgade again but no updates are found, so I believe this is the lastest version for Pi 1 which is distinct to version for Pi 3.

My next step will be downgrade the Kodi version for Pi 3 to “Kodi compiled Apr 10 2017 by GCC 4.9.2 for Linux ARM 32-bit version 3.16.7 (200711)” and check if Pi 3 is shutting down the HDD or not. I’ll edit soon. Thanks