What is spinning my disks?

User avatar
lunk
Posts: 4229
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Wed Aug 07, 2019 9:40 pm Post

Time Machine?
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, running different OS.
* iOS Scrivener 1 on an iPhone 11 Pro, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS

User avatar
vic-k
Posts: 7135
Joined: Fri Apr 27, 2007 8:23 am
Platform: Mac + Windows
Location: Protesting in the nude, outside ex Red Lion TESCO Store

Thu Aug 08, 2019 5:43 pm Post

What spins y' discs, is whatever turns you on. :twisted: As well as Time Machine, obviously.

Take care
Vic
As a professional, you, are your one and only asset. Without integrity you are worthless, but with it, you are priceless.

User avatar
AmberV
Posts: 24322
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Thu Aug 08, 2019 6:45 pm Post

If it started recently, there was a bug in 10.14 a few iterations back that would needlessly spin up external drives. It should be fixed by now, so make sure you’re patched up.

Otherwise, try the fs_usage CLI tool. In its raw state it will be too noisy to be useful, so what you’ll probably want to do is grep the output by the volume name—and if it is a Time Machine volume, you should be able to filter out that activity using an inverse search. If you aren’t using the drive yourself for anything you could leave it running for a while.

It could be any number of things! I just gave it a whirl on my system, and my third-party file manager (ForkLift) periodicially accesses it (getattrlist mainly), git does, my peer to peer syncing tool (which doesn’t actually sync anything on that disk, but it seems to use lstat and statfs periodically. Those seem to be the main culprits. System level stuff: iconservices pings every once in a while—again for getattrlist. LaunchBar also checks in now and then. I note most of these requests are aimed at my at cloned (not TM) full system backup folder which includes an /Applications folder. So it seems some of these tools are considering that to be a blessed Applications folder—which is weird to me. Although LaunchBar trawls it, I don’t get hits when trying to launch software that only exists in that backup folder.

Whether these are active or reactive requests, I don’t know, but it does seem to be that the more tools you have running that work at the file system level, the more likely the drive will “tick” now and then.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
Jaysen
Posts: 6275
Joined: Mon Dec 17, 2007 4:00 am
Platform: Mac + Windows
Location: East-Be-Jesus-Nowhere SC, USA

Fri Aug 09, 2019 12:00 pm Post

you likely have an open program looking to see "have files changed". I found a finder window minimized that was doing that to me (was set to open at startup the crafty batard (because family forum)). I've noticed that pages, EVEN WHEN CLOSED will do that if I last saved to an external drive (but I have not removed it).

This may be part of the bug IOA mentioned,

My solution to the above is to reinstate my normal level of mistrust of all internal saves.
1. save to temp folder on boot disk
2. quit software
3. manually move file to destination
4. compare files
5. delete save.

I don't do that with scriv because it never does stupid things like this. :)
Jaysen

I have a wife and 2 kids that I can only attribute to a wiggle, a giggle, and the realization that she was out of my league so I might as well be happy with her as a friend. 26 years marriage later, I can't imagine life without her. -Me 10/7/09

ImageImage

sc
scshrugged
Posts: 521
Joined: Wed Feb 10, 2016 6:55 pm
Platform: Mac + iOS

Fri Aug 09, 2019 1:16 pm Post

A useful tool (free to use)––Consolation 3––created by Howard Oakley to access Apple's unified log can be found at his site:
https://eclecticlight.co/about/

Consolation overview:
https://eclecticlight.co/2019/05/20/bro ... e-at-last/

A search at the site for Consolation will find more info, including mock investigations of a crash and of Time Machine errors.
I'm a Scrivener user, not an L&L employee.

User avatar
nom
Posts: 1927
Joined: Sun Aug 31, 2008 12:02 am
Platform: Mac + iOS
Location: Melbourne, Australia
Contact:

Sun Aug 11, 2019 2:11 pm Post

AmberV & Jaysen are probably right, but it could be disk gnomes dancing. Just keep on their good side & you should be fine...
Complete and utter NOMsense.
Image