Category: Linux

Mount: can’t read superblock

We recently had a power outage in the building, which lasted longer than my UPS could handle. When I booted up my server, I could no longer mount my drive, getting the following error: After fiddling about with mdadm as that’s what I used to create my /dev/md0 raid, I realized that everything was correct

Setting up DDNS with bash script Linux

Dynamic DNS, Y dis? Setting up Dynamic DNS from eg your home or small business office can come in very handy if your ISP changes your IP often. Some ISPs either don’t offer static IPs, or they simply charge too much for it. You may also run a game server and if you already own

Log host up- or downtime bash script

I recently had the need to troubleshoot a server that kept losing connection. It was important to log the date and time, as well as the host I was pinging. At the same time I wanted to log it to a file, to easily check up on when the server had lost connection. Of course