openfiler iscsi 客户端连接不上。
来源:互联网 发布:股指期货数据接口 编辑:程序博客网 时间:2024/04/29 15:50
openfiler iscsi 客户端连接不上。
重新启动 iscsi_target
#/etc/init.d/iscsi-target restart
查看日志:
#tail /var/log/message
Jan 25 17:52:10 localhost kernel: iscsi_trgt: blockio_open_path(167) Can't open device /dev/xen-data/xen-data, error -16
Jan 25 17:52:10 localhost kernel: iscsi_trgt: blockio_attach(354) Error attaching Lun 0 to Target iqn.2006-01.com.openfiler:tsn.c74425d9d3b3
#fdisk -l
//fdisk 看到一排 doesn't contain a valid partition table
iscsi Disk /dev/dm-0 doesn't contain a valid partition table
iscsi Disk /dev/dm-1 doesn't contain a valid partition table
iscsi Disk /dev/dm-2 doesn't contain a valid partition table
iscsi Disk /dev/dm-3 doesn't contain a valid partition table
... dm-26
Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 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 650 5116702+ 83 Linux
/dev/sda3 651 904 2040255 82 Linux swap / Solaris
/dev/sda4 905 19452 148986810 8e Linux LVM
Disk /dev/dm-0: 146.8 GB, 146800640000 bytes
255 heads, 63 sectors/track, 17847 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
解决方法: http://greg.porter.name/wiki/HowTo:Openfiler
#pvscan
PV /dev/dm-0 VG VG_XenStorage-ef48414d-76e7-cb74-a1cb-43bddd590643 lvm2 [2.86 GB / 2.86 GB free]
# vgchange -an VG_XenStorage-ef48414d-76e7-cb74-a1cb-43bddd590643
0 logical volume(s) in volume group "VG_XenStorage-ef48414d-76e7-cb74-a1cb-43bddd590643" now active
#/etc/init.d/iscsi-target restart
问题解决
#fdisk -l
看到已经没有 dm-1 dm-2 ...错误
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 650 5116702+ 83 Linux
/dev/sda3 651 904 2040255 82 Linux swap / Solaris
/dev/sda4 905 19452 148986810 8e Linux LVM
Disk /dev/dm-0: 146.8 GB, 146800640000 bytes
255 heads, 63 sectors/track, 17847 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
- openfiler iscsi 客户端连接不上。
- iSCSI连接不上解决
- Micorosoft iSCSI Initiator 与openfiler连接问题
- SQL2000客户端连接不上
- 客户端连接不上服务器
- openfiler配置ISCSI
- Openfiler 安装+iSCSI配置
- Openfiler之二:iSCSI应用
- Openfiler之二:iSCSI应用
- Windows客户端连接不上Linux服务器
- ORA-12518: 错误 客户端连接不上
- mysql客户端连接不上数据库
- 安装上oracle11g客户端后,PL/SQL连接不上
- 利用OpenFiler建立小型San-验证ISCSI!
- Openfiler应用篇(一)iSCSI
- Openfiler应用篇(一)iSCSI
- openfiler作为文件服务器,实现ISCSI共享存储
- openfiler之iscsi 安装远端挂载
- 一步一步学grails:7 MVC
- 设计模式之SimpleFactory(简单工厂)
- 存储设备类型
- 下一个擎开源大旗的是谁?(欧盟正式无条件批准 Oracle 收购 SUN)
- 我的体验Windows7
- openfiler iscsi 客户端连接不上。
- JQuery笔记(-)-前言
- ORACLE9404 64位 在Redhat linux AS 4.6 (64位)上的安装
- 检查内存泄露很好用的代码
- 网游电影
- 一步一步学grails:8 物料表
- Access Violation
- 未来的CRM集成将会是“前向”+“后向”完美的统一
- Memo