A
A
Alexander Kalinin2021-12-30 00:11:16
linux
Alexander Kalinin, 2021-12-30 00:11:16

Can the Linux kernel itself automatically wake up mounted drives when idle? How to determine which process accessed the disk?

At night, I began to notice that when the computer is idle, randomly every 30-60 minutes the hard disk starts to initialize (it is NOT a system one, of course, but it is mounted), and no programs are running in the system that could wake up the drive. As well as any demons. Distr - arch, where nothing extra is worth it, except that some dependencies may be guilty.

Moreover, the strangest thing is that such a problem is not observed at all with Windows, where the disk generally goes into complete rest (cut down) until the screen is unlocked.

Can the kernel itself wake up the hard? For what purpose? Is it possible to somehow track the "log" of requests?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Volkov, 2021-01-01
@voleg4u

Before the system, only the kernel handled mounts with just two files. Now the great Pottering has put his hands in here too. If you look closely, there is a unit for every mount. And once there is a unit, then you need to check its status.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question