Comment 13 for bug 1683910

Revision history for this message
Ryan Harper (raharper) wrote : Re: Can't SSH into deployed node that has an iSCSI disk.

OK. I've debugged the situation. There are two issues:

1) at the end of a curtin install which uses an iscsi disk (which also is included in an LVM or other non-filesystem holder) we logout of the iscsi disk prior to unmounting it from the target. This may not ensure that all data is flushed despite the sync call; this could cause corruption in the filesystem on the iscsi volume. I believe we can defer disconnect until after we've unmounted everything from target

2) fstab entries for iscsi volumes are not marked as requiring network and systemd will then attempt to mount the early, fail and then system goes into recovery mode. The fix here is to add '_netdev' to the mount options.