[systemd-devel] systemd-234 automount fails
Lennart Poettering
lennart at poettering.net
Mon Jul 31 14:36:20 UTC 2017
On Do, 27.07.17 12:27, Vlad (vovan at vovan.nl) wrote:
> Hello,
>
> Autogenerated from fstab mount unit fails, the relevant fstab entry:
> UUID=xxxxxx /mnt/data btrfs
> noatime,autodefrag,discard,subvol=data,nofail,noauto,x-systemd.automount
> 0 0
>
> >From log
> Jul 27 12:09:15 xxx systemd[1]: mnt-data.automount: Got automount
> request for /mnt/data, triggered by 2045 (ls)
> Jul 27 12:09:15 xxx systemd[1]: Mounting /mnt/data...
> Jul 27 12:09:15 xxx systemd[1]: mnt-data.mount: Mount process exited,
> code=exited status=32
> Jul 27 12:09:15 xxx systemd[1]: Failed to mount /mnt/data.
> Jul 27 12:09:15 xxx systemd[1]: mnt-data.mount: Unit entered failed state.
>
>
> Works fine with systemd versions < 234.
Hmm, /bin/mount returns 32, which means "mount failure" according to
its documentation...
If you issue "mount UUID=xxxx /mnt/data
btrfsnoatime,autodefrag,discard,subvol=data,nofail,noauto," on the
shell, does it work then?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list