Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634
Rep:
Short hard disk accesses like a beating heart
The system has no errors (I know of) and runs as it should.
But I can hear that one hard disk is briefly accessed about 88 times / minute -- sounds like a quietly beating heart. "top" and "ps ax" don't show anything suspicious (for me, that is). I stopped "akonadi" and its helpers. "iostat" gives
Quote:
me@PC:~> iostat
Linux 4.8.10-1-default (PC) 04.12.2016 _x86_64_ (6 CPU)
What are your mount options in /etc/fstab? If you mount with something like 'relatime' on all hard disks does that change things? Can you find which disk? Let's say it's sdX; What does
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634
Original Poster
Rep:
Sorry to be back so late.
I had to power down after my first post. Symptoms are gone for the moment, but they'll come back infrequently in my experience. I'll keep all of you advised .
Quote:
Originally Posted by business_kid
What are your mount options in /etc/fstab? If you mount with something like 'relatime' on all hard disks does that change things? Can you find which disk? Let's say it's sdX; What does
Whoa !!! - I'm a long-time btrfs user, but that is a seriously ummmm ... interesting config ...
In the past, things like desktop search tools running in the background have been a source of things like this. I also found firefox (and chrome) hitting .cache continually by running some kernel function tracing on ext4 for a while. Even moved .cache into tmpfs for a while to try and isolate the load.
Never noticed anything on btrfs, so never attempted any tracing there. Will add it to my "to-do" list.
Last edited by syg00; 12-07-2016 at 05:14 PM.
Reason: interesting
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,675
Rep:
Quote:
I can hear that one hard disk is briefly accessed about 88 times / minute -- sounds like a quietly beating heart.
Is this a new disk? I mean, does it do this just after formatting and having filesystem(s)generated on it or a new partition?
I recently built a replacement system (Mint 18) and noticed that after the installation you could hear a distinct "tick", "tick" from the disk for quite a while. It continued for a couple of days (My system isn't on permanently so maybe a couple of hours per session?), it finally stopped and hasn't done it since.
My thoughts at the time were that it was due to having to create some sort of index file in the background, maybe to support journaling?
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634
Original Poster
Rep:
Quote:
Originally Posted by syg00
Whoa !!! - I'm a long-time btrfs user, but that is a seriously ummmm ... interesting config ... .
Well, this is openSUSE's original configuration written during installation. I didn't change anything. If you know of improvements I'd be delighted if you have a mind to share .
Quote:
Originally Posted by syg00
In the past, things like desktop search tools running in the background have been a source of things like this. ...
Never noticed anything on btrfs, so never attempted any tracing there. Will add it to my "to-do" list.
Yes, that's why I killed akonadi. But I am quite sure the noise not emanating from the SSD where "/" on btrfs resides. It is definitely the movement of the heads of a spinning magnetic hard disk, most probably /home with ext4, possibly /backup - (which I doubt) also ext4. There should have been no swapping, I did nothing memory intensive and there is 12 GB RAM.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634
Original Poster
Rep:
Quote:
Originally Posted by Soadyheid
Is this a new disk? I mean, does it do this just after formatting and having filesystem(s)generated on it or a new partition?...
No, this ("/") is my tumbleweed installation of quite some "age" -- about half a year possibly an entire year but frequently updated. /home is ancient -- 4 years? I really dunno.
In my case,
sda3=/proc/61=/,
sda5=/proc/384=/home, &
sda7=/proc/386=/mnt/virtual, where I have a few virtual machines to run odd bits of software. You will at least find what has the traffic.
If you know of improvements I'd be delighted if you have a mind to share .
Nah, if it ships like that, you might as well leave it, Been many years since I looked at openSUSE. Just not how I would build it.
Quote:
... most probably /home with ext4, possibly /backup - (which I doubt) also ext4.
This is (was) a really difficult issue to resolve - the backward mapping of a bunch of I/O sectors to file name(s). And the frequency distribution. As it happens there are some really useful additions to the kernel (f)trace coming in 4.9 that really help with this.
Much more easy to set up trace from userspace - hopefully some userland tools to expose the results will be in the pipeline soon as well.
It's possible you just had a temp file that gets updated regularly, and it happened to get allocated to a spot on the disk that caused a long head seek each time it was accessed, then returning to the idle location. The actuator seeking a long distance would cause the kind of sound you described.
Then later, the temp file got reallocated to a location that doesn't need a lengthy seek, and the noise went away.
If this were the case, you probably wouldn't see anything significant in iotop or any other disk activity reporting.
Just to eliminate the possibility of a hardware problem, I recommend running the hard drive manufacturer's diagnostic utility in "thorough" mode. Download the Seatools for DOS here:
It's a bootable iso that you burn to a cd-r just like any linux installation cd. Boot with your cd-r and run the hard drive diagnostics on both of your Seagate hard drives from there(see Seagate SeaTools documentation).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.