Issue:
Upgraded successful but iSCSI service can't start so that ESXi can't mount iscsi disk.
Console Messages showed error msg:
What I did:
Is this a 12U5.1 serious bug?
/etc/ctl.conf example :
Upgraded successful but iSCSI service can't start so that ESXi can't mount iscsi disk.
Console Messages showed error msg:
TrueNAS-ESXi.local root 1061 - - /etc/rc: WARNING: /etc/ctl.conf is not readable.
TrueNAS-ESXi.local root 1062 - - /etc/rc: WARNING: failed precmd routine for ctld
What I did:
- Checked "/etc/ctl.conf" is NOT exiting anymore.
- GUI configuration still there after upgrade.
- Run cli command touch to create a empty file
touch /etc/ctl.conf
- Back to GUI "Sharing / iSCSI " function to change something so hoping it will recreate configs content but nothing appended in "/etc/ctl.conf"
- Use vmware station installed a fresh 12U3 system.
- tried create iSCSI share by GUI and runs as expect.
- "/etc/ctl.conf" reflecting all GUI changes.
- Copied it as template to 12U5.1 system and change accordingly.
- Restart iSCSI service without issue.
Is this a 12U5.1 serious bug?
/etc/ctl.conf example :
Code:
portal-group "default" { } portal-group "pg1" { tag "0x0001" discovery-filter "portal-name" discovery-auth-group "no-authentication" listen "0.0.0.0:3260" option "ha_shared" "on" } lun "400g" { ctl-lun "0" path "/dev/da15" blocksize "512" serial "000c2911e264001" device-id "iSCSI Disk 000c2911e264001 " option "vendor" "TrueNAS" option "product" "iSCSI Disk" option "revision" "0123" option "naa" "0x6589cfc00000013c7a716fb429d118ba" option "insecure_tpc" "on" option "rpm" "1" } target "iqn.2005-10.org.freenas.ctl:400g" { alias "400g" portal-group "pg1" "no-authentication" lun "0" "400g" }