File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Management-Utilities/ec2-user-data-iscsi-create-and-mount Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ logMessage "${commandDescription}"
7676sed -i ' s/node.session.timeo.replacement_timeout = .*/node.session.timeo.replacement_timeout = 5/' /etc/iscsi/iscsid.conf; cat /etc/iscsi/iscsid.conf | grep node.session.timeo.replacement_timeout
7777cat /etc/iscsi/iscsid.conf | grep " node.session.timeo.replacement_timeout = 5"
7878checkCommand " ${commandDescription} "
79- addUndoCommand " sed -i 's/node.session.timeo.replacement_timeout = .*/node.session.timeo.replacement_timeout = 120/' /etc/iscsi/iscsid.conf; cat /etc/iscsi/iscsid.conf | grep node.session.timeo.replacement_timeout "
79+ addUndoCommand " sed -i 's/node.session.timeo.replacement_timeout = .*/node.session.timeo.replacement_timeout = 120/' /etc/iscsi/iscsid.conf;"
8080
8181commandDescription=" Start iscsi service"
8282logMessage " ${commandDescription} "
@@ -211,9 +211,6 @@ logMessage "Log into target initiator: ${targetInitiator}"
211211iscsiadm --mode node -T $targetInitiator --login
212212addUndoCommand " iscsiadm --mode node -T $targetInitiator --logout"
213213
214- # verify that dm-multipath has identified and merged the iSCSI sessions
215- multipath -ll
216-
217214# Add the following section to the /etc/multipath.conf file:
218215# multipaths {
219216# multipath {
You can’t perform that action at this time.
0 commit comments