免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2951 | 回复: 1
打印 上一主题 下一主题

[存储网络] openfiler iscsi for linux client [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-04 20:18 |只看该作者 |倒序浏览


  1. 1、安装openfiler系统
  2. 2、分区等web方式操作


  3. /etc/ietd.conf:

  4. # Generated at: Wed Feb 28 14:17:50 EST 2007
  5. #


  6. Target iqn.2006-01.com.ustcsoft:power.ocr
  7.         Lun 0 Path=/dev/power/ocr,Type=fileio,ScsiId=powerocr

  8. Target iqn.2006-01.com.ustcsoft:power.asm
  9.         Lun 0 Path=/dev/power/asm,Type=fileio,ScsiId=powerasm

  10. Target iqn.2006-01.com.ustcsoft:power.vote
  11.         Lun 0 Path=/dev/power/vote,Type=fileio,ScsiId=powervote

  12. Target iqn.2006-01.com.ustcssoft:telcom.ocfs2
  13.         Lun 0 Path=/dev/telcom/ocfs2,Type=fileio,ScsiId=powerocfs2


  14. # End of Openfiler iSCSI configuration

  15. 注意,每次修改配置,都会重新写/etc/ietd.conf文件

  16. 3、client:
  17. /etc/iscsi.conf:

  18. DiscoveryAddress=ed-otfiler02

  19. 4、client:
  20. fdisk -l:

  21. Disk /dev/sdc: 16.2 GB, 16206790656 bytes
  22. 64 heads, 32 sectors/track, 15456 cylinders
  23. Units = cylinders of 2048 * 512 = 1048576 bytes

  24. Disk /dev/sdc doesn't contain a valid partition table

  25. Disk /dev/sdd: 134 MB, 134217728 bytes
  26. 5 heads, 52 sectors/track, 1008 cylinders
  27. Units = cylinders of 260 * 512 = 133120 bytes

  28. Disk /dev/sdd doesn't contain a valid partition table

  29. Disk /dev/sde: 23.1 GB, 23119003648 bytes
  30. 64 heads, 32 sectors/track, 22048 cylinders
  31. Units = cylinders of 2048 * 512 = 1048576 bytes

  32. Disk /dev/sde doesn't contain a valid partition table

  33. Disk /dev/sdf: 33 MB, 33554432 bytes
  34. 2 heads, 32 sectors/track, 1024 cylinders
  35. Units = cylinders of 64 * 512 = 32768 bytes

  36. Disk /dev/sdf doesn't contain a valid partition table



复制代码

论坛徽章:
0
2 [报告]
发表于 2007-03-04 20:28 |只看该作者


  1. 其它几个需要注意的细节:

  2. 1、Services
  3.         iSCSI target:Enabled
  4. 2、Volume's properties设置允许访问该volume的client

  5. 3、每次修改都会修改/etc/ietd.conf文件,应该在修改之前备份,并调整修改后/etc/ietd.conf的参数

复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP