In the interests of avoiding FCvsNFS religious wars, let me first say that I prefer NFS over a standard FC SAN, and also I don't really have the option of using using FC for this anyhow.

I'm interested in setting up a couple of ESXi servers. I've got a couple servers that each have 8gb of ram and 2 opteron CPUs. None of them have FC but they all have GB ethernet and I happen to have a couple of gb switches as well...

The server hardware is a single QLogic HBA and a single SATA<->FC 4tb array, and a motherboard with a pair of opteron 246 CPUs and 8gb of ram.

What is the best choice for an platform for using this hardware as an NFS server?

I figure my options are linux (openfiler and XFS), solaris (and ZFS) or freebsd (and ZFS).

I'm really interested in playing around with ZFS and I figure it has cool features. I'm pretty experienced with solaris 9, and older (and mostly on SPARC hardware) but have quite a bit less experience with solaris 10 and as far as I can tell, solaris 10 is pretty different. I also have lots of experience with freebsd, but am wary of ZFS on freebsd.

Any suggestions? This is a free-time sort of thing so I don't have huge amounts of time to go down lots of blind alleys only to discover that this or that isn't supported or randomly explodes after it's been busy for a week.

link|improve this question

74% accept rate
feedback

5 Answers

up vote 5 down vote accepted

Solaris. It's NFS implementation is (ime, ymmv) miles ahead of Linux's. And ZFS is pretty handy. If all you need is NFS, a large amount of familiarity with Solaris 10 shouldn't be required

link|improve this answer
My major worry is hardware compatibility. Linux "just worked" while when I tried to get solaris installed it had weird issues with the HBA. That and the fact that, as you said, I just need NFS makes me really not care enough to bother getting solaris working. I guess I'll give it another whack.. – chris Aug 31 '09 at 3:50
You could also try a different distro of Solaris (ie: OpenSolaris, Nexenta, or NexentaStor). NexentaStor has a pretty nice Web UI as well. – tegbains Nov 28 '09 at 22:33
feedback

Another vote for Solaris. There should be enough tutorials out there now to get you up and running, and the Sun way of doing things isn't really that difficult.

I would recommend checking out Ben Rockwood's blog, as he has alot of really good material on OpenSolaris and ZFS.

link|improve this answer
I don't know if I'd quite agree on the Sun way of doing things not being that difficult :-) – Cian Aug 28 '09 at 23:28
3  
Come on, Sun isn't that bad! AIX & HP-UX is the worst. SCO was the grand champion for worst Unix to Admin! – duffbeer703 Aug 28 '09 at 23:43
feedback

NFS is for shared file access. Use Solaris and iSCSI. ESX images have no need to share data space. In fact you don't want them to for security reasons.

link|improve this answer
Leaving aside the fact that most of the places I've seen with a SAN leave all luns available to all initiators (not that I'm saying that you should do that, it's just what I've seen), I like using NFS so I can use common name space for Server, Workstation, and ESXi. And, if I don't have an iSCSI hardware HBA I'm not keen on using it. There are a bunch of other reasons as well... – chris Aug 29 '09 at 14:08
feedback

ESX images have no need to share data space. In fact you don't want them to for security reasons.

Definitely wrong. If you want to use advanced features like vMotion, HA, etc shared access to the VM datastore is required.

link|improve this answer
feedback

Use NexentaStor.

There is complete article for NexentaStor ZFS storage appliance with vSphere via NFS.

link|improve this answer
feedback

protected by Iain Nov 27 '11 at 9:05

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.