On 2017-01-26 12:55, Andrei Borzenkov wrote:
On Thu, Jan 26, 2017 at 2:18 PM, Carlos E. R. <> wrote: ...
But the cause is this (posted yesterday):
Telcontar:~ # systemctl show -p RequiredBy -p WantedBy data-other.mount RequiredBy=nfs-server.service WantedBy= Telcontar:~ #
And...
Telcontar:~ # cat /etc/exports | egrep -v "^[[:space:]]*$|^#" ... /data/other/ 192.168.1.0/24(fsid=1236,ro,root_squash,nohide,no_subtree_check) /data/aux_01/ 192.168.1.129(fsid=1250,rw,no_root_squash,nohide,no_subtree_check)
This setup has worked without a problem on 13.1. Obviously now systemd scans it. There is no "noauto" option AFAIK. I was happy with exporting an empty directory if it was not mounted.
https://lists.freedesktop.org/archives/systemd-devel/2017-January/038192.htm...
Yes, indeed. Thanks. «/etc/exports has a 'mountpoint' option which causes an entry to be ignored if it is not, in fact, a mountpoint. This works well for NFSv3 but is a bit awkward for NFSv4 (I don't recall exactly why). Setting "mountpoint" on exports of filesystems which are "noauto" will avoid most of the strange behaviour that you fear.» I'll have to explore that. The thread is very recent, this year. My hack for the moment is to comment out the entry in exports, then edit it after mounting any of those disks. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)