Upgrading OpenSolaris to build 106

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

Leave OpenSolaris

  • #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!

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

lyon

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
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
   
       
Today