[prev in list] [next in list] [prev in thread] [next in thread]
List: zfs-discuss
Subject: Re: [zfs-discuss] set mountpoint but don't mount?
From: Frank Cusack <fcusack () fcusack ! com>
Date: 2009-01-31 18:03:57
Message-ID: A107D2063EE3E3052903AB83 () rdf ! local
[Download RAW message or body]
On January 30, 2009 9:58:56 AM -0800 Frank Cusack <fcusack@fcusack.com>
wrote:
> somewhat related question, any way to tell zfs it's ok to shadow a
> directory? i would like to create datasets for /usr/local dirs in
> each sparse zone, however because /usr is inherited and the global
> zone's /usr/local is populated, when the zone boots with a dataset
> whose mountpoint is /usr/local, it won't mount. if i made /usr/local
> a separate dataset in the global zone would that work? (i can't
> test this right now.)
the answer to this appears to be no, and yes.
no, there is apparently no way to tell zfs it's ok to shadow a directory,
ie to mount a zfs dataset on top of a non-empty directory.
and yes, making /usr/local a zfs dataset in the global zone makes it
empty in sparse zones (similar to the nfs export problem i guess) and
then a zoned dataset can be mounted on top.
-frank
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic