Is there a Dev interested in making a plugin to deal with excessive writes to SSD?


Recommended Posts

Ok, long story short, after a long road of testing and trial and error I finally figured out how to deal with the excessive writes to the SSD caused by dockers.

 

More then a few users have noticed that their SSD's have used up all or most of their life recently and some have died as well.

 

The commands and setup is pretty simple. The hardest part is having to do each container individually as it takes a lot of time that way.

 

I think It should be possible to turn these commands into a plugin that could make it MUCH simpler without a lot of hassle.

 

You can see the full guide on the commands and process to stop the excessive docker writes here:

 

 

 

A plugin would just need to:

 

setup the inotifywait logging and let the user figure out the problem containers.

Have check boxes to add each of the above docker fixes to the docker templates

Setup the ramdisk for appdata

handle the rsync'ing of the appdata to and from the ramdisk at a user selected interval

unmount the ramdisk at shutdown

 

I have no clue how the plugin system works or even where to start but someone that knows what they are doing should be able to figure it out without a lot of hassle I would think.

 

Just an idea for a useful plugin IMHO.

Edited by TexasUnraid
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.