# [OmniOS-discuss] [OmniOS] Two problem for set a zfs dataset in a zone

Frédéric Alix frederic.alix at fredalix.com
Fri Jan 31 00:35:25 UTC 2014

- Previous message: [OmniOS-discuss] Can't copy/rsync to NFS share
- Next message: [OmniOS-discuss] [OmniOS] Two problem for set a zfs dataset in a zone
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hello :)

    I have two problem for use a zfs dataset in a zone.

    First, i would like use it as a device

    zfs create -V5g rpool/data0
    In zonecfg:
    add device
    set match = "/dev/zvol/dsk/rpool/data0"
    end

    I boot the zone, and the device don't appear.
    I read this, but it not resolve the problem
    http://lists.omniti.com/pipermail/omnios-discuss/2013-February/000479.html

    After, i try to use it lie this:
    add dataset
    set name = rpool/data0
    end

    and when i want boot the zone:
    root at box:/var/tmp# zoneadm -z nappit0 boot
    zone 'nappit0': cannot open ZFS dataset 'rpool/data0'
    zoneadm: zone 'nappit0': call to zoneadmd failed

    But my dataset exist
    root at box:/var/tmp# zfs list rpool/data0
    NAME          USED  AVAIL  REFER  MOUNTPOINT
    rpool/data0  5,16G  33,2G    16K  -

    Can you help me please ?

    Regards, Frédéric
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.omniti.com/pipermail/omnios-discuss/attachments/20140131/1a418c5b/attachment.html>

- Previous message: [OmniOS-discuss] Can't copy/rsync to NFS share
- Next message: [OmniOS-discuss] [OmniOS] Two problem for set a zfs dataset in a zone
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list