Nfs – Using a NAS to store user files over iSCSI/NFS

iscsinetwork-attached-storagenfsperformance

I have an environment with servers (5-6) virtualized and hosted locally on the hypervisor.
They act as file servers, so am thinking of moving the files out to a NAS (TheCUS or QNAP) and share over iSCSI or NFS.

Both the vendors are "vmware" certified and can do iSCSI, but I am concern about the performance given that the server is virtualized, and the NAS is 2GB ram only (e.g. QNAP 809U-RP).

or should I stick to NFS? which is file based sharing…

Best Answer

I'd stick to NFS but not because of anything you've said.

In general iSCSI performance inside VMs is ok, certainly no enormous drop in IO rates but what does worry me is how you'd manage the clustered file system you'd be creating by mounting these iSCSI block-level disks inside two or more VMs. You don't mention your VM OS but few file systems that ship natively with ANY OS are cluster-aware, meaning almost instant data corruption. If you do choose to go down that route then for Windows I'd recommend using either Veritas Storage Foundation or Microsoft's own Cluster Services; for Linux I like Oracle's OCFS2 - either way don't use raw-NTFS or ext2/3/4.

So to conclude I think you'll have less complexity and therefore better supportability just using NFS.