1 Reply Latest reply: Jun 2, 2010 8:35 AM by 807567 RSS

    prob lucreate cannot determine file system configuration s10s

    807567
      Hallo,



      After update SUNWluu 11.10
      lucreate does not work anymore:
      ERROR: cannot determine file system configuration for boot environment <c1t2d0s0>


      What can i do?

      regards Heiko

      ---------------------------------------------------------------
      details
      ---------
      /etc/release: Solaris 10 6/06 s10s_u2wos_09a SPARC

      - background:
      - update Sol 10 6/06 -> 5/09

      - SUNWluu 11.10

      $ pkginfo -l SUNWluu | egrep "VERSION|DATE"
      VERSION: 11.10,REV=2005.01.10.00.03
      INSTDATE: Nov 09 2006 08:27


      - update SUNWluu from CD sol10_0509u7_2

      $ pkgadd -d .

      The following packages are available:
      1 SUNWlur Live Upgrade (root)
      (sparc) 11.10,REV=2005.01.10.00.03
      2 SUNWluu Live Upgrade (usr)
      (sparc) 11.10,REV=2005.01.10.00.03

      $ pkginfo -l SUNWluu | egrep "VERSION|DATE"
      VERSION: 11.10,REV=2005.01.10.00.03
      INSTDATE: Apr 23 2010 10:59

      - version seen not changed...?

      - test 17
      - wie test 16 (ohne zfs)


      $ lucreate -c c1t2d0s0 -m /:/dev/dsk/c1t1d0s0:ufs -m /usr:/dev/dsk/c1t1d0s4:ufs -m /var:/dev/dsk/c1t1d0s3:ufs -n s10u2 -x /mnt/vm -x /poolZones -x /poolZonesNew -x /poolsys
      Discovering physical storage devices
      Discovering logical storage devices
      Cross referencing storage devices with boot environment configurations
      ERROR: luzonevfs failed on BE path </>:
      ERROR: You must install the Zones tool patches to use this set of Live Upgrade
      packages to manipulate the boot environment at </>.
      ERROR: cannot determine file system configuration for boot environment <c1t2d0s0>
      >
      ERROR: cannot cross reference device list with file systems for boot environment <c1t2d0s0>
      ERROR: cannot cross reference available devices with system configurations
      ERROR: cannot determine physical and logical storage device availability
      ERROR: please review all file system configuration options
      ERROR: cannot create new boot environment using options provided

      ---------------------------------------------------------------------------

      [14] http://markmail.org/message/hyd2kyj2irdom3e5
      /etc/lutab file gets out of sync with the contents of the /etc/lu/ directory.

      $ cat /etc/lu/ICF.1
      c1t2d0s0:-:/dev/dsk/c1t2d0s1:swap:2097792
      c1t2d0s0:/:/dev/dsk/c1t2d0s0:ufs:1048896
      c1t2d0s0:/usr:/dev/dsk/c1t2d0s4:ufs:8388740
      c1t2d0s0:/var:/dev/dsk/c1t2d0s3:ufs:4195584
      $ cat /etc/lutab
      1:c1t2d0s0:C:0
      1:/:/dev/dsk/c1t2d0s0:1
      1:boot-device:/dev/dsk/c1t2d0s0:2
      $ lustatus
      Boot Environment Is Active Active Can Copy
      Name Complete Now On Reboot Delete Status
      -------------------------- -------- ------ --------- ------ ----------
      c1t2d0s0 yes yes yes no -

      ---------------------------------------------------------------------------
      [15] http://docs.sun.com/app/docs/doc/816-5220/6mbcl4obg?a=view
      - following form:
      BE_id:BE_name:completion_flag:0
      BE_id:root_slice:root_device:1

      - test 18 remove (suggest needless) 3.line
      - backup
      old="100423"
      cp -p /etc/lutab /etc/lutab.$old
      cp -pR /etc/lu /etc/lu.$old

      $ diff /etc/lutab.$old /etc/lutab
      7d6
      < 1:boot-device:/dev/dsk/c1t2d0s0:2


      $ lucreate ....
      ....
      Cross referencing storage devices with boot environment configurations
      ERROR: luzonevfs failed on BE path </>:
      ERROR: You must install the Zones tool patches to use this set of Live Upgrade
      packages to manipulate the boot environment at </>.
      ERROR: cannot determine file system configuration for boot environment <c1t2d0s0>


      - ???
        • 1. Re: prob lucreate cannot determine file system configuration s10s (solved)
          807567
          Thanks.

          $ lucreate ....
          ....
          Cross referencing storage devices with boot environment configurations
          ERROR: luzonevfs failed on BE path :
          ERROR: You must install the Zones tool patches to use this set of Live Upgrade
          packages to manipulate the boot environment at .
          ERROR: cannot determine file system configuration for boot environment <c1t2d0s0>
          cause:
          - installed version of lucreate cannot handle zones
          ( even if zones are not running)

          solutions:
          1. remove temp all zones (not recommended for prod. systems)
          2. install patch.121430


          Heiko

          - 1. remove temp all zones
            zoneadm list -ip
            svcadm disable zones
            f=/etc/zones/index
            date=`date +%y%m%d`
            old="$date.old"
            ls -l $f*
            cp -p $f $f.$old
            cat $f.$old | grep "^global" > $f
            cp -p $f $f.$date.remove
            zoneadm list -ip
          
            lucreate ....
            luactivate ...
            init 6   ## s. 100519.sol10.luactivate.reboot_init
            ...
          
            ## restore zones
            cp -p $f.$old $f
            ls -l $f*
            zoneadm list -ip
            svcadm enable zones
            zoneadm list -ip