A default install of Openfiler 2.3 has an issue when rebooted. On a default installation of Openfiler 2.3, clients cannot use iSCSI target disks after a reboot. In other words, it’ll work fine until you reboot it. This has been discussed at some length in Openfiler forums, and has an open bug filed against it.
Also note that it has nothing to do with using XenServer. The iscsi-target service will not properly restart after a reboot, period, whether you are using XenServer as a iSCSI client against the Openfiler target or not.
I added a section to my “Openfiler: The Missing Manual” that discusses what this looks like and how to fix it.
Greg,
thanks for the detailed wiki about setting up openfiler.
With the latest release (after some updates) there are no issues with the iSCSI connect after rebooting.
KR
Stefan
@Stefan
Hello world,
Stefan, you said “after some update”, can you more precise about these updates ?
Thanks in advance,
Pierre
I haven’t verified that this has been fixed with any recent updates. It’s on my to-do list. I plan on doing a fresh install, and then getting all available updates (see https://greg.porter.name/wiki/HowTo:Openfiler#Patch_the_new_install). Then make a target and then it should be easy to see if the target persists after reboot.
I hope that it has indeed been fixed, it has been an serious outstanding issue for a while.