SUMMARY: T5440/T5240 won't boot from ZFS

From: Michael Greenberg <ztorage_at_yahoo.com>
Date: Mon Apr 19 2010 - 15:21:36 EDT
Okay, it seems I found the solution but it's rather ugly.

It seems the Solaris 10u8 installer doesn't install the ZFS boot blocks.
I forgot to mention that this problem started since I began updated my install image to update 8. Sorry if it caused confusion.
Anyway, in order to install the boot blocks, I had to boot from the network with single user:

ok boot net:dhcp -s

After that, I installed the boot blocks on the disk.

# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t0d0s0

That fixed the machines that didn't work, but still had to solve the Jumpstart problem. So I added a postinstall script to the jumpstart profile that did the following:

DEV=`zpool status rpool | grep c[0-9]t[0-9]d[0-9] | awk '{print $1}'`
installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/$DEV

>From that point on, the jumpstart install worked fine.
Now can anyone tell me, do you have an update 8 jumpstart install that has a similar problem with ZFS boot? I still suppose it's in isolated Jumpstart that's caused by faulty configuration rather than a bug in the Solaris installer...
Thanks to all who replied.

- Michael.



________________________________
From: Michael Greenberg <ztorage@yahoo.com>
To: sunmanagers@sunmanagers.org
Sent: Fri, April 16, 2010 4:44:07 PM
Subject: T5440/T5240 won't boot from ZFS

Dear gurus,
I have a jumpstart server with which I've installed about a dozen T (and some M) machines. The last two (T5440 and T5240) machines I've installed won't boot after installation.
Here's what I'm getting:
Boot device: /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@0,0:a File and args:
ERROR: /packages/ufs-file-system: Last Trap: Division by Zero

That's annoying. When I install them with UFS root, it works. I've tried both update 10u7 and 10u8 - both have the problem with ZFS, but work fine with UFS.

I guess I could install them with UFS and then live-upgrade them to ZFS but that would be lame.

Any ideas?


Thanks in advance

- Michael.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Apr 19 15:22:51 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:16 EST