You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running usbmount on Ubuntu 18.04 on a Raspberry Pi 4:
$ uname -a
Linux hfpsrv-simu 5.4.0-1025-raspi #28~18.04.1-Ubuntu SMP PREEMPT Thu Dec 10 03:37:31 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
Fails to auto mount, see syslog:
Dec 21 09:53:47 hfpsrv-simu usbmount[1820]: /dev/sda2 contains filesystem type ext4
Dec 21 09:53:47 hfpsrv-simu usbmount[1820]: mountpoint /media/sandisk is available for /dev/sda2
Dec 21 09:53:47 hfpsrv-simu usbmount[1820]: executing command: mount -text4 /dev/sda2 /media/sandisk
Dec 21 09:53:47 hfpsrv-simu systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Dec 21 09:53:47 hfpsrv-simu systemd[1]: [email protected]: Failed with result 'exit-code'.
Dec 21 09:53:47 hfpsrv-simu systemd[1]: Failed to start [email protected].
$ sudo systemctl status [email protected]
● [email protected]
Loaded: loaded (/lib/systemd/system/[email protected]; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-12-21 09:53:47 UTC; 1h 23min ago
Process: 1820 ExecStart=/usr/share/usbmount/usbmount add (code=exited, status=1/FAILURE)
Main PID: 1820 (code=exited, status=1/FAILURE)
Dec 21 09:53:47 hfpsrv-simu systemd[1]: Starting [email protected]...
Dec 21 09:53:47 hfpsrv-simu usbmount[1833]: trying to acquire lock /var/run/usbmount/.mount.lock
Dec 21 09:53:47 hfpsrv-simu usbmount[1840]: acquired lock /var/run/usbmount/.mount.lock
Dec 21 09:53:47 hfpsrv-simu systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Dec 21 09:53:47 hfpsrv-simu systemd[1]: [email protected]: Failed with result 'exit-code'.
Dec 21 09:53:47 hfpsrv-simu systemd[1]: Failed to start [email protected].
Manually mounting works fine:
$ sudo mount -text4 /dev/sda2 /media/sandisk
$ df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/sda2 14G 256M 13G 2% /media/sandisk
Any ideas?
The text was updated successfully, but these errors were encountered:
TLDR: Current version already has appropriate changes but raspberry repository still has very old version (2011) and appropriate changes were made in 2017. So solution is take latest version, build as described in readme and install manually.
Running usbmount on Ubuntu 18.04 on a Raspberry Pi 4:
$ uname -a
Linux hfpsrv-simu 5.4.0-1025-raspi #28~18.04.1-Ubuntu SMP PREEMPT Thu Dec 10 03:37:31 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
Fails to auto mount, see syslog:
Dec 21 09:53:47 hfpsrv-simu usbmount[1820]: /dev/sda2 contains filesystem type ext4
Dec 21 09:53:47 hfpsrv-simu usbmount[1820]: mountpoint /media/sandisk is available for /dev/sda2
Dec 21 09:53:47 hfpsrv-simu usbmount[1820]: executing command: mount -text4 /dev/sda2 /media/sandisk
Dec 21 09:53:47 hfpsrv-simu systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Dec 21 09:53:47 hfpsrv-simu systemd[1]: [email protected]: Failed with result 'exit-code'.
Dec 21 09:53:47 hfpsrv-simu systemd[1]: Failed to start [email protected].
$ sudo systemctl status [email protected]
● [email protected]
Loaded: loaded (/lib/systemd/system/[email protected]; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-12-21 09:53:47 UTC; 1h 23min ago
Process: 1820 ExecStart=/usr/share/usbmount/usbmount add (code=exited, status=1/FAILURE)
Main PID: 1820 (code=exited, status=1/FAILURE)
Dec 21 09:53:47 hfpsrv-simu systemd[1]: Starting [email protected]...
Dec 21 09:53:47 hfpsrv-simu usbmount[1833]: trying to acquire lock /var/run/usbmount/.mount.lock
Dec 21 09:53:47 hfpsrv-simu usbmount[1840]: acquired lock /var/run/usbmount/.mount.lock
Dec 21 09:53:47 hfpsrv-simu systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Dec 21 09:53:47 hfpsrv-simu systemd[1]: [email protected]: Failed with result 'exit-code'.
Dec 21 09:53:47 hfpsrv-simu systemd[1]: Failed to start [email protected].
Manually mounting works fine:
$ sudo mount -text4 /dev/sda2 /media/sandisk
$ df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/sda2 14G 256M 13G 2% /media/sandisk
Any ideas?
The text was updated successfully, but these errors were encountered: