Re: [问题] CentOS7的iSCSI targetd一直失败

楼主: LIAR (玻璃做的大叔)   2016-01-16 21:42:28
: 推 rein: yaml 丢上来看看, 看起来是 config parse 问题 01/16 17:54
: → rein: 有点像这个 https://github.com/docker/compose/issues/127 01/16 17:55
"/etc/target/targetd.yaml"
# See http://www.yaml.org/spec/1.2/spec.html for more on YAML.
# No default password, please pick a good one.
password:test
# defaults below; uncomment and edit
#pool_name: vg-targetd
#user: admin
#ssl: false
#target_name: iqn.2003-01.org.example.mach1:1234
只有password没有被注解,后面的test是我加的,本来只到冒号。
作者: CP64 (( ̄▽ ̄#)﹏﹏)   2016-01-16 21:48:00
冒号后加个空格?
楼主: LIAR (玻璃做的大叔)   2016-01-17 00:31:00
加空格有变色,所以确实有需要,但还是启动失败
作者: rein (rein)   2016-01-17 00:44:00
http://stackoverflow.com/questions/19109912/do-i-need-quotes-for-strings-in-yaml参考看看第一个回应 可能是密码里有特殊字符要用 quote 包
楼主: LIAR (玻璃做的大叔)   2016-01-17 00:49:00
我现在是改用password: test,应该有符合了。我想请问有人centos7用targetd成功的吗?或是有其他iscsi可用?我之前用tgtd用得好好的,现在却卡的莫名其妙。
作者: rein (rein)   2016-01-17 00:56:00
错误也一样的话我就没概念了
楼主: LIAR (玻璃做的大叔)   2016-01-18 01:26:00
有没有可能intel N3000太新了,所以centos支援出问题?

Links booklink

Contact Us: admin [ a t ] ucptt.com