From 99e3c40ff0f0642a6ec93968e04235b760945fba Mon Sep 17 00:00:00 2001 From: sfajeff Date: Mon, 5 Sep 2022 23:05:35 -0500 Subject: [PATCH] Add '2.iscsi-connect.sh' --- 2.iscsi-connect.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 2.iscsi-connect.sh diff --git a/2.iscsi-connect.sh b/2.iscsi-connect.sh new file mode 100644 index 0000000..174c535 --- /dev/null +++ b/2.iscsi-connect.sh @@ -0,0 +1,10 @@ +#!/bin/bash +sudo iscsiadm \ + --mode discovery \ + --type sendtargets \ + --portal 192.168.1.5 +sudo iscsiadm \ + --mode node \ + --targetname iqn.2000-01.com.synology:SynologyNAS.default-target.b63ef49539c \ + --portal 192.168.1.5 \ + --login \ No newline at end of file