Every once and a while you will have the need to make multiple ssh calls to remote systems within a bash script. Normally you would simply have the user enter their password multiple times, or have a requirement for SSH keys to be configured prior to running the keys. This…
Bash: Using pv to Display Progress of dd
One of the biggest weaknesses of dd is that it has no way to display progress on its actions. You can send a signal to the process which will pause, display statistics, and resume the process however this takes up alot of your terminal screen if you are doing any…
Linux-KVM Management: Offline Migration
When you compare Linux-KVM to Hyper-V or VMWare your initial results will indicate that Linux-KVM is lacking when it comes to management tools, and basic functionality. You would be correct, however you would also be incorrect. You see with Linux-KVM we can leverage the underlying power of the Linux userland,…
Identify Package Origin of Binary on Apt Systems
There will come a time when you need to install a package on a machine in order to take advantage of a utility contained within. In my case I know that I need kvm-img (which is also called qemu-img), and I assumed that it was either in the libvirt-bin package…
Solaris 11: Mount SMB Share Locally
Currently I have been working on a method of migrating some of our data from Windows file servers to Solaris ZFS CIFS servers, of course trying to retain as much feature parity as possible. Permissions are an issue, however I have worked through most of those issues (look for this…