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


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


Love it! :-) Now i'm safe to upgrade my old system, as my test-system upgrade worked better than expected :-)

Calendar

Back May '13
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

Not for Sale!

This blog is not for sale!

Latest twitter

Latest Photos

ERROR: The HTTP server returned the error or the warning(result:403).

Getaggte Artikel

Buttons

Ich bin ein Dokuleser
Get OpenSolaris
Gimme a Smile
neessen.net - Webhosting
I'm a blogger!
Lebst Du noch oder oarks Du schon?
last.fm
trnd - be trendy
I hear Metal
Visit GeoURL
Powered by Linux
Zsh lover
VIM! The Editor
Get Firefox
Ihr, nicht ich!
My amazon wishlist

BLOGROLL