Tag Archives: bash

Fixing virtual disk problems

What if your grub loader on a virtual machine is broken – or you need to repair or resize a filesystem in one of your virtual machines? You want to check the storage of your virtual machines on your virtualization … Continue reading

Posted in Infrastructure, openSUSE, SUSE Linux Enterprise, virtualization | Tagged , , , | Leave a comment

Piping commandline output through while loop

As I often forget the exact syntax – here is a working example (using osc to search for build results of a specific package in all projects that have this package): while read line ; do case $line in [a-z]*) … Continue reading

Aside | Posted on by | Tagged | Leave a comment

Running csync2 with different hostnames

The paper for csync2 is a bit unclear to me, when it comes to hosts with different hostnames for two or more interfaces. I often ended up in trying to solve my problem in the following way, that luckily solves … Continue reading

Posted in network, openSUSE, SUSE Linux Enterprise | Tagged , , , | Leave a comment

Migrate from MyISAM to InnoDB

My topic for today was to migrate a MySQL server with some databases on it from MyISAM to InnoDB. In the end (after having some backups, of course), I wrote the little script below: #!/bin/bash for database in $(echo “show … Continue reading

Posted in openSUSE, SUSE Linux Enterprise | Tagged , , , , , , , | Leave a comment

cyrus quota warner

Sometimes live can be so easy: running a cyrus IMAP server on a small box normally includes that you set and maintain Quotas for your customers. Normally everything runs fine – until someone is unable to receive any Emails because … Continue reading

Posted in openSUSE, SUSE Linux Enterprise | Tagged , , , , | Leave a comment