ISCSI vs NFS shares for nodes?

The network filesystem (NFS, SMB, SSHFS, etc.) have a different files lock mechanism than a local filesystems like NTFS or ext4, thus they behave differently for storagenode. The storagenode software uses files locks in many places, starting from SQLite databases and include storage (during upload for example). So you will always have problems either with databases or with storage (especially for uploads - they may stuck), this is if we even will not talk about higher RAM usage due to worse latency.
So if you forced to use the network to attach your storage, the only working network protocol is iSCSI, because it provides a block storage not the filesystem and you then uses the normal filesystem like NTFS or ext4.
If your storage is attached locally to the host, then you may also create a virtual disk file on it and attach this virtual disk to the VM, this way you may remove a Middleware such as iSCSI.

1 Like