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