当前存储openfiler   IP为 192.168.221.99  端口为3260 

安装、启动iscsi rpm包  并改为开机自动运行

linux连接iscsi存储方法

 

探测存储服务器

iscsiadm -m discovery -t sendtargets -p 192.168.221.99:3260

linux连接iscsi存储方法

 

挂载目标

iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.dcb51d324f30 -p 192.168.221.99:3260 -l

linux连接iscsi存储方法

 

fdisk –l 发现本地已经存在这些盘

linux连接iscsi存储方法

 

成功挂载的磁盘配置信息保留在以下目录

linux连接iscsi存储方法

 

卸载iscsi target命令

iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.0d5438be104f -p 192.168.221.99:3260 –u

 

其他一些操作命令可以查看iscsiadm的帮助获得

相关文章:

  • 2021-05-10
  • 2021-06-25
  • 2022-12-23
  • 2021-09-24
  • 2022-01-03
  • 2022-12-23
  • 2021-03-26
猜你喜欢
  • 2021-07-17
  • 2022-12-23
  • 2022-02-10
  • 2021-12-17
  • 2021-09-25
  • 2022-12-23
  • 2021-04-23
相关资源
相似解决方案