You are not logged in.
Pages: 1
Hello!
Sometimes I would like to make the disk spin down, but it spins up after a few random seconds.
Why is this? Is there something accessing the disk. Do you know how to monitor what files is accessed on the disk?
$ sudo hdparm -Y /dev/sda
/dev/sda:
issuing sleep command
<<--- Here is few seconds off peaceful silence, then wakeing up again....
ata1.00 exception Emask 0x0 Sact 0x1 SErr action 0x6
ata1.00 waking up from sleep
Offline
Take a look at the configuration file for laptop-mode-tools just to see the settings it uses to affect how often the disk spins up. powertop might also be helpful.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
lsof and iotop are useful for watching disk activity.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Yepp!
Thanks for your answers, I was seeing using iotop that the ext3 filesystem log daemon, what is wakeing up my drive.
Specific name: systemd-journal
process (daemon): kjournald
What is write nothing to the
/var/log/journal/34e2b129817940dd837d04a98c2e69ef/system.journal
I think it is doing some filesystem journaling, but I dont understand, why it is necessary so often , especcialy, when I do nothing with the this?
And if something else is doing, then why am I not seeing with iotop...
So now I'm on my way to figure out how to decrease the disc accessing properties of the kjournald. The best would be if it could wait until somethin else spinning up the disk, and then do its own stuffs.
If you have any advice regarding to these stuffs I would be happy to get any additional information from You! Thanks!
Offline
That is the systemd journal, which is a record of what's going on in your system. "Something" is writing to it (possibly the ext3 journal), and consequently the disk. The best course of action would be to find out what the "something" is. Run
journalctl -xbto see the journal. The newest messages are right at the bottom.
You can disable non-volatile journal logs, but doing so eliminates a very important tool for debugging your system if it ever refuses to boot up.
I don't use ext3, so I'm not sure how you can limit it's disk access if it is the root of your problem.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
journalctl -xb
Says nothing in the time, when the wake up is happening.
I think the ext3 journal what is working then.
What I was trying lately:
sudo tune2fs -o journal_data_writeback /dev/sda4
But it not helps.
atime option is alredy in the fstab.
tryed to change ext3 to ext2 in the fstab, but still mounts it in ext3. (just to try if then what would happening, im not so against the journaling
)
Cannot kill systemd-journal.
Offline
Hello!
Sometimes I would like to make the disk spin down, but it spins up after a few random seconds.
Why is this? Is there something accessing the disk. Do you know how to monitor what files is accessed on the disk?$ sudo hdparm -Y /dev/sda
/dev/sda:
issuing sleep command
<<--- Here is few seconds off peaceful silence, then wakeing up again....
ata1.00 exception Emask 0x0 Sact 0x1 SErr action 0x6
ata1.00 waking up from sleep
here same problem, I have a second HD that I would stay off
do you resolve?
p.s.
I try adding to the kernel line: libata.force=ata2.00:udma133
but same problem
p.s.
some time ago it worked
Last edited by sacarde (2013-12-21 16:48:12)
Offline
Pages: 1