I updated Odroid C2 from v8.1.1 to v8.1.2 and can't mount anymore cifs shares (from kodi menu I can mount shares but not with systemctl)
I created /storage/.config/system.d/storage-Media.mount with:
Code
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=//192.168.5.1/Media
Where=/storage/Media
Options=username=user,password=pass,rw
Type=cifs
[Install]
WantedBy=multi-user.target
Display More
When trying to mount I get
Code
systemctl start storage-Media.mount
Job for storage-Media.mount failed.
See "systemctl status storage-Media.mount" and "journalctl -xe" for details.
systemctl status storage-Media.mount
storage-Media.mount - cifs mount script
Loaded: loaded (/storage/.config/system.d/storage-Media.mount; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-09-26 14:13:52 EEST; 37s ago
Where: /storage/Media
What: //192.168.5.1/Media
Process: 795 ExecMount=/usr/bin/mount //192.168.5.1/Media /storage/Media -t cifs -o username=user,password=pass,rw (code=exited, status=255)
Sep 26 14:13:52 LibreELEC systemd[1]: Mounting cifs mount script...
Sep 26 14:13:52 LibreELEC systemd[1]: storage-Media.mount: Mount process exited, code=exited status=255
Sep 26 14:13:52 LibreELEC systemd[1]: Failed to mount cifs mount script.
Sep 26 14:13:52 LibreELEC systemd[1]: storage-Media.mount: Unit entered failed state.
journalctl -xe
● storage-Media.mount - cifs mount script
Loaded: loaded (/storage/.config/system.d/storage-Media.mount; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-09-26 14:13:52 EEST; 37s ago
Where: /storage/Media
What: //192.168.5.1/Media
Process: 795 ExecMount=/usr/bin/mount //192.168.5.1/Media /storage/Media -t cifs -o username=user,password=pass,rw (code=exited, status=255)
Sep 26 14:13:52 LibreELEC systemd[1]: Mounting cifs mount script...
● storage-Media.mount - cifs mount script
● storage-Media.mount - cifs mount script
Loaded: loaded (/storage/.config/system.d/storage-Media.mount; enabled; vendor preset: disabled)
-- Logs begin at Tue 2017-09-26 14:10:02 EEST, end at Tue 2017-09-26 14:15:36 EEST. --
Sep 26 14:14:26 LibreELEC kernel: i2c i2c-1: token 1, master_no(1) 300K addr 0x51
● storage-Media.mount - cifs mount script
Loaded: loaded (/storage/.config/system.d/storage-Media.mount; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-09-26 14:15:00 EEST; 53s ago
Where: /storage/Media
What: //192.168.5.1/Media
-- Logs begin at Tue 2017-09-26 14:11:12 EEST, end at Tue 2017-09-26 14:16:09 EEST. --
Sep 26 14:14:59 LibreELEC kernel: i2c i2c-1: token 1, master_no(1) 300K addr 0x51
Sep 26 14:14:59 LibreELEC kernel: i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO)
Sep 26 14:14:59 LibreELEC kernel: i2c i2c-1: token 1, master_no(1) 300K addr 0x51
Sep 26 14:14:59 LibreELEC kernel: i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO)
Sep 26 14:14:59 LibreELEC kernel: i2c i2c-1: token 1, master_no(1) 300K addr 0x51
Sep 26 14:14:59 LibreELEC kernel: rtc-pcf8563 1-0051: pcf8563_get_datetime: read error
Sep 26 14:15:00 LibreELEC crond[292]: USER root pid 805 cmd /storage/.config/automount.sh
Sep 26 14:15:00 LibreELEC systemd[1]: storage-Media.mount: Directory /storage/Media to mount over is not empty, mounting anyway.
Sep 26 14:15:00 LibreELEC systemd[1]: Mounting cifs mount script...
Sep 26 14:15:00 LibreELEC systemd[1]: storage-Media.mount: Mount process exited, code=exited status=255
Sep 26 14:15:00 LibreELEC systemd[1]: Failed to mount cifs mount script.
Sep 26 14:15:00 LibreELEC systemd[1]: storage-Media.mount: Unit entered failed state.
Sep 26 14:15:00 LibreELEC crond[292]: Job for storage-Media.mount failed.
Sep 26 14:15:00 LibreELEC crond[292]: See "systemctl status storage-Media.mount" and "journalctl -xe" for details.
Sep 26 14:15:00 LibreELEC crond[292]: Cifs share not available on 26/09/2017 14:15:00
Sep 26 14:15:00 LibreELEC kernel: i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO)
Sep 26 14:15:00 LibreELEC kernel: i2c i2c-1: token 1, master_no(1) 300K addr 0x51
Sep 26 14:15:00 LibreELEC kernel: i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO)
Sep 26 14:15:00 LibreELEC kernel: i2c i2c-1: token 1, master_no(1) 300K addr 0x51
Display More
After downgrading to v8.1.1 it's working again