On Thu, Feb 4, 2010 at 2:09 AM, Frank Cusack <frank+lists/z...@linetwo.net> wrote: > Is it possible to emulate a unionfs with zfs and zones somehow? My zones > are sparse zones and I want to make part of /usr writable within a zone. > (/usr/perl5/mumble to be exact) > > I can't just mount a writable directory on top of /usr/perl5 because then > it hides all the stuff in the global zone. I could repopulate it in the > local zone but ugh that is unattractive. I'm hoping for a better way. > Creating a full zone is not an option for me. > > I don't think this is possible but maybe someone else knows better. I > was thinking something with snapshots and clones?
The way I normally do this is to (in the global zone) symlink /usr/perl5/mumble to somewhere that would be writable such as /opt, and then put what you need into that location in the zone. Leaves a dangling symlink in the global zone and other zones, but that's relatively harmless. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss