[systemd-devel] systemd-234 automount fails

Vlad vovan at vovan.nl
Tue Aug 1 14:30:30 UTC 2017


Without the x-systemd.automount option just "mount /mnt/data" works fine
after reboot.

Regards,
Vlad.

On 31/07/17 16:36, Lennart Poettering wrote:
> 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
>



More information about the systemd-devel mailing list