I am new to SmartOS, but I did run a Solaris 10 box with zones about 5 years ago so have a small amount of prior knowledge.
I have set up a server running SmartOS (latest as of today) and would like to set up a common ZFS pool that is available to multiple child zones. For example, say I have a child zone for my smtp server, one for my imap server, one for my pop server, one for my anti-spam stuff, and one for my anti-virus stuff. I would like all of them to share a common filesystem created in the global zone. How do I do this? I look din the wiki/doc and did not see this case, and I found some Solaris based zonecfg stuff that did not work. I got it from https://docs.oracle.com/cd/E23824_01/html/821-1460/z.admin.task-11.html <https://docs.oracle.com/cd/E23824_01/html/821-1460/z.admin.task-11.html> (the How to USE LOFS to Mount a File System). That did not work. Had some sort of error about a file not found on an losf system file of some sort. zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8> info zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8> info fs zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8> add fs zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8:fs> set dir=/local/mailstore zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8:fs> set special=/zones/mailstore zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8:fs> set type=lfos zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8:fs> end zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8> verify zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8> commit zonecfg:c85ac5c4-7eda-4a95-8e6a-d69df52457f8> Reboot [root@test ~]# vmadm start c85ac5c4-7eda-4a95-8e6a-d69df52457f8 Unable to start VM c85ac5c4-7eda-4a95-8e6a-d69df52457f8: first of 1 error: Command failed: could not verify fs /local/mailstore: could not access /usr/lib/fs/lfos/mount: No such file or directory zoneadm: zone c85ac5c4-7eda-4a95-8e6a-d69df52457f8 failed to verify [root@test ~]# Not sure what is the missing file /local/mailstore exists in the zone as a mount point. [root@mail ~]# cd /local [root@mail /local]# ls mailstore [root@mail /local]# cd mailstore [root@mail /local/mailstore]# ls Any hints or pointer or for RTFM — the M please — would be appreciated. Thanks Chad ------------------------------------------- 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
