What causes my HDD to be busy?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
DaveDS
Level 1
Level 1
Posts: 4
Joined: Sun Nov 26, 2017 4:34 am

What causes my HDD to be busy?

Post by DaveDS » Sun Nov 26, 2017 4:46 am

Hi, I have Linux Mint 18.2 installed on a SDD. Also mounted is a HDD which is only used for storage. It contains some pictures, movies and music, but no applications.
Quite often I can hear that the HDD spins up and is being used, much more frequently than I would expect. I would like to find out what causes that.

The two things I can think of are:
- Rhythmbox (although not playing while the HDD spins up)
- the drive is shared via NFS to a LibreElec device with Kodi

Is there any way to track which application/process really causes it?

User avatar
jimallyn
Level 18
Level 18
Posts: 8455
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: What causes my HDD to be busy?

Post by jimallyn » Sun Nov 26, 2017 5:09 am

iotop might do what you're after.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

Mute Ant
Level 13
Level 13
Posts: 4926
Joined: Tue Sep 03, 2013 7:45 pm

Re: What causes my HDD to be busy?

Post by Mute Ant » Sun Nov 26, 2017 11:09 am

A magnetic drive with SMART switched on will test itself occasionally, although there's some discussion about whether that's because the drive has a built-in interval timer or something in Ubuntu is set to check...
https://ubuntuforums.org/showthread.php?t=1573929
2018-10-13 Google designs 3-phase feed-forward to improve 2-phased governors with no sense of direction.

User avatar
WharfRat
Level 20
Level 20
Posts: 11549
Joined: Thu Apr 07, 2011 8:15 pm

Re: What causes my HDD to be busy?

Post by WharfRat » Sun Nov 26, 2017 11:28 am

DaveDS wrote:Is there any way to track which application/process really causes it?
Install iotop withsudo apt-get install iotop then in the terminal sudo iotop -oPa -d 2 to monitor I/O activity.
ImageImage

DaveDS
Level 1
Level 1
Posts: 4
Joined: Sun Nov 26, 2017 4:34 am

Re: What causes my HDD to be busy?

Post by DaveDS » Sun Nov 26, 2017 2:10 pm

Great, thanks, I will give it a try.

DaveDS
Level 1
Level 1
Posts: 4
Joined: Sun Nov 26, 2017 4:34 am

Re: What causes my HDD to be busy?

Post by DaveDS » Thu Nov 30, 2017 11:46 am

It turned out to be the application Timeshift, a backup tool, that was appearently configured to make system backups on a daily basis and at boot.

User avatar
WharfRat
Level 20
Level 20
Posts: 11549
Joined: Thu Apr 07, 2011 8:15 pm

Re: What causes my HDD to be busy?

Post by WharfRat » Thu Nov 30, 2017 11:48 am

DaveDS wrote:It turned out to be the application Timeshift, a backup tool, that was appearently configured to make system backups on a daily basis and at boot.
Did iotop help out with identifying the disk hog :?:
ImageImage

DaveDS
Level 1
Level 1
Posts: 4
Joined: Sun Nov 26, 2017 4:34 am

Re: What causes my HDD to be busy?

Post by DaveDS » Sat Dec 02, 2017 6:30 am

Absolutely!

Post Reply

Return to “Hardware Support”