Jumpstart and zpool version mismatch

Chris Gibson <[email protected]> Fri, 18 Jan 2013 21:13:08 -0500
Newsgroups gmane.os.solaris.managers
Message-ID <[email protected]>
I have a jumpstart server with Solaris 10u10 boot media, it also has the
patches installed for Flash Archive version 3.0.
SUNWjet version 4.7
JETzfs version 1.0.3

I have a flar created from a T5120 with 142909-17 kernel patch on
Solaris 10u9, zpool version is 22, zfs version is 4.

I am trying to restore the flar onto a T4-1. Everything goes fine until
the reboot and I receive the following:



SPARC T4-1, Keyboard Present
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.34.0, 15872 MB memory available, Serial #101626696.
Ethernet address 0:10:e0:e:b3:48, Host ID: 860eb348.



Boot device:
/pci@400/pci@1/pci@0/pci@4/scsi@0/disk@w5000cca025e12891,0:a  File and
args:
WARNING: unrecognized token: pause
WARNING: unrecognized token: cbcond
WARNING: unrecognized token: aes
WARNING: unrecognized token: des
WARNING: unrecognized token: kasumi
WARNING: unrecognized token: camellia
WARNING: unrecognized token: md5
WARNING: unrecognized token: sha1
WARNING: unrecognized token: sha256
WARNING: unrecognized token: sha512
WARNING: unrecognized token: mpmul
WARNING: unrecognized token: mont
WARNING: unrecognized token: crc32c
SunOS Release 5.10 Version Generic_142909-17 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
NOTICE: zfs_parse_bootfs: error 48
Cannot mount root on rpool/59 fstype zfs

panic[cpu0]/thread=180e000: vfs_mountroot: cannot mount root

000000000180b950 genunix:vfs_mountroot+370 (18e4800, 190dc00, 0,
1299000, 18e8400, 6)
  %l0-3: 00000300078de008 00000000018dc1b8 0000000001144400 000000000193ec00
  %l4-7: 0000000000000600 0000000000000200 0000000000000800 0000000000000200
000000000180ba10 genunix:main+ec (183fa10, 0, 18886c0, 10b5000, 0, 1)
  %l0-3: 000000000180c000 000000000180c000 0000000070002000 0000000000000000
  %l4-7: 0000000001890c00 0000000000000000 000000000180c000 0000000000000001

skipping system dump - no dump device configured
rebooting..






I boot into failsafe and it finds the rpool and auto imports it. From
there I run "zpool upgrade" and it says the zpool version 29.
I run "chroot /a /bin/ksh" and then run "zpool upgrade" and it says that
the system is running at zpool version 22 and can not import the rpool.

Now I believe the reason is during the jumpstart install when it creates
the rpool it just does it blindly and does not take into account the
version of the zpool the flar can support. I would think this would be
part of the make_client when creating the client from the template.

I have poked around the SUNWjet/Product/zfs and
SUNWjet/Client/hostname/directories, didn't see to much there but kind
of in a hurry.

So the last test, I started the jumpstart install process, broke out of
the installer, created the zpool with the -o version, verified with
zpool upgrade, then ran suninstall but it seems it recreated the rpool.
I thought I saw code in JETzfs that is supposed to do an import if it
exists.

Any help would be greatly appreciated.

I need to be able to have the Solaris 10u10 as the jumpstart media and
support flash archive versions 3.0. I also need it to be able to support
from zpool versions 22-29 atleast. I haven't found another server yet
with a lower zpool version than 22.

Also I am not able to patch the server up to be able to support zpool
version 29 prior to creating the flar, nor do I want to apply the patch
after the jumpstart install.


Thanks,
Chris