On Tue, Dec 09, 2014 at 09:22:41AM -0800, awiddersh...@hotmail.com wrote:
> Sorry, I didn't post the fstab entry in my original post when I should 
> have. The "_netdev" entry is being applied to the disk and it seems like 
> systemd generator is seeing that option properly and creating the mount 
> point correctly (or so I think). Here is the fstab entry:
> 
> LABEL=/iscsi-disk           /iscsi-disk                ext4    _netdev     
>     0 0
> 
> Long story short, no it doesn't seem to be helping unfortunately.

That was going to be my first guess as well, as I've been working with
the systemd developers to try and sort out the remote-fs/_netdev
behavior - it currently only works if there's an entry in fstab with the
_netdev option at the time systemd-fstab-generator is run.
It sounds like you've got that though.

My next guess is that the remote-fs-pre.target is not actually active,
so ordering on shutdown isn't being enforced properly.

What does 'systemctl status remote-fs.target remote-fs-pre.target' show?

Could you try adding a Wants=remote-fs-pre.target to the [Unit] section
of iscsi.service ?

Note that the special remote-fs-pre.target block manual activation, so
after editing iscsi.service and doing a daemon-reload you'll probably
need to fully stop and start the iscsi.service to get it to pull in
remote-fs-pre.target (or reboot, or some ugly hack to override
remote-fs-pre.target and remove the RefuseManualStart setting).

- Chris

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to