Whatever you do, you do at your own risk. I can only recommend and do not claim 100% of the solution much depends on your environment and other settings. I can not guess. Addition of materials and fixing bugs is welcomed

After another reboot of the "raspberry", the USB-to-SATA controller suddenly died, I had to change the "box" and for an unprecedented reason, the disk settings were reset.

Once again I was looking for recipes on the Internet and after spending enough time, I decided that I needed to make a note on hand. It's simple, but when you do it once every five years, you have to remember which commands, where and why.

And so there are several steps:

  1. Getting data about a connected disk
  2. Setting up Auto Mount
  3. Configuring Samba Balls

And so let's go, I'll be succinctly brief as before:


Not so long ago dramatically increased the load on the site to the stage... nothing works, only intensive feeding resources.

The atop utility allows you to save logs that contain different server metrics. Very useful for diagnosing performance problems. Works interactively and in the background.

Installing Debian/Ubuntu

apt-get install atop

For startup enough:

service atop start

By default saving every 10 minutes, this value can be changed in the file /etc/default/stop or /etc/sysconfig/atop (variable INTERVAL).

I have already considered the issue of Analyzing how much space is occupied on the hard disk.(in Windows), on Unix\Linux this is something else, the console rules the ball there and the more you communicate the more convenient it becomes. Today I want to tell you about one of the ways to quickly find what is occupied space on the disk.

du - a standard Unix utility stands for disk usage - a standard Unix program for evaluating the occupied file space. Ancient as a mammoth:)

It is better to start with the team:

du --max-depth=1 -h /


If you helped the article or information was useful. Gratitude should not know borders

Popular tags