(Disclaimer: I am by no means an expert with XenServer. So please don’t take anything you read here for granted. It’s my own experience and what I found in documentation and online.) In my previous post, I described how to add a Storage Repository to a XenServer using the xe command line tool. Now, since … Continue reading Deleting a XenServer Storage Repository
Category: Linux
Installing XenServer updates via XenCenter fails
(Disclaimer: I am by no means an expert with XenServer. So please don't take anything you read here for granted. It's my own experience and what I found in documentation and online.) There is at least one reason why installing updates for XenServer via XenCenter may fail (with unhelpful error messages of course): You haven't … Continue reading Installing XenServer updates via XenCenter fails
new Seagate Barracuda drives are very slow
Seagate has changed their Barracuda desktop 3,5" 2 and 4 TB drives from using 3 platters to using only 2 while doubling the cache RAM from 128 to 256 MBs. We have been buying this type of drives for various usages, one of them is the 4 TB drive for the backup of our main … Continue reading new Seagate Barracuda drives are very slow
Find all subdirectories containing xml files on Linux command line
So I don't forget: The following Linux command shows a list of all subdirectories that contain a least one *.xml file: find . -type f -name '*.xml' | sed -r 's|/[^/]+$||' | sort | uniq This finds all xml files where the extension is all lower case. But since many Windows programs upper case it … Continue reading Find all subdirectories containing xml files on Linux command line
Rebooting a Linux server unattended
Just so I can look it up when I need it again: /sbin/shutdown -r now is the command that when run as root will reboot a Linux server. It can simply be added as a scheduled command in WebMin:
If PHP files get downloaded rather than executed on Ubuntu
you probably didn't install libapache2-mod-php5: sudo apt-get install libapache2-mod-php5
Splitting and joining tar archives
This is just a note to myself about splitting a tar archive into multiple smaller files on the fly and joining them again. It's based on this answer to this question on stackoverflow. # create archives $ tar cz . | split -b 100GiB - /mnt/8TB/backup.tgz_ This uses the tar command to create a gzip-ed … Continue reading Splitting and joining tar archives
SyncThing as an alternative to BitTorrentSync (btsync)
A while ago I blogged about using BitTorrentSync as a privacy conscious alternative to the more popular cloud services like Google Drive or DropBox. BitTorrent recently released btsync version 2 which, apart from trying to sell you a so called PRO version, changed the user interface yet again and also changed the way you set … Continue reading SyncThing as an alternative to BitTorrentSync (btsync)
On expiring Dirvish images
Dirvish is a backup solution for Linux (and probably other unixoid OSes). I use it to make a daily backup of one server to a different server located in a different building (it's not the only backup solution we use but the most convenient one because we can access these files easily). Once set up, … Continue reading On expiring Dirvish images
mounting a Samba share
The Linux mount command can also access Samba (Windows) shares, but in contrast to the smbclient command it does not do a Netbios based lookup for machine names. So while smbclient //server/share will work, the corresponding mount -t cifs //server/share /mnt/point will tell you that it can't resolve the host name (unless you add the … Continue reading mounting a Samba share