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
- Also available: RU
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:
- Getting data about a connected disk
- Setting up Auto Mount
- Configuring Samba Balls
And so let's go, I'll be succinctly brief as before:
- Also available: RU
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).
- Also available: RU
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 /
where:
If you helped the article or information was useful. Gratitude should not know borders
|