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 17
Level 17
Posts: 7779
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: 4663
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
You were in the left-hand lane and you were signalling left and I more or less assumed you were going to turn left.

User avatar
WharfRat
Level 20
Level 20
Posts: 11141
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.
Image 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: 11141
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 :?:
Image 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”