Albert Lee
2007-Dec-07 05:43 UTC
[zfs-discuss] In-place upgrades of Solaris Express on ZFS root (updated)
Hi folks, I''ve updated zfs_ttinstall to work correctly (finally =P) and for slightly better error handling. This allows you to perform an in-place upgrade on a Solaris Express system that is using ZFS root. Sorry, no Live Upgrade for now. You will have to boot from DVD media for the upgrade (CDs are untested, and may fail because of the way it handles /sbin/umount). The script is here: http://trisk.acm.jhu.edu/zfs_ttinstall To use it: 1) Edit ROOTDEV, ROOTPOOL, ROOTFS, and DATAPOOLs accordingly. Copy the zfs_ttinstall to your root pool (for this example, it will be "rootpool"). # cp zfs_ttinstall /rootpool 2) Boot from SXCE or SXDE DVD. Select the "Solaris Express" (not DE) boot option. Choose one of the graphical install options (having X is much nicer). 3) After the installer starts, cancel it, and open a new terminal window. 4) Type: # mount -o remount,rw / # zpool import -f rootpool # sh /rootpool/zfs_ttinstall 5) Check /var/sadm/system/logs/zfs_upgrade_log for problems. # reboot *Important* Don''t zpool export your pools after the upgrade. Please let me know if this works for you. I last tested it with updating snv_73->snv_78, and it works for earlier builds, too. Good luck, -Albert