Welcome 微信登录

首页 / 操作系统 / Linux / CentOS 5.6 iSCSI 客户端配置

 1、如果之前有配置好的服务器端连接,现在客户端不想用之前的连接了,CentOS5.6 下清除非常简单,按照如下方法卸载。   1)停止服务
service  iscsi stop   2)去除挂载
iscsiadm -m node --op delete
    3)重启服务
[root@rac1 send_targets]# service iscsi restart
Stopping iSCSI daemon:
iscsid is stopped                                          [  OK  ]
Starting iSCSI daemon:                                     [  OK  ]
                                                           [  OK  ]
Setting up iSCSI targets: iscsiadm: No records found!
                                                           [  OK  ]
     2、配置客户端1)正确配置openfiler,请一定要严格按照文档,不要遗漏任何一步。
2)扫描
[root@www.linuxidc.com ~]# iscsiadm -m discovery -t sendtargets -p 172.100.10.100
172.100.10.100:3260,1 iqn.2006-01.com.openfiler:LUN2
172.100.10.100:3260,1 iqn.2006-01.com.openfiler:LUN1
3)重启服务
service iscsi restart
4)可以看到目录
[root@rac1 ~]# fdisk -lDisk /dev/sda: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        4092    32764567+  82  Linux swap / Solaris
/dev/sda3            4093       36404   259546140   83  LinuxDisk /dev/sdb: 11.2 GB, 11240734720 bytes
64 heads, 32 sectors/track, 10720 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytesDisk /dev/sdb doesn"t contain a valid partition tableDisk /dev/sdc: 87.9 GB, 87979720704 bytes
255 heads, 63 sectors/track, 10696 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/sdc doesn"t contain a valid partition tableDisk /dev/sdd: 115.1 GB, 115125256192 bytes
255 heads, 63 sectors/track, 13996 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes结束了。。。哈哈就是这么简单Ubuntu上获取主机ipLinux top命令使用相关资讯      CentOS  iSCSI 
  • Linux下搭建iSCSI共享存储  (今 10:05)
  • CentOS 6.6 安装 iSCSI  (07月11日)
  • RHCE7认证学习笔记34——配置ISCSI  (04/12/2015 17:55:01)
  • Linux下通过iSCSI搭建共享存储  (今 08:11)
  • iSCSI+multipath 实现DM多路经存储  (08/20/2015 10:40:37)
  • CentOS 6.6挂载iSCSI存储  (03/22/2015 19:44:08)
本文评论 查看全部评论 (0)
表情: 姓名: 字数