[systemd-devel] nfs-server.service starts before _netdev iscsi mount completes (required)... how can I fix this?

Tomasz Torcz tomek at pipebreaker.pl
Fri Nov 4 11:24:59 UTC 2016


On Thu, Nov 03, 2016 at 04:01:15PM -0700, ccox at endlessnow.com wrote:
> so.... I'm using CentOS 7, and we're mounting a disk from our iSCSI
> SAN and then we want to export that via NFS.  But on a fresh boot the
> nfs-server service fails because the filesytem isn't there yet.  Any
> ideas on how to fix this?

 Add RequiresMountsFor=/your/export/path to nfs-server.service

-- 
Tomasz Torcz                        Once you've read the dictionary,
xmpp: zdzichubg at chrome.pl           every other book is just a remix.


More information about the systemd-devel mailing list