Linux iSCSI

实验环境:准备两台虚拟机,分别都手动分配IP

首先在server端操作

[root@localhost log]# yum -y install targetd targetcli
[root@localhost log]# systemctl start target
[root@localhost log]# systemctl enable target

[root@localhost log]# systemctl status target
● target.service - Restore LIO kernel target configuration
   Loaded: loaded (/usr/lib/systemd/system/target.service; enabled; vendor preset: disabled)
   Active: active (exited) since 四 2022-04-28 20:20:36 CST; 8min ago
 Main PID: 6741 (code=exited, status=0/SUCCESS)

4月 28 20:20:36 localhost.localdomain systemd[1]: Starting Rest...
4月 28 20:20:36 localhost.localdomain target[6741]: No saved co...
4月 28 20:20:36 localhost.localdomain systemd[1]: Started Resto...
Hint: Some lines were ellipsized, use -l to show in full.

设置防火墙

[root@localhost log]# firewall-cmd --add-port=3260/tcp --permanent
success

[

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值