MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After installing Mandriva 2010.0 64 bit Linux on a new machine for mom, I noticed the hard drive would blip at least every two seconds (like clockwork) when logged into kde. To me this is odd behavior that I have never seen before.
I have the mom box sitting next to MY home machine. Although they are different architectures, they are both running ML2010.0 64 bit & kde4. The only real difference between the two (other than hardware) is the filesystem.
My box is still running reiserfs. The mom box is running ext4 (and this is the first time I have ever used ext4 on anything). I used the (wonderful) iotop program to find and confirm that on the mom machine, there is a pseudo process named "kjournald2" that activates every two seconds, exactly like the hard drive light shows (and at the same instant).
The bizarre two second blips start after I login to her box. If I sit on the kdm screen, it blips randomly, waiting as long as 30 sec. As soon as I login, the 2 second blips start, even when not running any apps.
Meanwhile, I am logged into my box with dozens of apps open and it blips very rarely, and randomly.
1) Has anyone else seen this behavior?
2) Is there a way to stop it?
3) Should I even worry about it?
Still could use additional ideas, confirmations, etc. Anyone else out there running KDE4.3 reading this? Do you have the same behavior? Which filesystem type are you using?
ext4 is a journaled file system. I suspect that kjournald2 is related. I installed and ran iotop here too, and see the process popping up. The k in front of the name (kjournald2) leads me to think it is a KDE daemon, and my guess is that KDE is checking the file systemś journal, perhaps for new commits. Do you have any evidence that kjournald2 is performing disk writes? If the process is checking the drives buffers, you may still see activity, but it will not affect the life of the device if the disks are not being accessed. In any case, the benefits of a journalized file system far outweigh any potential reduction to the life of the drive. In practice, a hard drive will be replaced due to technological improvements long before its expected end of life approaches unless a manufacturing or design flaw exists. Please post back with any results from your bug report.
ext4 is a journaled file system. I suspect that kjournald2 is related. I installed and ran iotop here too, and see the process popping up. The k in front of the name (kjournald2) leads me to think it is a KDE daemon, and my guess is that KDE is checking the file systemś journal, perhaps for new commits. Do you have any evidence that kjournald2 is performing disk writes? If the process is checking the drives buffers, you may still see activity, but it will not affect the life of the device if the disks are not being accessed. In any case, the benefits of a journalized file system far outweigh any potential reduction to the life of the drive. In practice, a hard drive will be replaced due to technological improvements long before its expected end of life approaches unless a manufacturing or design flaw exists. Please post back with any results from your bug report.
The "k" is for kernel. It is a pseudo process that belongs to the kernel and it is, indeed, related to ext4. But reiserfs is also journaled and it doesn't have a pseudo process by that name. ext3 is also journaled and I have evidence of yet another user with 2010.0 + KDE4 + ext3 that does NOT have the repeated hard drive access every 2 seconds.
It appears to be disk writes, but it hard to tell exactly. About every second or third blip, I can hear the heads move when I put my ear on the drive. So even if it is a read, it could still wear out that mechanism prematurely.
I will post back whatever I learn, so anyone else looking for answers will find them.
FWIW I have the same issue running Ubuntu server 9.10, 32 bit version. I use ext4 as well. I suspect it is a journaling thing, but have not been able to tune it.
Thanks to everyone for continuing to provide data on this. Looks like it might be cross-distro and also not KDE related. I updated the bug report on Mandriva.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.