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.

Stopping docker img causes array wide spin up

Featured Replies

unRAID OS Version: v6b8

 

Description: Stopping docker img causes array wide spin up

 

How to reproduce: With array disks spun down, and img file on the cache drive set as a cache only share, stop the docker img and watch every array disk come up

 

Expected results:  Actions on an image file on a cache disk should not have an array wide effect

 

Actual results: All disks come up

 

Other information: Stock v6b8 except cache_dirs. At a guess we are issuing a SYNC when closing the img file which i believe is system wide.

At a guess we are issuing a SYNC when closing the img file which i believe is system wide.

 

That is correct.  Do non-reiserfs array disks also spin up?

  • Author

I currently dont have any non reiser disks in this array other than the cache drive and my other test system has a broken USB.

 

Can someone else confirm?

Marking this fixed in -beta9.  If you still find a problem, please post here and I'll re-open.

  • Author

Fix confirmed with thanks :)

  • 3 years later...
  • Author

I now have a mixed array of reiser and xfs disks and I can confirm that when I stop a docker container, if the array disks are spun down ONLY the resier disks spin up.

 

Is this a known issue or a config specific problem?

  • 2 weeks later...
  • Author

Any thoughts on this. Best case scenario is that it is PEBCAK but it doesnt seem to be obvious if it is. The only thing I can think off I do differernt than "some" is I often use "/mnt/cache" rather than "/mnt/user/" although I dont see why this would cause spin up on.

 

As an illustration here is a before and after performing a single docker container stop. Notice the parity come up as well. Comparing write counts before and after (sorry I edited them out by mistake) I can see most of the RFS disks write count increase by 7 or 8. I am wondering if this is some sort of spin up caused by the docker container issuing a disk flush such as SYNC and RFS handing that differently than XFS.

 

This is really annoying so any insight would be very much appreciated.

 

before.thumb.jpg.4f3e4d7abf5dc2f2bd00a57934aa503c.jpg

 

after.thumb.jpg.6edbfeed74b6af8af23ee55c9fc24ceb.jpg

  • Author

Sorry I should have said, 6.5.1.

On 4/25/2018 at 9:51 AM, NAS said:

I now have a mixed array of reiser and xfs disks

 

Unfortunately this is a defect with the way ReiserFS sync is handled.  Actually the way file system sync is handled in the kernel has undergone several changes over the years and back when ReiserFS development stopped (you know why) kernel developers only made changes to keep this legacy FS "running" but without refinements really.

 

If you don't mind we should close this topic.

  • Author

Great. Its non ideal but at least now I know. I honestly have been wracking my brains what I was doing wrong. Time for me to move to XFS completely then.

 

Lets close as resolved. Appreciated.

Aha! This answers a long-standing issue no one could diagnose. Why my array disks all spin up round robin when I stop or restart a docker. I am still all ReiserFS for data disks.

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.