gpsguy
Active Member
- Joined
- Jan 22, 2012
- Messages
- 4,472
You can download the files from here: http://cdn.freenas.org/nightlies/9.2.1.6/BETA/
I just tried to download nightly build but your website is down so I cannot get it.. Is there any alternative link other than http://download.freenas.org/nightly/ available?
Please retest with 9.2.1.6-BETA-20140509 and update that ticket with status. Thanks!
Hey on another iSCSI note ... what is the progress on kernel iSCSI target ? last time I heard about it was months ago... or is that planned when freenas upgrades to 10 branch ?
Hi Guys ... thanks for the reply. I guess I was confused regarding why kernel iscsi was better :) But does it have to do anything with sync writes ? I heard that iscsi currently on freenas does not do "proper" sync writes even if you set it on datastore property.
You heard wrong. Sync writes work fine with either kernel iSCSI or istgt. A lot of things would break if that didn't work!
So i guess the Myth that is going around the forums that NFS does "safer" sync writes than iSCSI with Sync Enabled on dataset is busted ?
I don't know who started that myth, but it's not even vaguely supported by the evidence. Most VMWare shops use iSCSI. It's less complicated (as a protocol) and lower overhead than NFS, and NFS file locking and cache flushing semantics are certainly more complicated since it's a file-level rather than a block-level protocol.
Interesting... well, since TrueNAS is vmware certified now ... i guess you can't say that the BSD iscsi target implementation is "unsafe" or anything ... Maybe the myth is busted after all :)
Um I'm not sure what I'm supposed to be commenting on.
1) Kernel iSCSI would be vaguely preferable to userland due to lower latency (no user/kernel boundary crossings) but I would expect not a huge deal with modern gear
2) iSCSI by default lacks sync write; this is bad for VM consistency. I do not advocate using iSCSI without sync=always unless your VM's are not valuable. If your VM's are not valuable then by all means have at it.
3) NFS is a preferable protocol for VMware, not because it is simpler, but because it doesn't lock your VM's into ESXi VMFS format, which means you can do maintenance on them even from the FreeNAS CLI if you want/need. Imagine shutting down a VM to recover its state from yesterday's snapshot. Easy to do from the FreeNAS CLI with NFS. Near impossible with iSCSI unless maybe you only had one VM on the datastore...
4) NFS sucks for sync write without a SLOG or setting sync=disabled. It used to be that we didn't have sync=disabled and used a systemwide flag to disable the ZIL, which was Extremely Dangerous To Your Pool. That no longer exists. I've yet to hear the final word on how safe sync=disabled is but it appears to be safe/r/ than the old hack. Of course you still would only disable this if you didn't value your VM's.
So that being said, I am a little leery of telling people to set sync=disabled on NFS, while we know iSCSI with sync=standard to be safe.
As far as writes in general goes, I am not aware of any changes that would revisit the general advice:
Avoid RAIDZn for small block write style datastores (iSCSI, NFS VM storage, etc). IOPS and stripe size considerations can burn excessive space and cause fragmentation pain.