Upgrading Solaris 10 to Nevada
Posted by Doomshammer
on Sunday, September 2. 2007
at 23:21
in Anwendungen, Computer, English only, Linux/Unix, Privat, Thoughts
As I am still running a very old version of Solaris 10 on one of my boxes, I wanted to verify if an upgrade to one of the current builds works w/o issues. So I downloaded Solaris Nevada build 64 and burned on DVD.
As expected the installer directly noticed that there is already Solaris installed on my disk, so it asked if I wanna upgrade. I selected "Upgrade" and the installer started working. It took about 2.5 hours, but no problem occured. The system rebooted and finally snv b64 started booting. I was very surprised that even the RAID-1 on the two root disks was still intact and that the system bootet from it - awesome
After logging in, I noticed that the zpool (where my home directory lifes) was broken. All drives were unavailable and so I wasn't able to take it online again - probably as the ZFS pool was legacy version 3 and the current version of b64 is v6. Anyhow, as ZFS is pretty smart it was very easy to recover it...
QUOTE:
NAME STATE READ WRITE CKSUM
pool1 UNAVAIL 0 0 0 insufficient replicas
raidz1 UNAVAIL 0 0 0 insufficient replicas
c1t2d0 UNAVAIL 0 0 0 cannot open
c1t3d0 UNAVAIL 0 0 0 cannot open
c1t4d0 UNAVAIL 0 0 0 cannot open
c1t5d0 UNAVAIL 0 0 0 cannot open
c1t6d0 UNAVAIL 0 0 0 cannot open
c1t8d0 UNAVAIL 0 0 0 cannot open
c1t9d0 UNAVAIL 0 0 0 cannot open
c1t10d0 UNAVAIL 0 0 0 cannot open
c1t11d0 UNAVAIL 0 0 0 cannot open
pool1 UNAVAIL 0 0 0 insufficient replicas
raidz1 UNAVAIL 0 0 0 insufficient replicas
c1t2d0 UNAVAIL 0 0 0 cannot open
c1t3d0 UNAVAIL 0 0 0 cannot open
c1t4d0 UNAVAIL 0 0 0 cannot open
c1t5d0 UNAVAIL 0 0 0 cannot open
c1t6d0 UNAVAIL 0 0 0 cannot open
c1t8d0 UNAVAIL 0 0 0 cannot open
c1t9d0 UNAVAIL 0 0 0 cannot open
c1t10d0 UNAVAIL 0 0 0 cannot open
c1t11d0 UNAVAIL 0 0 0 cannot open
I booted into single user mode (-m milestone=single) and removed the ZFS cache file (/etc/zfs/zfs.cache). Then I continued the boot sequence by running svcadm milestone all, to get into the multi-user milestone. A 'zpool status' confirmed that there was no zpool available anymore. Now I simply executed 'zpool import pool1' and my pool was online and healthy again - followed by 'zpool upgrade pool1' my pool was upgraded to v6 and that's it!
QUOTE:
NAME STATE READ WRITE CKSUM
pool1 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
c1t4d0 ONLINE 0 0 0
c1t5d0 ONLINE 0 0 0
c1t6d0 ONLINE 0 0 0
c1t8d0 ONLINE 0 0 0
c1t9d0 ONLINE 0 0 0
c1t10d0 ONLINE 0 0 0
c1t11d0 ONLINE 0 0 0
pool1 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
c1t4d0 ONLINE 0 0 0
c1t5d0 ONLINE 0 0 0
c1t6d0 ONLINE 0 0 0
c1t8d0 ONLINE 0 0 0
c1t9d0 ONLINE 0 0 0
c1t10d0 ONLINE 0 0 0
c1t11d0 ONLINE 0 0 0
Love it!


