Filesystems Archive

Tracing I/O usage in Linux

Introduction We know quite few programs that help us identify I/O usage in Linux. In order to identify exactly what is writing and which process, we need to use quite few commands, to make sure we know exactly what is going on. I will show you few useful commands that will help you find your

Restoring deleted/resized logical volume

Calm yourself down Congratulations, you managed to accidentaly remove useful logical volume! No worries! Calm down, it’s all fine, we’ll get it back in few simple steps. Luckily, LVM archives all removed logical volumes when you make lvremove. In order to get it back we can use LVM’s native commands. All we have to do,

Installing Vyatta 6.6 R1 with software raid 1

Intro For all my routers I usually choose at least some level of raid. As routers usually don’t need any disk performance, simple raid 1 – mirroring is enough to sustain disk failure and ensure server continues to work. Now let’s get busy and install our latest Vyatta on our server. Prerequisites To ensure fast

EncFS – Easy way of encrypting directory

Why? Usually system administrators need to secure their data. Plain text passwords, certificate files, private ssh keys laying around your disk are big security risk. Many times on existing system we don’t want to encrypt whole partition or just don’t have time to do it from scratch. We just need one folder encrypted and save our risky data in it.

LVM Snapshots

What’s purpose of LVM snapshot? Purpose of LVM snapshots is quite simple. We want “point in time” copy of our LV, and snapshot helps us with that, by writing only differences on the snapshot. Why would I do that? It’s ideal for backing up virtual machines or other servers during their operation, since snapshot takes