1 Answer
- Newest
- Most votes
- Most comments
0
Please refer to below document for connecting to volume gateway using linux initiator
https://docs.aws.amazon.com/storagegateway/latest/vgw/GettingStarted-use-volumes.html#issci-rhel
I replicated the setup at my end with by client and gateway in same VPC and subnet
sudo /sbin/iscsiadm --mode discovery --type sendtargets --portal <PrivateIP of gateway>:3260
sudo /sbin/iscsiadm --mode node --targetname iqn.1997-05.com.amazon:anant --portal <PrivateIP of gateway>:3260,1 --login
In case you are still facing the issue please verify that the gateway is accepting the connection on port 3260
Relevant content
- asked 2 years ago
- Accepted Answerasked 7 months ago
- asked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Hello Team, I am able to discover/login to volume using private IP. No issues with that. Which you mentioned in your reply too.
However as I mentioned in my Ticket, I am trying to access using PUBLIC IP.
I have centos 9 EC2 with "Auto assigned" public IP. And for iSCSI discovery and login I am giving the PUBLIC IP of Storage Gateway EC2 system. Here discovery works successfully. i.e. list the volumes. However iSCSI login fails with error " iscsiadm: No records found"
Please guide.