Ethan Quach wrote: > > > Ian Collins wrote: >> A quick question about LU on ZFS boot: >> >> Problem: default installs put stuff in /opt, bit I don't want the stuff >> I add to be part of a BE. >> >> Will the tools cope with other ZFS filesystems mounted under /opt? >> >> For example, >> >> # zfs create -o compress=on -o mountpoint=/opt/csw rpool/csw >> >> Will LU recognise /opt/csw as being outside of the BE? > > I don't believe so. LU considers everything under /opt to be > BE-specific, so it forces a copy. I think it might end up merging > whats in /opt/csw into the root dataset of your new BE, but someone > from the ZFS boot team would need to verify this. > I'll give it a try later on, now b93 (to upgrade to) is out.
>> >> I know with snap upgrades the data won't be duplicated, but I might want >> different options for the nested filesystems. > > In snap, everything outside <pool>/ROOT/<BEname>/* is considered to be > shared and won't get cloned no matter what its mountpoint is. > > So if you want some nested file system under rpool/csw to be cloned > when a BE is cloned, that won't work. > Which is exactly what I wanted - no clone of rpool/csw. Thanks, Ian