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.

-frank
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to