Recovering after a root-partition resize gone wrong

Recently I tried to resize a LVM logical volume with its volume group and the physical disk belonging to the vg. Because the logical volume contained all partitions except for /boot I knew it would be hard.

I also knew that I had no backup and no snapshot of the …

more ...

Debugging issues with libcurl and publickey authentication

Curl has support for sftp and scp, among many other protocols. In one of our php-applications we use libcurl to transfer files via sftp to a remote datacenter.

We recently migrated this application into a docker-container. With it we transferred the private key into the container, so the application can …

more ...

Manage linux servers from a Windows workstation

EDIT: This article was first posted in 2016. As of 2019 I still have to use Windows at work, but now I just use WSL with wsltty.

At work I have to use Windows as operating system on my workstation, even though I manage almost only linux servers. There are …

more ...

Shrinking the (LVM) log-partition on Linux

Enlarging an LVM partition on a linux machine is trivial. You only need one command to do it and it can even be done when the partition is mounted.

lvresize -r -L +20G /vg1/lvm1

This command enlarges the LVM lvm1 to 20GB. Assuming you use an ext, ReiserFS or …

more ...