Upgrading OpenSolaris to build 106
By lyon on Feb 13, 2009
The latest upgrade did not run smoothly. As usual, I ran pfexec pkg image-update, but at the end of the process, file system was full. I would have liked to be warned before. It seems OpenSolaris does not do the check for you.
After a reboot, I was redirected to the prompt GRUB>. It's not an easy experience. I had to recover the system by booting directly the OpenSolaris 2008.11 CD and enter the following commands :
- Look for existing pools :
- pfexec zpool list
- pfexec zpool import
- pfexec zpool import -f rpool
- zfs list
- mkdir /tmp/a
- pfexec mount -F zfs rpool/ROOT/opensolaris-10 /tmp/a
- Do some cleaning : # zfs destroy (beadm cannot operate if file system is full)
- Grub maintenance : # /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0
You may also pay attention to snapshot, and remove some of the snaphots. For example if you set up TimeSlider, you may have a lot of snapshots.
#zfs list -t snapshot
Also, check the .files in your home directory:
#du -sk .\*
And finally, build 106 is there :
dmerle@opensolaris:~$ uname -a
SunOS opensolaris 5.11 snv_106 i86pc i386 i86pc Solaris
- #pfexec umount /tmp/a
- #pfexec zpool export rpool
It appears that OpenSolaris build 106 is operating quite well Suspend / Resume. You can suspend @ work and resume @ home with a different network configuration, all is transparent!