Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

What keeps writing to this drive?

Featured Replies

I recently re-enabled my cache drive after running my Unraid box without one for some time. I moved everything to the cache drive (docker, appdata, shares, etc.) and the mover runs once in the morning. I also added a 2 hour spin-down delay.

 

What I can't seem to figure out, is why I have a consistent write happening to drive 3 (see below) that paces just under 100 writes per minute. If I clear the stats on the Main page, drive 3 consistently gets a few writes added to it a second. This happens all day and night, regardless. Needless to say, that drive never spins down. 

 

Selection_142.png.ac0f19a0d4f0586444e7c493b0e3f836.png

 

Here is a snapshot of the active dockers:

 

Selection_143.png.fbad255882b05c1ca0e621bf9034daae.png

 

- All shares are set to use the cache

- All docker settings run through /user/ and not the direct disk

 

How can I figure out what is slowly writing to the third drive?

You could go old school and simply turn off all your Dockers and see if there are any writes. If there isn't turn one on at a time and watch until you identify... 

 

or 

 

You could install either the "Open Files" or "File Activity" Plugin. I personally use the "Open File" one, but I'm sure they would help you out.

  • Author
11 minutes ago, kizer said:

You could go old school and simply turn off all your Dockers and see if there are any writes. If there isn't turn one on at a time and watch until you identify..

 

Ha! I love how we often get so focused on the technical solution, that we can overlook the basics. Testing... will return with results.

Edited by AnnHashaway
Grammar

  • Author

OK, so I had some tidying up to do in order to put the main work on the cache drive.

 

1. I had to manually move the appdata folder from each disk, directly to /mnt/cache/appdata and set the appdata share to Cache:Only. Used command line: 

cp -r /mnt/diskX/appdata/* /mnt/cache/appdata/

 

2. Turn off each docker and turn them on one-by-one, while resetting the Main page stats so I could see which dockers were accessing the data drives consistently.

 

This resulted in zero writes happening to the data drives, but I was still getting a few errant reads that kept a few of the drives up. It turns out that the apps Deluge and Sonarr were the culprits. Deluge is going to access a data drive any time it is uploading to someone else. Sonarr is a bit trickier, but basically, it is constantly checking the selected shared folder where your download programs would drop a file that was ready to be moved/renamed.

 

I have an additional SSD plugged in and sitting idle. Its mounted via the Unassigned Devices plugin, and I think I can basically make part of it a seedbox, so Deluge will only pull data from that and keep the data drives from spinning up.

 

I haven't worked through a solution for Sonarr yet, and it seems to access the shared folder every minute or two, so it keeps whichever drive Unraid is using for it up all the time. I think I may be able to create a new share that only lives on the cache, and make that the shared folder for Sonarr and the download programs. Any other ideas for this?

 

I'll report back with my results.

 

Edited by AnnHashaway

  • Community Expert

For future reference, instead of setting those shares to cache-only and then moving the files manually, you could have set them to cache-prefer, and mover would have moved them for you.

 

unRAID may have to spin up a drive when writing just to check if the file already exists on one of the drives.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.