Re: [zones-discuss] zoneroot on nfs?

2008-10-22 Thread Jeff Victor
On Tue, Oct 21, 2008 at 4:17 PM, Ben Rockwood [EMAIL PROTECTED] wrote:
 Jason King wrote:
 I haven't found any documentation (yet, still looking), that says
 anything either way, but I'm wondering to facilitate zone migration if
 you can place a zone root on an NFS filesystem?  Obviously would only
 be mounted on 1 server at any given time, but outside of that, just
 wondering if it should work, or if I should look at SAN/iscsi luns if
 I want to be able to move it around.

 It should work but its not recommended because NFS caching sucks
 ass.  The synchronous nature of NFS means that its gonna be much slower
 than it should be.  iSCSI/SAN may have performance issues over local
 disk as well, but at least you still have a local filesystem cache.

NFS/iSCSI/SAN performance should be better than local disk if the
remote storage device has a non-disk frontend, e.g. cache RAM, SSD,
etc.


 benr.
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org




-- 
--JeffV
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] zoneroot on nfs?

2008-10-21 Thread Jason King
I haven't found any documentation (yet, still looking), that says anything
either way, but I'm wondering to facilitate zone migration if you can place
a zone root on an NFS filesystem?  Obviously would only be mounted on 1
server at any given time, but outside of that, just wondering if it should
work, or if I should look at SAN/iscsi luns if I want to be able to move it
around.
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] zoneroot on nfs?

2008-10-21 Thread Renaud Manus
See Jeff's blog for full details: 
http://blogs.sun.com/JeffV/entry/zoit_solaris_zones_on_iscsi

-- Renaud

Jason King wrote:
 I haven't found any documentation (yet, still looking), that says 
 anything either way, but I'm wondering to facilitate zone migration if 
 you can place a zone root on an NFS filesystem?  Obviously would only be 
 mounted on 1 server at any given time, but outside of that, just 
 wondering if it should work, or if I should look at SAN/iscsi luns if I 
 want to be able to move it around.
 
 
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] zoneroot on nfs?

2008-10-21 Thread Ben Rockwood
Jason King wrote:
 I haven't found any documentation (yet, still looking), that says
 anything either way, but I'm wondering to facilitate zone migration if
 you can place a zone root on an NFS filesystem?  Obviously would only
 be mounted on 1 server at any given time, but outside of that, just
 wondering if it should work, or if I should look at SAN/iscsi luns if
 I want to be able to move it around.

It should work but its not recommended because NFS caching sucks
ass.  The synchronous nature of NFS means that its gonna be much slower
than it should be.  iSCSI/SAN may have performance issues over local
disk as well, but at least you still have a local filesystem cache.


benr.
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] zoneroot on nfs?

2008-10-21 Thread Nicolas Williams
On Tue, Oct 21, 2008 at 01:17:29PM -0700, Ben Rockwood wrote:
 Jason King wrote:
  I haven't found any documentation (yet, still looking), that says
  anything either way, but I'm wondering to facilitate zone migration if
  you can place a zone root on an NFS filesystem?  Obviously would only
  be mounted on 1 server at any given time, but outside of that, just
  wondering if it should work, or if I should look at SAN/iscsi luns if
  I want to be able to move it around.
 
 It should work but its not recommended because NFS caching sucks
 ass.  The synchronous nature of NFS means that its gonna be much slower
 than it should be.  iSCSI/SAN may have performance issues over local
 disk as well, but at least you still have a local filesystem cache.

Hosting zone roots on NFS used to be explicitly not supported, and still
might be for all I know, but I know of one customer that does just that
nonetheless, though in a roundabout way, but using lofi on an
NFS-mounted file to provide the backing for UFS/ZFS zone roots.

Note though that, as with hosting zone roots over iSCSI, the semantics
of that are very different from those of using NFS directly.  For
example, there's no ID mapping issues with zone roots on SAN, but there
can be with zone roots on NAS, nor are there file locking semantics
issues with zone roots on SAN.  I strongly recommend zone roots on SAN
(iSCSI, specifically), not NAS.

Nico
-- 
___
zones-discuss mailing list
zones-discuss@opensolaris.org