Anon Y Mous wrote:
I hate to crash the party. But it looks like Linux already makes it possible to run an 
NFS server inside of a Linux "OpenVZ" zone / container with most of the same 
advantages that you would get from a Solaris non-global zone NFS server implementation. 
For those of of you who aren't familiar with OpenVZ and Virtuozzo, they are basically 
Linux-based re-implementations of the Solaris Zones and BSD Jails feature sets:

And here is the documentation for setting up an NFS server inside of a Linux 
OpenVZ container:
Getting the Kernel NFS server to work inside of a Linux OpenVZ zone does 
require you to patch the Linux kernel and recompile it with CONFIG_NFSD=m but 
it does appear to work. If you don't want to use the Kernel NFS server, and you 
want more security and fault isolation, you can also use a user-space NFS 
server with the following caveat (quoted from OpenVZ docs):

"Advantage of user-space NFS server is that it does not require kernel support. Also 
if it crashes — there is no crash of the system: just one process dies, not the kernel! 
The disadvantage of user-space NFS server is its productivity: no one can be faster than 
in-kernel implementation."

It looks like Linux is just now at the precipice where they are starting to 
show signs of getting technologically ahead of Solaris in the zones / 
containers niche! OpenVZ has already almost completely taken over the data 
centers that I work in. I think Virtuozzo and OpenVZ are terrible products and 
I think Solaris Zones are better, but the fact that you can run an NFS server 
in a zone / container in Linux but can't in OpenSolaris is a pretty big strike 
against OpenSolaris for many clients.

I hope this news lights a fire under everyone in the community to start working 
on the source code for a non-global zones NFS server implementation without any 
further hesitation or deliberation. The reason the Linux developers are ahead 
of us and already have this feature implemented is because they start slinging 
lots of code out there first and talk and debate about it later. Maybe it's not 
always the best approach from a purely engineering perspective, but it does get 
things done quickly, which builds up lots of momentum behind the OS in a very 
short period of time.

Nothing to crash.  I've been using OpenVZ and Virtuozzo for years.  Due to 
stability issues, crashes, freezes, etc. Just had another freeze due to a 
networking bug last night.  I'm moving everything off that platform to Solaris 
10.  Its not a stock linux kernel and its implementation bites you too often.  
The folks I talk to are moving away from OpenVZ as they have all been bitten 
too.  I guess you are much more limited in the datacenters you work with.  Its 
just not production quality.  If you use the other Parallels software such as 
the business automation, then you're stuck with it for the time being.

In its current form, even after years of development & bug fixes, I don't think its even 
a close match to Solaris 10.  I've learned to deal with putting NFS in the global zone as 
needed and it works "good enough".

zones-discuss mailing list

Reply via email to