Hello,
I decided to share some thoughts with you about our migration from istgt to ctld on 10.1. We used to have five istgt daemons configured to work on different port and servicing different users. The box it self has 130+ disks, and 192G RAM, we have SSDs for both cache and log:
I decided to share some thoughts with you about our migration from istgt to ctld on 10.1. We used to have five istgt daemons configured to work on different port and servicing different users. The box it self has 130+ disks, and 192G RAM, we have SSDs for both cache and log:
- It seems that ctld does not support having multiple daemons running with different configuration. After running more that one daemon the /var/log/messages gets filled with errors.
- Looks like having more than one portal group in the configuration file is also an issue. The service starts fine, but if you try to reload the configuration you get an error message in /var/log/messages saying that the address is already in use and it fails to read/reload the configuration. If you do a restart on the ctld it starts just fine and works.
- The performance is excellent, much better than what we previously had with istgt.
- If you have ZVOL volumes that were used for MS SQL databases and the ZVOLs were created with blocksize that is different from 512 bytes, moving those volumes to ctld will cause you problems, and the database will fail to start with the error:
This is because istgt by default will present the volume as one that has blocksize of 512 bytes and ctld does not do that, it shows the actual volblocksize of the ZVOL.Code:Cannot use file 'Data.mdf' because it was originally formatted with sector size 512 and is now on a volume with sector size 8192. Move the file to a volume with a sector size that is the same as or smaller than the original sector size. Msg 5178, Level 16, State 1, Line 1 - Our configuration has 2 x 10Gb interfaces that are configured in LACP, don't know if this is the reason but we are getting this error message every minute in /var/log/messages:
The service works fine so far despite the errors.Code:ctld[4704]: child process 20521 terminated with exit status 1 ctld[20659]: 192.168.1.1: read: connection lost - Volumes presented via iscsi to esxi hosts, in order to use them with ctld one needs to re-signature the VMFS volumes, so they can be mounted and used. We are on version 5.5U1 of esxi, I'm pretty sure this is valid for older versions of the ESXi.
gstat does not work anymore in FreeBSD10.1 like it worked in 10.0. In 10.0 it used to show the statistics for the ZVOLs, now they are not showing. I have no idea what the reason for this is, and it's not related to the topic. I just thought I would mention it. Hopefully this is useful to someone. I will update as we go along with ctld.