I have tried this same process without any services running on the iSCSI 
drive and it seems to unmount without issue. Probably because nothing is 
trying to write to it so no I/O issues would arise. 

I agree with your log analysis that it doesn't seem like the order 
requested by the iscsi, iscsid, MySQL and iscsi-disk.mount files is being 
enforced or things are not stopping when they say they are. The ordering 
requested in those unit files seems sane to me though.

The order should be as follows:

Stop MySQL
Unmount remote-fs (/iscsi-disk)
Stop iscsi (logout of targets)
Stop iscsid

Again, I'm not sure why it seems like iscsi, iscsid services are stopping 
before MySQL is stopped or more importantly, before /iscsi-disk is 
unmounted.

I find debugging systemd and ordering particularly difficult because it 
starts/stops multiple things at once so when looking at the log files I'm 
not sure if the order in which things are logged is the order in which 
things actually happened.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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