Friday Sep 18, 2009

OpenSolarisLogo2I really like OpenSolaris. If you haven't tried it yet you should give it a try. Still there are some things where I choose other operating system over OpenSolaris. Missing ports for some of the application I use is one point... But never the less OpenSolaris has some killer features which makes is worth a try. For example ZFS, Zones or DTrace. One tool I absolutely like when using Linux is the packaging system and the ability to clean up orphaned (e.g. with help of deborphan) packages. After some googleing it seemed that there is nothing in OpenSolaris yet to do so. But here are some tips and tricks to keep your installation clean as long as the feature is not available...
  1. On a laptop use ZFS compression: zfs set compression=on rpool
  2. Turn of the caching in pkg. (This will save you a lot disc space!) pkg set-property flush-content-cache-on-success True Downloaded packages are then no longer kept on your harddrive in /var/pkg/download
  3. deactivate unneeded services / uninstall software. This is a personal one - Decide what tools you wanna have and which ones not (Presumably you can uninstall a lot of the languages packs). Some service which you could deactivate are: svc:/application/desktop-cache/input-method-cache:default svc:/application/desktop-cache/mime-types-cache:default svc:/application/desktop-cache/icon-cache:default svc:/application/desktop-cache/desktop-mime-cache:default svc:/application/print/ppd-cache-update:default Use the following command to do so svcadm disable ${svc} svccfg delete ${svc}
  4. Find leaf/orphaned packages - This is more complicated but also a very important part. Especially some libs which you do not need any longer tend to stay. What you can do is the following - Find all the dependencies using /bin/pkg search -l \'depend::\' And then find all installed packages: pkg list All items which are installed but nobody depends on - are therefore leafs/orphaned. But be carefully - this will also list eclipse etc. But this is a way to find the orphaned libs. Personally I did some parsing with python to parse the two list of dependencies and installed packages to find the unique ones.
Overall these actions saved me 4Gb of space. Next thing to play with is tuning ZFS :-) Installing it on hybrid system. Have a look here: http://blogs.sun.com/brendan/entry/test

Tuesday Aug 18, 2009

Just a short (meaning: very short) tutorial on howto create a OpenSolaris USB stick:

  1. Install OpenSolaris in VirtualBox
  2. Boot OpenSolaris and install the SUNWdistro-const package
  3. run pfexec usbgen osol-0906.iso osol-usb.img /tmp
  4. run pfexec usbcopy osol-usb.img

Monday Nov 10, 2008

opensolaris logoGreat blog entry for the upcoming release of opensolaris 2008.11 - http://foss-boss.blogspot.com/2008/11/opensolaris-200811-pre-release-suspends.html

Monday Nov 03, 2008

Okido, everyone is talking about our Q1results - for more info see jonathan's blog. But for one second think about the upcoming new cool stuff - like opensolaris 2008.11 :-) I just had a look at a release candidate, and it is worth a try. You might already know ZFS, Dtrace and the other good stuff which comes with solaris but new is the time slider? This new features is similar to the time machine of Mac OS X and shows some potentials of ZFS!

I hope I can add a screenshot tomorrow :-)

Tuesday Oct 07, 2008

...to play around with the new VirtualBox Version. In the next version hopefully it will be possible to use SATA disc images with a OpenSolaris client. Then I could test ZFS with several disc images...Useful? no - but fun. To play around with hotspares, delete disc images on the host, RAID-Z, RAID-Z2, test thumper disc configurations (which does not make sense I do not have to think about hot spots, where to position disc :-))

This blog copyright 2009 by Thijs Metsch