You might be running into:
OS-6114 - illumos#7955 broke delegated datasets in lx-brand
Could anyone at Joyent weigh in on this?
+ /*
+ * libshare is either not installed or we're in a branded zone. The
+ * rest of the wrapper functions around the libshare calls already
+ * handle NULL function pointers, but we don't want the callers of
+ * zfs_init_libshare() to fail prematurely if libshare is not available.
+ */
if (_sa_init == NULL)
- return (SA_CONFIG_ERR);
+ return (SA_OK);
/dale
> On May 8, 2017, at 7:41 PM, Nicholas Lee <[email protected]> wrote:
>
> Just did a quick test on the same node. This was working before on
> 20150820T062742Z.
>
>
> [root@node7 /usbkey/vmcfg]# vmadm create < test-delegate.json
> Successfully created VM a8b4312f-16eb-4a0f-b49d-ebb981d4d975
> [root@node7 /usbkey/vmcfg]# zlogin a8b4312f-16eb-4a0f-b49d-ebb981d4d975
> [Connected to zone 'a8b4312f-16eb-4a0f-b49d-ebb981d4d975' pts/3]
> Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0 x86_64)
>
> * Documentation: https://help.ubuntu.com/
>
> The programs included with the Ubuntu system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
> applicable law.
>
> __ . .
> _| |_ | .-. . . .-. :--. |-
> |_ _| ;| || |(.-' | | |
> |__| `--' `-' `;-| `-' ' ' `-'
> / ; Instance (Ubuntu 14.04 20150819)
> `-' https://docs.joyent.com/images/lx-brand-beta
>
> root@a8b4312f-16eb-4a0f-b49d-ebb981d4d975:~# zfs list
> NAME USED AVAIL REFER
> MOUNTPOINT
> zones 1.71T 5.31T 719M /zones
> zones/a8b4312f-16eb-4a0f-b49d-ebb981d4d975 1.16M 500G 139M
> /zones/a8b4312f-16eb-4a0f-b49d-ebb981d4d975
> zones/a8b4312f-16eb-4a0f-b49d-ebb981d4d975/data 88K 500G 88K
> /zones/a8b4312f-16eb-4a0f-b49d-ebb981d4d975/data
> root@a8b4312f-16eb-4a0f-b49d-ebb981d4d975:~# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/zfsds0 501G 139M 500G 1% /
> tmpfs 2.0G 9.7M 2.0G 1% /dev/shm
> tmpfs 2.0G 9.7M 2.0G 1% /run
> root@a8b4312f-16eb-4a0f-b49d-ebb981d4d975:~# ls -l /zone
> ls: cannot access /zone: No such file or directory
> root@a8b4312f-16eb-4a0f-b49d-ebb981d4d975:~# zfs mount -va
> Could not initialize libshare, 6root@a8b4312f-16eb-4a0f-b49d-ebb981d4d975:~#
>
>
>
>
> 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