First you need to discover targets under portal IP address: iscsiadm --mode discovery --type sendtargets --portal 192.168.1.10 # Replace 192.168.1.10 with Your portal IP address
iscsiadm --mode node --targetname iqn.2001-05.com.doe:test --portal 192.168.1.1:3260 --login
vim /etc/fstab
/dev/sde1 /data ext3 _netdev 1 2
|
转载于:https://blog.51cto.com/44480466/1025506