iSCSI target connects but windows shows no volume

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....

iSCSI target connects but windows shows no volume

Postby gilthanaz » Mon Aug 06, 2018 2:59 pm

[Problem]
I configured some iSCSI targets to connect to from an Windows Server 2012R2 and everything went pretty good. Then, the two connected virtual disks disappeared from the windows server, even tho the iSCSI initiator showed them as connected. They were missing in the device manager and disk management screens. Restarting the windows iSCSI initiator service as well as the tgt-daemon on the linux side did not help. Logfiles did not indicate any issues.

[Solution]
While the first disk was configured by hand in an config file in /etc/tgt/conf.d/ I configured the second one using Webmin. Webmin writes the configuration into /etc/tgt/targets.conf instead of a single snopped in the conf.d/ subfolder.

I cut/pasted the second targets configuration from targets.conf to it's own config file residing in /etc/tgt/conf.d and restarted the tgt-daemon.

After the next reconnect from the windows side, the devices connected successfully and the missing virtual disks reappeared.

It looks like tgtd does not like "mixed configs" in both targets.conf and snippets in the conf.d/ subdir :)
  • 0

User avatar
gilthanaz
Site Admin
 
Posts: 443
Joined: Fri Aug 29, 2003 9:29 pm
Reputation: 0

Return to Knowledge Base

Who is online

Users browsing this forum: Google [Bot] and 3 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Bing [Bot], Google [Bot] and 15 guests

cron
Reputation System ©'