ext3/ext4 journal log size

Recently, I was asked by one of my colleagues why ext4 journal log is equal to 128Mb size. Below, you can find my full answer to such an interesting question. First of all let’s check where is journal log created Journal log is created during filesystem creation. ExtX filestems…

Be prepared - interview questions (part II)

Please tell me why you left your last job. Why was that important to you? Describe in detail how you tried to deal with it before choosing to leave and what happened when you tried? What first attracted you to the role and company? What changed and when? What would…

Be prepared - interview questions (part I)

What is the single most significant accomplishment in your career up to this point? Why do you consider this to be your biggest career achievement? Tell me more about your team for this project and your role on the team. Tell me about the 3 most challenging issues you faced…

Dot files in nginx

Deny access to files starting with a dot an extremely common task and it is done via editing main configuration file (nginx doesn't allow configuration on the fly). Such file is usualy located under /etc/nginx/conf.d/ Add the following lines there. # Deny access to files starting with a…

Humanity

The Dalai Lama, when asked what surprised him most about humanity, answered: "Man. Because he sacrifices his health in order to make money. Then he sacrifices his money to recuperate his health. And then he is so anxious about the future that he does not enjoy the present; the result…

Easy linux debug

Are you tired to work with different tools while you are debugging linux system? Try Sysdig. sysdig is open source, system-level exploration: capture system state and activity from a running Linux instance, then save, filter and analyze. …

Hotplug external monitors

Hotplug of external monitors works by default in modern desktop environments like Gnome/KDE/Unity. In case you don't want to use them, you will need to implement such functionality by yourself. This mini-howto can help you to do it: 1. Create new udev rule in /etc/udev/rules.d…