Monthly Archives: May 2013

Execute script on boot

don’t forget to set the correct permissions on your script, i like 4755 for these types of scripts

ZFS Destroy Snapshot

ZFS Snapshot

ZFS Send Incremental Snapshot

ZFS Send Receive Snapshot

List Snapshots ZFS

Unsign, resign and update .JAR manfests

A .jar file is simply a .zip with a funky extension. Rename the .jar to .zip and unzip the file.

CD into the META-INF dir and delete everything EXCEPT the manifest file.

Edit the Manifest file and remove all the SHA hashes (probably not necessary)

Once this has been done, rezip the file

Now we need to sign the jar. (Make sure you have the latest JDK installed)

To do this we create a key:

Follow the bouncing ball filling in all the details.

Then sign your JAR file with the following:

That is it!

Update Grub Omnios

I got caught out trying to update the grub menu in omnios, i foolishly tried to update menu.lst located in /boot/grub

In omnios, you need to edit the menu.lst file located in /rpool/boot/grub/

Add repo OMNIOS

for netperf say

ZFS Get all parameters of zpool