8 Replies Latest reply on May 29, 2012 12:34 AM by Mike Gerdts-Oracle

    solaris 11: configuring/installing/verifying zone: dataset does not exist

    938999
      Hello all, I am working my way through setting up a dataset via the instructions listed here

      http://docs.oracle.com/cd/E23824_01/html/821-1460/z.conf.start-85.html
      http://docs.oracle.com/cd/E23824_01/html/821-1460/z.inst.task-2.html

      I am now trying to verify my zone (*zoneadm -z stfsun1 verify*) and I get the following error message:

      "*could not verify zfs dataset waas/stfsun1: dataset does not exist*
      *zoneadm: zone stfsun1 failed to verify*"

      I did a search but nothing of benefit showed up. Can anyone point me in the right direction?

      Edited by: thisisbasil on May 22, 2012 9:04 AM
        • 1. Re: solaris 11: configuring/installing/verifying zone: dataset does not exist
          Nik
          Hi.
          Please show current zone configuration:

          zonecfg -z stfsun1  info

          And list of zfs dataset:

          zfs list


          It's look like you try use for zone zfs filesystem that not defined.
          Possible you mistake in dataset name.

          Regards.
          • 2. Re: solaris 11: configuring/installing/verifying zone: dataset does not exist
            938999
            zonecfg -z stfsun1 info

            zonename: stfsun1
            zonepath: /zones/stfsun1
            brand: solaris
            autoboot: true
            bootargs: -m verbose
            file-mac-profile:
            pool:
            limitpriv: default,sys_time
            scheduling-class: FSS
            ip-type: exclusive
            hostid: 80825649
            fs-allowed:
            [max-sem-ids: 10485200]
            fs:
                 dir: /usr/local
                 special: /opt/local
                 raw not specified
                 type: lofs
                 options: []
            anet:
                 linkname: net0
                 lower-link: auto
                 allowed-address not specified
                 configure-allowed-address: true
                 defrouter not specified
                 allowed-dhcp-cids not specified
                 link-protection: mac-nospoof
                 mac-address: random
                 mac-prefix not specified
                 mac-slot not specified
                 vlan-id not specified
                 priority not specified
                 rxrings not specified
                 txrings not specified
                 mtu not specified
                 maxbw not specified
                 rxfanout not specified
            anet:
                 linkname: net1
                 lower-link: auto
                 allowed-address not specified
                 configure-allowed-address: true
                 defrouter not specified
                 allowed-dhcp-cids not specified
                 link-protection: mac-nospoof
                 mac-address: random
                 mac-prefix not specified
                 mac-slot not specified
                 vlan-id not specified
                 priority not specified
                 rxrings not specified
                 txrings not specified
                 mtu not specified
                 maxbw not specified
                 rxfanout not specified
            device:
                 match: /dev/wifi/*
                 allow-partition not specified
                 allow-raw-io not specified
            device:
                 match: /dev/ipnet/*
                 allow-partition not specified
                 allow-raw-io not specified
            device:
                 match: /dev/*dsk/*
                 allow-partition not specified
                 allow-raw-io: true
            dedicated-cpu:
                 ncpus: 1
                 importance: 10
            capped-memory:
                 physical: 1G
                 [swap: 2G]
                 [locked: 500M]
            attr:
                 name: comment
                 type: string
                 value: "This is the CodeTEST work zone."
            dataset:
                 name: waas/stfsun1
                 alias: stfsun1
            rctl:
                 name: zone.max-swap
                 value: (priv=privileged,limit=2147483648,action=deny)
            rctl:
                 name: zone.max-locked-memory
                 value: (priv=privileged,limit=524288000,action=deny)
            rctl:
                 name: zone.max-sem-ids
                 value: (priv=privileged,limit=10485200,action=deny)

            Edited by: thisisbasil on May 22, 2012 9:56 AM
            • 3. Re: solaris 11: configuring/installing/verifying zone: dataset does not exist
              938999
              zfs list

              NAME USED AVAIL REFER MOUNTPOINT
              rpool 7.53G 221G 39K /rpool
              rpool/ROOT 4.39G 221G 31K legacy
              rpool/ROOT/solaris 4.39G 221G 3.91G /
              rpool/ROOT/solaris/var 385M 221G 200M /var
              rpool/dump 2.03G 221G 1.97G -
              rpool/export 82.6M 221G 32K /export
              rpool/export/home 82.6M 221G 32K /export/home
              rpool/export/home/waas 82.6M 221G 82.6M /export/home/waas
              rpool/swap 1.03G 221G 1.00G -
              rpool/zones 63K 221G 32K /zones
              rpool/zones/stfsun1 31K 221G 31K /zones/stfsun1
              • 4. Re: solaris 11: configuring/installing/verifying zone: dataset does not exist
                Mike Gerdts-Oracle
                It looks as though you did something like the following during the zone configuration.

                add dataset
                set name=waas/stfsun1
                end

                But you have not created waas/stfsun1. You probably need to:

                # zfs create waas/stfsun1
                1 person found this helpful
                • 5. Re: solaris 11: configuring/installing/verifying zone: dataset does not exist
                  Nik
                  Hi,
                  You can't create
                  waas/stfsun1

                  For this yo must have pool waas.

                  For test reason, you can create rpool/stfsun1 and change zone settings.


                  Regards
                  • 6. Re: solaris 11: configuring/installing/verifying zone: dataset does not exist
                    938999
                    This worked.

                    I am getting errors in my zone install when downloading packages from the repositories but I believe them to be related to a spotty wifi connection I have here in my office. I will take the box home to a wired connection and try from there.

                    I will post any issues I may have here. Thanks for the help so far.
                    • 7. Re: solaris 11: configuring/installing/verifying zone: dataset does not exist
                      938999
                      I have brought the box home and attempted to install the zone from here. However, the issue I was having with it timing out is happening here as well (albeit, with many more packages downloaded).

                      Is this a common problem?

                      Is there anyway to manually download/extract the required packages so that the command does not need to do this?
                      • 8. Re: solaris 11: configuring/installing/verifying zone: dataset does not exist
                        Mike Gerdts-Oracle
                        This document describes how to set up a local repository.

                        http://docs.oracle.com/cd/E23824_01/html/E21803/index.html

                        A faster way to download the Solaris 11 repo is probably via the repository image download at:

                        http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html?ssSourceSiteId=ocomen

                        I got to the URL above by going to http://oracle.com/solaris and clicking on the big "Download" button near the top of the page.

                        There were a couple important zones fixes in SRU1 and SRU2 and other important (functionality, security, etc.) fixes since then. Thus, you should probably also grab the latest SRU ISO. At the time that I wrote this, the latest SRU is SRU 7 (aka SRU 7.5). Download it from:

                        https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1313405.1

                        Note that you will need to run the same SRU in the global zone and non-global zones. You will be able to update global zones from the repo you create.