On Wed, Jan 28, 2009 at 09:32:23AM -0800, Frank Cusack wrote:
> On January 28, 2009 9:24:21 AM -0800 Richard Elling 
> <richard.ell...@gmail.com> wrote:
> > Frank Cusack wrote:
> >> i was wondering if you have a zfs filesystem that mounts in a subdir
> >> in another zfs filesystem, is there any problem with zfs finding
> >> them in the wrong order and then failing to mount correctly?
> >>
> >> say you have pool1/data which mounts on /data and pool2/foo which
> >> mounts on /data/subdir/foo, what if at boot time, pool2 is imported
> >> first, what happens?  /data would exist but /data/subdir wouldn't
> >> exist since pool1/data hasn't been mounted yet.
> >>
> >
> > It is a race condition and the mount may fail.  Don't do this,
> > unless you also use legacy mounts. Mounts of file systems
> > inside a pool works fine because the order is discernable.
> 
> i guess it's ok for the root pool since it's always available and
> always first.

For the datasets making up a BE, yes.  For datasets in the rootpool that
don't make up a BE (e.g., /export/home) maybe not, I'm not sure.  But
yes, that makes sense.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to