ZFS-Stats v1.2 Stable

The ZFS-Stats v1.2 Stable release is now available for download. Look it up at my GitHub repo.

*** CHANGES ***
Added zpool IOSTAT attributes:
- read & write operations
- read & write bandwidth
- space avail & alloc
- checksum errors
- zpool vdev state

Bugfixes:
- Parsing of the settings.xml failed, which resulted in a runtime error and caused the program to exit.
- Fixed the bug where the program left a zombie process after every iteration.
- Fixed the bug where after a certain time, zfs-stats was unable to open the libzfs handle. (v1.2 bug). This version has only been tested on OpenIndiana build 151a7.

Play Framework, ORM & Oracle RDBMS

Play Framework

While developing a Java RESTful API with help of the Play Framework, i ran into some trouble when connecting to an Oracle Express 11g database. I wanted to use ORM to map my Java models to a database, and let Evolutions automatically update the database tables. Apparently, Evolutions won’t create the play_evolution table by himself when using the Oracle JDBC driver. So, here are the steps to make it all work. Lees verder

ZFS-Stats v1.2 Development Release

The Development release of ZFS-Stats version 1.2 is online. I dived into the source code of ZFS and learned how the zpool iostat command get it’s values. Then i was able to extract some raw values from the nvlists of the appropriate zpool. It’s available at my Github repository in the v1.2 branch.

Changelog:

  • Added some IO stats attributes:
    - read and write operations
    - read and write bandwidth
    
    Bugfixes:
    - Parsing of the settings.xml failed, which resulted in a runtime error and caused the program to exit.
    
    Only tested on OpenIndiana build 151a7.