Skip to content
86% off$349 $48.86code BF2026

Docs

Glowmoth docs25 pages

Keep External Drives Awake With Glowmoth

Keep external and network drives awake with Glowmoth: turn on drive keep-alive, pick While Keeping Awake or Always, and see the one file it writes.

Updated 5 min read

On this page

Glowmoth can keep external and network drives awake by writing a tiny hidden file to each drive every few minutes. This page covers how to turn that on, the two modes, what the file is and how it gets removed. The feature is in Glowmoth Settings ▸ Advanced ▸ Drives and is off by default.

Why drives sleep while your Mac stays awake

A Mac can be awake while its drives are not. Spinning hard disks and many external enclosures have their own idle timers, and an idle network share can disconnect. You notice it as a pause while a drive spins back up, a job that stalls, or a network volume that has to reconnect.

Glowmoth's normal keep-awake doesn't prevent this. It only blocks idle system and display sleep, and it doesn't hold a disk-idle power assertion. Drive keep-alive works differently: it writes a small file to each drive and reads it back, so the drive sees real activity.

To see your Mac's own disk sleep timer, run this read-only command in Terminal:

bash
pmset -g | grep disksleep

It prints the idle minutes before macOS spins disks down (0 means never). It changes nothing.

Keep drives awake with Glowmoth: turn it on

  1. Right-click the Glowmoth icon in the menu bar and choose Settings… (⌘, or Command-Comma). You can also click Settings… at the bottom of the panel.
  2. Click the Advanced tab.
  3. Under Drives, turn on Keep drives from sleeping.
  4. Click Add Drive… and pick any folder on the external or network drive. It doesn't have to be the top level of the drive.
  5. If macOS asks whether Glowmoth may access the removable or network volume, allow it.
  6. Set When and Every N min (see below).
Glowmoth Settings, Advanced tab: Keep drives from sleeping on, When set to While Keeping Awake, every 5 min, Archive and Studio RAID
Drives are touched every few minutes while your Mac is kept awake.

Repeat Add Drive… for each drive. To stop touching a drive, click Remove Drive on its row.

You can't add your startup disk. If you pick a folder on it, Glowmoth beeps and doesn't add it.

Why macOS asks for permission

macOS guards removable and network volumes, so the first access triggers a system prompt. Glowmoth always has you pick the drive in a file dialog first, so the prompt refers to a drive you just chose. For removable drives it reads: "Glowmoth writes a tiny hidden file to the drives you choose so they don't spin down, and can watch folders on them for downloads." Network volumes get a similar message about keeping them connected.

If you denied access, Glowmoth can't touch the drive. Open System Settings ▸ Privacy & Security ▸ Files & Folders and turn on removable or network volumes for Glowmoth. See Permissions Glowmoth asks for for the full list.

Drive settings

SettingWhat it doesDefault
Keep drives from sleepingTurns drive keep-alive on or off. Caption: "Writes a tiny hidden file to each drive every few minutes."Off
WhenWhile Keeping Awake or AlwaysWhile Keeping Awake
Every N minHow often each drive is touched, 1 to 30 minutes4
Drive list (Add Drive…, Remove Drive)The drives Glowmoth touchesNone

While Keeping Awake vs Always

  • While Keeping Awake touches your drives only while Glowmoth is keeping your Mac awake. The rest of the time, drives sleep on their normal timers. Pick this if a drive only needs to stay up during a job.
  • Always touches your drives whenever Glowmoth is running, whether or not it is keeping the Mac awake. Pick this for a drive you work from all day.

Neither mode reaches a drive while the Mac itself is asleep. For long jobs, pair While Keeping Awake with a session or an automatic reason, for example staying awake while an app, process or download runs.

What is written to your drive, and how often

Glowmoth writes a file named .glowmoth-keepalive at the root of each volume in the list. That's the top level of the drive, even if you picked a folder deeper inside. It's the only file Glowmoth puts on your drives.

At every interval Glowmoth:

  1. Writes the file.
  2. Flushes it so the write reaches the drive.
  3. Reads it back uncached, so the read comes from the drive and not from memory.

The name starts with a dot, so Finder hides it. To see it, open the drive in Finder and press ⌘⇧. (Command-Shift-Period). Press the same keys to hide it again.

Choosing an interval: keep it shorter than the drive's own idle timer. If a drive still spins down, lower Every N min. If a drive works more often than you'd like, raise it.

Not connected and Read-only, skipped

Glowmoth never mounts a drive and never writes to a drive it can't write to. A row in the drive list can show one of two captions:

CaptionWhat it meansWhat to do
Not connectedThe drive isn't mounted (unplugged, ejected, or the network share isn't connected). Glowmoth skips it.Connect or mount it in Finder. The drive stays in the list.
Read-only, skippedThe volume is mounted read-only, so the file can't be written.Nothing breaks; the drive is left alone. For example, macOS mounts NTFS drives read-only. Keep-alive needs a volume your Mac can write to.

How the file is cleaned up

Glowmoth deletes .glowmoth-keepalive when you:

  • turn off Keep drives from sleeping, or
  • click Remove Drive for that drive.

If the drive isn't connected at that moment, Glowmoth remembers the cleanup and deletes the file the next time the drive is mounted.

To remove it by hand, show hidden files (⌘⇧.) and drag .glowmoth-keepalive from the top level of the drive to the Trash. If keep-alive is still on for that drive, Glowmoth writes it again at the next interval.

If a drive still goes to sleep

  • Glowmoth isn't keeping the Mac awake. In While Keeping Awake mode, drives are only touched while the Mac is held awake. Start a session, or switch When to Always.
  • The interval is too long. Lower Every N min below the drive's idle timer.
  • The Mac slept. Keep-alive can't run while the Mac sleeps. Check that a session or reason is active and that a battery or heat pause hasn't paused it.
  • Access was denied. Turn it back on in Privacy & Security ▸ Files & Folders.
  • The row says Read-only, skipped or Not connected. See the table above.
  • Your drives are gone from the list after moving to a new Mac or resetting. The settings file from Export… doesn't include drives, and Reset all settings clears the list. Add them again with Add Drive….

Every app.
One purchase.