Tag-Archive for » bota «

Neděle, 4.srpna, 2013 | Autor:

Měl jsem výpadek vliv na můj server je velký md RAID řada. Spíše než aby server jako celek by se při čekání na dokončení fsck, I kdyby se nastartovat bez velkého pole, takže jsem mohl spustit fsck ručně.

Nicméně, při spuštění ručně uvědomil jsem si, měl jsem žádný způsob, jak vědět, jak daleko to bylo a jak dlouho to bude trvat na dokončení. To je obzvláště problematické s tak velkým pole. S trochou hledání jsem našel tip přidáním-C parametru při volání fsck. Nemohl jsem najít to v dokumentaci však: fsck –Nápověda nevykazoval takovou možnost.

Volba se ukáže být ext4 specifické, a tak ukazuje naprosto funkční progress bar s ukazatelem procento. Chcete-li najít informace, místo “fsck –pomoci” nebo “man fsck”, musíte vložit “fsck.ext4 –pomoci” nebo “muž fsck.ext4”. 🙂

Tuesday, February 17th, 2009 | Autor:

Some of you may already know that I built a home server not too long ago. I documented some of the very important parts of how it was built though I was planning on releasing all the documentation all at once. I was using Arch Linux and I hadn’t nearly finished everything, especially the documentation. Například, it was supposed to be a media server. After some disk shuffling, it was supposed to end up having a RAID1 for the boot and RAID 10 for the rest (the media part).

This didn’t work out at all.

I got as far as having an efficient (a dobřefirewalled) routing gateway server. I was finally satisfied that the customised local routing* was working correctly and I was confident that my tests with DHCP meant I could disable the DHCP service on the flimsy ADSL router and have all my flatmates start using the server as the Internet brána. Instead: I was logged in to the server from the office, I’d just installed Apache2**, and I was about to consult with a colleague regarding getting nice graphs put together so the flatmates could all see who was using up the bandwidth***when I noticed a little message indicating that the root filesystem had been remounted read-only due to some or other disk failure.

And then I lost my connection to the server.

And then I gained a foul mood.


When I arrived home, I found that, as I had guessed from the descriptive message given at the office, the (velmi) old 80GB IDE disk that I was using for the root filesystem had failed. Unfortunately, the server would never boot again and there was little chance of prying everything off onto another disk to continue where I’d left off.

I’m buying a replacement (SATA) HDD this next weekend just after pay dayand I’ve changed my mind about documenting my progressand backing up my configurations:

Release Early. Release Often.

* ISPs in South Africa charge less (easy price comparison) pro “local-only” (within South Africa) traffic on ADSL but only if you use an ADSL account that CANNOT access web services outside of South Africa. This means that if you want to take advantage of the reduced costs but still be able to access the Internet at large, you need to set up some sneaky routing.

** one-command-install: ~$ yaourt -S apache

*** Internet Access in SA is expensiveyou get charged about R70 ($7 / £4.9 / €5.46) per GB when using ADSL, or about R2 per MB if using GPRS / 3G.