+1 - I've found lofs to be just the ticket for stuff like persistent /home. Just works, no surprises.
-r > On Oct 19, 2016, at 12:01 PM, Patrick O'Sullivan via smartos-discuss > <[email protected]> wrote: > > It might be helpful if you explain why you are using delegated datasets if > you don't want control from within the zone. > > Your alternative is to use a lofs mount which will make the desired directory > magically appear in the zone. Here's some sample JSON for this: > > "filesystems": [ > { > "source": "/source", > "target": "/target", > "type": "lofs" > } > ] > > > On Tue, Oct 18, 2016 at 9:22 PM, Marcus Dillury <[email protected]> wrote: > Hi. > > Thanks for coming back to me. > > Sorry, I should have specified. We are using delegated datasets in our > environment. So I was wondering if there is anyway of being able to do this, > even with delegated datasets? > > Many Thanks. > Marcus > > > On 19 Oct 2016 1:47 AM, "Robert Mustacchi" <[email protected]> wrote: > On 10/17/16 22:22 , Marcus Dillury wrote: > > Hi. > > > > Just a quick question. > > > > Is there anyway to disable/remove the zpool command from a smartos vm? > > > > We are setting up a shared environment and would like to remove this > > visibility from within a zone. > > If you do not delegate any datasets into the zone (the default > behavior), then zpool(1M) will not find any pools and zfs(1M) will not > find any file systems. You can verify this by running the commands in > the zone. > > Robert > > smartos-discuss | Archives | Modify Your Subscription ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
