Hi xybal,

On Mon, 2007-10-08 at 04:55 -0700, xybal wrote:
> I've just creating a new solaris10 zone.
> I well connect to it via zlogin -C zone.
> But, for instence, if I just try to create a new file named "file.txt"
> in /usr, it says to me that the file system is mount read only.
> In this situation, how to install a new application (I think above 
> all about apache, but also sshd, ...) in the zone ?
> Could you explain it to me ? is there a how-to about ?

Yes - you've installed a "sparse root" zone, the default which shares
filesystems from the global zone in read-only mode, to decrease disk
space usage and speed up zone creation (which has the advantage that if
you want to make a change to something in /usr, you only need to do it
in one place, and all the zones see that change automatically)

As an alternative you can create a "whole-root" zone, where the system
makes a separate copy of all files from the global zone, and puts them
in the non-global zone.

More at:
http://www.opensolaris.org/os/community/zones/faq/#basic_glossary
http://www.sun.com/bigadmin/features/articles/basics_containers.html#fileSystem

        cheers,
                        tim
-- 
Tim Foster, Sun Microsystems Inc, Solaris Engineering Ops
http://blogs.sun.com/timf


Reply via email to